AnsweredAssumed Answered

Is there a somewhat more simpler example code available about PN512

Question asked by Jinhui Wu on Apr 27, 2016
Latest reply on May 9, 2016 by Jorge_Gonzalez

I got myself an EXPLORE evaluation board to get started with the PN512. My goal is to use the PN512 for several types of Mifare cards (using 1 and 3 step anticolission loop) and retreive the cards UID. This all using my own MCU controlling the PN512.

I have found the NFC reader library with example code, but it is too comprehensive for me to actually get a good idea what steps need to be taken and what parts to configure. The information stays a too abstact to get a good picture. Is there a somewhat more simpler example code available, not using several layers?

For example: accoring to the datasheet the PN512 should be configures with the CONFIG command, sending 25 bytes to fifo... and so. NFCID1, NFCID2 and NFCID3 are required for this. So there is a 10-byte NFCID split up in three parts? But how to choose this NFCID? Is it related to the type of Mifare cards I want to use or is it related with specific cards that are allowed to be authorized? And an 8 byte PAD and a 2 byte System Code is mentioned, but also here I don't understand how to choose this. Maybe I should be able to find this from the example code from the NFC reader library, but I can't Sad

All explanation or help is much appreciated!

Outcomes