Hi,
I am writing my own driver to read and write blocks in sectors on a card Mifare Classic, using a Nordic MCU and the PNEV5180B board, I can do the steps in the examples as follows:
1. REQA....ok
2. Anticollision CL1.....ok
3. Select ......ok
4. Authenticate.... error
when I send the authentication command I get 0x02 (Timeout waiting for card response (card not present).) but the card is present, I have tried to compare it with the example as proposed here https://community.nxp.com/t5/Other-NXP-Products/pn5180-mifare-authentication-key-timeout/m-p/1202221 but I can't find the problem.
Question 1: is there any documentation on how to do the authentication with diagrams or easy to understand examples, similar to the other commands?
Question 2: I must authenticate to read the sectors? I have tried to read them without authenticating but it doesn't work either.
thanks
Hi,
in docstore the file is not present.
Mifare Classic Crypto1 is not implemented in the pn5180 ?
With the command 0x0C don't work.
With the command 0x09 send don't work (and the system status is b'\x03\x04\x00\x00')
With PN532 don't have problem.
I have sniff the command but i don't see any difference.
I would be very sorry because I was developing a new reader and your chip is fantastic but not reading Mifare Classic seems like a big limitation to me.
I got through NDA, I couldn't find SW666815.
Hello @cesarP
NDA doc for PN518 is SW666815, if you've had a valid NDA, then you can download from: https://www.docstore.nxp.com/
For doc store account issue, please contact [email protected] for further support.
Best Regards,
kelly
thank you for your response:
I have already sent the NDA and I am supposed to have full access to the documents but I can't find the authentication example you mention, could you tell me where I can find it?
Hello @cesarP
for your question my answers are the following:
1. Yes, you're right. There is an example for how to authenticate MIFARE CLASSIC by PN5180, but this is a secure document, so you need to sign an NDA. In case you need to sign an NDA, please let me know.
2. Read sector 0 could not be authentication, the other sectors all need to be authenticated and then can be read or written. For more the details, please check the dedicated datasheet.
Best Regard,
kelly