AnsweredAssumed Answered

How to get Mifare DESFire EV1/EV2 cards and ISO 15693 cards working with PN7150 using linux nfc api ?

Question asked by davidwatzinger on Mar 13, 2017
Latest reply on Mar 21, 2017 by jimmychan

Hi,

 

I´m running the DemoApp for NFC on a BeagleBone-Black with NFC controller PN7150 (demoboard OM5578).

The communication with NFC tags works fine.

 

I want to get Mifare DESFire EV1/EV2 cards and ISO 15693 cards also working. 

I think the function int nfcTag_tranceive(unsigned int handle, unsigned char * tx_buffer, int tx_buffer_length, unsigned char* rx_buffer, int rx_buffer_length, unsigned int timeout) from the linux nfc api can be used for that.

 

I dont´t find much information about commands to communicate with DESFire EV1/EV2 cards. Is there a document from NXP where all the avaiable commands for Mifare DESFire EV1/EV2 cards are explained?

 

I found out that 0x60 is the getVersion command. When I send this to a EV1 card I always get the response 0x67 0x00. This is not the answer I expected.

From EV2 cards I get 0x0B.

 

I don´t know what this answers mean.

 

Thanks for your help,

David

Outcomes