PN7150: Technical question in reading out data on a MFC card with the command "XCHG_DATA_REQ"

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

PN7150: Technical question in reading out data on a MFC card with the command "XCHG_DATA_REQ"

695 次查看
Tadashi_1
Contributor I

Hello, I am working with PN7150 for a product with NFC function.

After card authentication, I cannot get 16 bytes data from a specific block of a Mifare Classic Card.
Detail below. 

I challenged for authentication with a specific Key-A with the command of "MFC_Authenticate_REQ", acknowledged with STATUS_OK.
Then sending "XCHG_DATA_REQ" as "00 00 03 10 30 xx". (xx, I set it a specific block address).

To this what I received was "XCHG_DATA_RSP", or "00 00 03 10 yy 00".
"yy" should be the data from the block, according to UM10936, PN7150 User Manual, Rev. 2.0 . 6 November 2020.
But what I am expecting is all the 16 byte data on the block address.
Could someone tell me how I can find a solution to this problem?

Regards

0 项奖励
回复
1 回复

594 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Tadashi:

 

There is a package (sw685610) which contains Linux examples applications demonstrating MIFARE cards handling through linux libnfc-nci library and dedicated MIFARE library.  API phhalMfc_Sw_Read can read block data.  This package is under NDA.

 

Regards

Daniel

0 项奖励
回复