PN5180 I cannot authenticate with mifare classic

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

PN5180 I cannot authenticate with mifare classic

跳至解决方案
1,844 次查看
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 项奖励
回复
1 解答
1,808 次查看
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 项奖励
回复
4 回复数
1,823 次查看
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 项奖励
回复
1,820 次查看
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 项奖励
回复
1,809 次查看
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 项奖励
回复
866 次查看
jekim0109
Contributor II

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

0 项奖励
回复