I want to read data from NT3H1101 with a PN532(WORK IN PASS-THROUGH MODE). The READ and WRITE instructions execute successfully, but the instructions GET_VERSION,FAST_READ and SECTOR SELECT don't execute successfully。
for example:
//WRITE,successfully:
PC->PN532:00 00 FF 09 F7 D4 40 01 A2 0c aa aa aa aa 95 0
PN532->PC:00 00 FF 00 FF 00 00 00 FF 03 FD D5 41 00 EA 00
//READ,successfully:
PC->PN532:00 00 FF 05 FB D4 40 01 30 0c af 00
PN532->PC:00 00 FF 00 FF 00 00 00 FF 13 ED D5 41 00 AA AA AA AA 00 00 00 00 00 00 00 00 00 00 00 00 42 00
//GET_VERSION,not successfully:
PC->PN532:00 00 FF 04 Fc D4 40 01 60 8b 00
PN532->PC:00 00 FF 00 FF 00 00 00 FF 01 FF 7F 81 00
//FAST_READ,not successfully:
PC->PN532:00 00 FF 00 00 FF 06 Fa D4 40 01 3a 0c 0f d0 00
PN532->PC:no answer
// SECTOR SELECT,not successfully:
PC->PN532:00 00 FF 07 F9 D4 40 01 c2 ff 16 fb 19 00
PN532->PC:00 00 FF 00 FF 00 00 00 FF 03 FD D5 41 13 D7 00
PC->PN532:00 00 FF 09 F7 D4 40 01 03 00 00 00 36 cd e5 00
PN532->PC: 00 00 FF 00 FF 00 00 00 FF 01 FF 7F 81 00
READ ADDRESS 0XF8
PC->PN532:00 00 FF 07 F9 D4 40 01 30 f8 2d fc 9a 00
PN532->PC:00 00 FF 00 FF 00 00 00 FF 03 FD D5 41 01 E9 00
Hello lake liu:
The GET_VERSION and FAST_READ are not NFC Forum standard commands, so these are not recognized by the InDataExchange command you are using (0x40). But the tag can work anyway by using the InCommunicateThru command instead (0x42). See below for an example:
// GET_VERSION
00 00 FF 04 FC D4 40 01 60 8B 00 :smileyx:
00 00 FF 03 FD D4 42 60 8A 00 :smileycheck:
To use the InCommunicateThru command the card has to be activated first with the InListPassiveTarget command, which will configure as well the required RF protocol settings.
Also consider that the PN532 will not receive a CRC after sending SECTOR_SELECT command. See the next discussion:
NTAG I²C Sector Select on PN532
I hope this helps.
Best Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------