From d064f9a3102bbc64d547d43be55dc88b741b5e3a Mon Sep 17 00:00:00 2001 From: dxl <64101226@qq.com> Date: Sun, 16 Aug 2026 01:37:59 +0800 Subject: [PATCH] Change HITAG_T_WAIT_FIRST to 350(See datasheet) so that PM5 can read hitagu normally. --- armsrc/hitag_common.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/armsrc/hitag_common.h b/armsrc/hitag_common.h index 11830c599..7c5721ab0 100644 --- a/armsrc/hitag_common.h +++ b/armsrc/hitag_common.h @@ -26,9 +26,8 @@ #define HITAG_T_WAIT_RESP 200 /* T_wresp should be 204..212 */ #define HITAG_T_WAIT_SC 200 /* T_wsc should be 90..5000 */ -// Read/Write Device waiting time before sending the first command -#define HITAG_T_WAIT_FIRST 300 /* T_wfc should be 280..565 (T_ttf) */ -// HITAG S Transponder programming time +// hitagU requires at least 312.5 cycles; if it is less than or equal to 300, hitagU may not work properly on pm5. +#define HITAG_T_WAIT_FIRST 350 /* T_wfc should be 280..565 (T_ttf) */ #define HITAG_T_PROG_MAX 750 /* T_prog should be 716..726 */ #define HITAG_T_TAG_ONE_HALF_PERIOD 10