EM4x05: capture tag 'error preamble' answer as well

This commit is contained in:
Philippe Teuwen committed 2020-10-07 22:55:43 +02:00
1 parent 3eea2e20bb
commit f4feaa6a03
3 files changed
+95 -46

No files matched your search

+4 -2
View File
@@ -2574,7 +2574,8 @@ void EM4xWriteWord(uint8_t addr, uint32_t data, uint32_t pwd, uint8_t usepwd) {
SendForward(len);
// Wait 20ms for write to complete?
WaitUS(10820); // tPC+tWEE
// No, when write is denied, err preamble comes much sooner
//WaitUS(10820); // tPC+tWEE
DoPartialAcquisition(0, false, 6000, 1000);
@@ -2610,7 +2611,8 @@ void EM4xProtectWord(uint32_t data, uint32_t pwd, uint8_t usepwd) {
SendForward(len);
// Wait 20ms for write to complete?
WaitUS(13640); // tPC+tPR
// No, when write is denied, err preamble comes much sooner
//WaitUS(13640); // tPC+tPR
DoPartialAcquisition(0, false, 6000, 1000);