This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MIFARE and the TRF7970A

Other Parts Discussed in Thread: TRF7964A, TRF7960, TRF7970A, MSP430F2370

Hi,

I am new to RFID and this chip. I recently learned we need the larger space provided by MIFARE devices so I am trying to get this chip running in that mode. I stumbled upon the sloa159 document that said in Section 8.0 that you have to use Special Direct mode and that we needed different pins connected for serial communication in this mode. I don't have these lines hooked up. Do I really need them and this mode for MIFARE?

-Dan Dahl

  • Dan - you need to use either the Special Direct Mode or Direct Mode 0 as these cards (if you are using Mifare Classic) are not 100% ISO14443A compliant. So for the auth and read/write of blocks and sectors, you do need to either use the SDM or DM0...please see attached for details mainly around using the DM0 for these cards. (this covers the TRF7960/-60A and the TRF7964A/TRF7970A. 

    8750.TRF79xx_Mifare_Direct_Mode_12_2012.pdf

    If you are using Mifare DESFire EV1 or Plus cards, then you don't need to drop the TRF7970A into DM0 or SDM mode, you can use Direct Mode 2 (this is default mode). 

  • Hi Josh,

    You mention that  If you we are using Mifare DESFire EV1 or Plus cards, then there is no  need to drop the TRF7970A into DM0 or SDM mode, it is possible to use Direct Mode 2 (this is default mode).

    Does it mean that we could  be compliant with MIFARE plus? And does TI has example code for such application?

  • correct - these are ISO14443-4 compliant devices, so default/DM2/ISO mode is used with them and we have done complete code for DESFire EV1 in factory mode (see NFCLink) as NFC T4AT platform, and then another two projects to use the cards in their DES mode and raise them up into AES mode and authenticate them. 

    For Mifare Plus, i only recently got my hands on some of these cards (they are not really popular on this side of the world) in looking at them, NFCLink reads them OK, so next step here is to check out how to use them. 

    a little research leads to seeing that they are similar to Mifare ULC, so maybe its not so hard to figure it out. 

    let us know what you are thinking you need and we can see about helping.

  • hi Josh

               I want to use TRF7970A and MSP430 to read and write MIfare one card ,I have already selected the card successfully . but now I have some problems with MifareAuth,I send command(01 08 8f 91 3d 00 40 60 00 crcA crcB ) in MODE2 or MODE0 ,however the card  doesnt send a random number.I have read some posts in TI

    Forum .I know there is a DEMO software about this .please send me one .

    best friends. thanks.

     

  • ffeng - 

    sorry for the delay - i was on vacation - we have put the Mifare Classic projects up on the web for you to request here: 

    MSP430 version ==> http://www.ti.com/tool/trf796x_trf7970x_mifare_12_2013  (this is project made to run on TRF79xx EVMs, using MSP430F2370 and includes GUI with a Mifare Classic tab, for step by step operations demo)

    Cortex M version ==> http://www.ti.com/tool/DK-EM2-7960-70R (this is standalone project made to run on LM3S and LM4F platforms)