Reply To: Configuring PN512 correctly

Forum MIFARE and NFC Reader IC`s Configuring PN512 correctly Reply To: Configuring PN512 correctly

Re: Configuring PN512 correctly

5. August 2016 at 19:35

Thank you very much for your answer.

I actually identified the issue for the self-test problem. The thing is I didn't turn the analog receiver part on (in the Command Register, bit 6 = 0).

So far I'm able to read the self test answer successfully.

My next step is to be able to detect a NFC tag ID.

I'm actually doing the following sequence,

Soft reset
(CommandReg = 0x0F)
FIFO write :
0x04, 0x00 (SENS_RES)
0xA1, 0xA2, 0xA3 (also tried with 0x08 0xA2 0xA3) (NFCID1)
0x40 (SEL_RES)
0x01, 0xFE, 0xB2, 0xB3, 0xB4, 0xB5, 0xB6, 0xB7, 0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0x23, 0x45 (polling response)
Config Command
(CommandReg = 0x01)
AutoColl Command
(CommandReg = 0x0D)

The configuration sequence comes from the NFC reader library. Unfortunately I wasn't able to port it to my project yet (running on IAR, working on a KW21D512 chip).

As my final goal is to read the tag ID only, as initiator and passive communication, would you have a sequence to help me ?

Thanks in advance for your help,
Best regards,
Benjamin OLIVIER

+ 0  |  - 0