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
解決済! 解決策の投稿を見る。
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 support.docstore@nxp.com for further support.
Best Regards,
kelly
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
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
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 support.docstore@nxp.com for further support.
Best Regards,
kelly
I got through NDA, I couldn't find SW666815.