Good Afternoon,
I'm trying to emulate a NFC card using the PN532 chip - so having a PN532 sat on a table and, using an Android or iOS device, be able to read data from the chip. The idea is to use the active capabilities of the PN532 to make the read/write process easier/faster/failproof.
However, I'm having issues. Is there any example that I should follow?
PN532 supports TgInitAsTarget with NFCID3t, that's not full emulation. But it can set manual response with NDEF message. Here's a project for emulate PN532 with NDEF message under HSU mode with Python code.
[Solved] Emulate NDEF on PN532
Project Source Code: https://github.com/whywilson/pn532-python
Demo Video: https://www.youtube.com/watch?v=RY3yHRz2pBE
Hello,
While the PN532 datasheet states that it can emulate a MIFARE Classic card, the User Manual does not describe how to handle the authentication sequence as a target. When using TGINITASTARGET the PN532 passes the authenticate command from the PCD (i.e. 0x60, 0x04). Sending challenge 1 using TGRESPONSETOINITIATOR succeeds (status = 0), however the next TGGETINITIATORCOMMAND fails with error 3 (A Parity error has been detected by the CIU). What are the PN532 commands to handle the 3-pass mutual authentication sequence as a target?
The User Manual/datasheet has details on only authentication in Reader/Writer mode.
8.6.20.3 Commands overview, Table 167
MFAuthent Performs the MIFARE Classic 1K or MIFARE Classic 4K authentication in MIFARE Reader/Writer mode only.
Thank you.
Hello @JoaoBrito
Thanks for contacting us and interesting the NXP products.
Yes, PN532 supports ISO/IEC 14443A/MIFARE Card MIFARE Classic 1K / 4K and FeliCa card emulation mode. But based on your description, it's not clear what your problem is. So, could you describe more details?
BR
Kelly
Hello,
Despite setting the PN532 to emulation mode, it appears that the information I'm trying to send is not recognized by the phone when I use it to read the tag.
Is there any example that I should follow? Any specific configuration?
Thank you for your help.
BR
João
Hello @JoaoBrito
please log in NFC Integrated Solution | NXP Semiconductors, where is some document could be helpful to you.
BR
kelly