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

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

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

615 Views
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 Kudos
Reply
1 Reply

514 Views
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 Kudos
Reply