Hello everyone,
I am using on PN532 module (ELECHOUSE v3) as card emulation mode for sometime and it was able to be configured target of ISO-14443 type A card by issuing tgInitAsTarget command and I have made it working as EMV card for contactless transaction of VISA, Mastercrd and AMEX, everything looks fine until today I just rearranged connection wire of the module, then tgInitAsTarget command only return ACK but no information packet followed. I tried to use another working PN532 module (I am sure it is working) and got the same result that no response of tgInitAsTarget. I met this issue at every first beginning when I started to use PN532 as card simulator and that seemed a hardware issue (maybe antenna tuning not properly for that board), then I changed to new PN532 module and the issue gone. Now looks like I was hit again by the same problem. I have read again user manual (141520.pdf) and datasheet (PN532_C1.pdf), and I suspected problem lying at messages exchanges between PN532 and reader: REQA/ATQA ...RATS/ATS that described at page22 of document 41520.pdf. But I don't know why it happened and how to solve it.
Does anybody have met similar issue, and know the solution? Thanks in advance.
.........
tx frame: 00 00 FF 27 D9 D4 8C 04 04 00 12 34 56 20 01 FE A2 A3 A4 A5 A6 A7 C0 C1 C2 C3 C4 C5 C6 C7 FF FF AA 99 88 77 66 55 44 33 22 11 00 00 41 00
ack: 81 00 00 FF 00 FF 00
(I expect to receive following packet from PN532, but unfortunately not)
rx frame: 81 00 00 FF 28 D8 D5 8D 15 25 D4 00 A9 6C 78 8A 3F ED 0A 5B E9 FC 00 00 00 32 46 66 6D 01 01 12 02 02 07 FF 03 02 00 13 04 01 64 07 01 03 0E
.........
This is the link of video clip of ICC card emulator of home project:https://m.youtube.com/watch?v=1Qey9gRZU2c
(using PN532 as ICC card taget in contactless transaction)
Thanks for reply. looks like not connection issue, there are only 4 wires (VCC, GND, SDA, SCK) between PN532 to my Pi3 board. I ordered some new PN532 modules, replace and works again. But I still can't understand what causing the problem. It seems PN532 can't be activated as target suddenly by some reason (not be able to detect RF field?)
Did you reset the device in such kind of case? Does it help?
Have a great day,
Kan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I did re-power on the module, but it couldn't be activated as target. I don't know what reset command with some parameters to use here.
Can you give more advice? If this works, it would save two modules.
I could see the module detected RF by checking status, but after sent cmd of TgInitAsTaget, module could receive ack but nothing else after.
Would this be a connection issue? Please check the connection wire of the module on your side.
Have a great day,
Kan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------