嗨,大家好,
我希望有一个关于在CR95HF上使用ISO14443A 2型卡的快速问题。
CR95HF数据表的第53页显示了防冲突算法的输出(复制如下)。我使用CR95HF和NTAG216(恩智浦NTAG)实现了类似的功能。在我的系统中的响应和CR95HF数据表示例中,有时会跟随从标签接收的数据有一个0x28。该字节似乎意味着存在CRC错误,并且“第一个字节”具有8个有效位(CR95HF数据表的第22页)。我不知道哪个字节是'第一个字节',但是假设它与冲突有关。
我很好奇CRC错误发生的地方。在防冲突示例的输出中似乎被忽略了,好像它没关系。并且似乎没有与Select 1命令相关的CRC错误(响应是0x08,而不是0x28)。
我还看到评论部分说“请注意,碰撞信息仅在检测到”检测到碰撞时才有效“。所以我很清楚这3个字节应该告诉我什么,以及他们告诉我什么时候是有效的。
我很好奇是否有人能够了解CR95HF返回的最后几个字节。他们真正的意思是什么?
谢谢。
------ ISO14443-A起始反算法------
ISO14443-A REQA
>>> CR95HFDLL_SENDRECV,26 07
<<< 80 05 0400 0000
ISO14443-A AN
tiCOL 1
>>> CR95HFDLL_SENDRECV,9320 08
<<< 80 08 08192D A29E 0000
ISO14443-A SELECT 1
>>> CR95HFDLL_SENDRECV,937008192DA29E 28
<<< 80 06 20 FC70 0000
- > UID = 192DA29E,已选择TAG
以上来自于谷歌翻译
以下为原文
Hi everyone,
I have what I hope is a quick question about using an ISO14443A type 2 card with the CR95HF.
Page 53 of the CR95HF datasheet shows the output of an anticollision algorithm (copied below). And I've implemented similar functionality using the CR95HF and an NTAG216 (NXP NTAG). In the responses in my system, and the CR95HF datasheet example, there is a 0x28 that sometimes follows the data received from the tag. This byte seems to mean that there is a CRC error, and that the 'first byte' has 8 significant bits (page 22 of the CR95HF datasheet). I have no idea which byte is the 'first byte', but assume it is related to collisions.
I'm most curious where the CRC error is occurring. It seems to be ignored in the output of the anticollision example, as though it doesn't matter. And there seems to be no CRC error associated with the Select 1 command (response is 0x08, not 0x28).
I also see that the comments section says 'Note that collision information is only valid when bit ‘Collision is detected’ is set'. So I'm pretty unclear on what these 3 bytes are supposed to be telling me and when what they are telling me is valid.
I was curious if anyone could shed some light on these last few bytes the CR95HF returns. What do they really mean?
Thanks.
------ ISO14443-A STARTING ANTICOLLISION ALGORITHM ------
ISO14443-A REQA
>>> CR95HFDLL_SENDRECV, 26 07
<<< 80 05 0400 0000
ISO14443-A ANTICOL 1
>>> CR95HFDLL_SENDRECV, 9320 08
<<< 80 08 08192D A29E 0000
ISO14443-A SELECT 1
>>> CR95HFDLL_SENDRECV, 937008192DA29E 28
<<< 80 06 20 FC70 0000
--> UID = 192DA29E , TAG selected
0