PN5180 I cannot authenticate with mifare classic

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PN5180 I cannot authenticate with mifare classic

Jump to solution
1,841 Views
cesarP
Contributor II

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

0 Kudos
Reply
1 Solution
1,805 Views
KellyLi
NXP TechSupport
NXP TechSupport

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

 

View solution in original post

0 Kudos
Reply
4 Replies
1,820 Views
KellyLi
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply
1,817 Views
cesarP
Contributor II

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?

0 Kudos
Reply
1,806 Views
KellyLi
NXP TechSupport
NXP TechSupport

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

 

0 Kudos
Reply
863 Views
jekim0109
Contributor II

I got through NDA,  I couldn't find SW666815.

0 Kudos
Reply