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.

TRF7970A: Direct Mode and special direct mode implementation using TRF7970A and MSP430F5529LP

Part Number: TRF7970A


Hi team,

i am trying to implement the Direct Mode and special direct mode implementation using TRF7970A and MSP430F5529LP both sides Transmitter and receiver side i am using same TRF7970A and MSP430F5529LP modules.

I followed with the following links"https://www.ti.com/lit/an/sloa214/sloa214.pdf?ts=1652782634825&ref_url=https%253A%252F%252Fwww.google.com%252F" and successfully port the code for MSP430F5529LP  but not able to read the data on receiver side 

Now pls help me with following questions:

1)For direct mode implementation do we need to use TRF7970A and MSP430F5529LP on transmitter side and on receiver side do we need to use non ISO Tags instead of TRF7970A and MSP430F5529LP.

2) is  direct mode supports on both on TX and RX TRF7970A and MSP430F5529LP modules or one side TRF7970A and MSP430F5529LP modules and on other side some NON ISO Tags we need to use.

3)If it is possible to use TX and RX TRF7970A and MSP430F5529LP modules what steps we need to follow so that i can able to implement

Thanks,

shivraj

  • Hello Shivraj,

    as the ISO compliant protocol handling is implemented in the normal operation of the TRF7970A, it is the primary purpose of the Direct Mode and the Special Direct Mode to implement any non ISO compliant protocol. So it does not make sense to implement a Direct Mode connection between two TRF7970A devices, and I guess this was never done before. If you want to use two TRF7970A then you could run one device in Reader/Writer mode and the other device in Card Emulation Mode (tag), or alternatively both devices in Peer-to-Peer mode.

    Direct Mode and Special Direct Mode only makes sense if you want to connect to a non-ISO compliant tag.

    I hope this covers all 3 of your questions. Let me know if I missed something.

    Best regards,

    Andreas.

  • Hi Andreas Mueller,

    Thanks for the reply and will look into this 

  • Hi ,

    is it possible to make TRF7970A module as a non iso complain tag (MIFARE classic Tag), is there any registers are available to configure TRF7970A as mifare classic tag so that i can configure the specific register and will make it as mifare classic tag.

    since for p2p communication firmware example its mention for nfcid like below:

    void NFC_initIDs(void)
    {
    // NFC ID's
    uint8_t pui8NfcAId[10] = {0x08,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09}; // Generic ISO14443 T4TA Tag
    uint8_t pui8NfcBId[4] = {0x08,0x0A, 0xBE,0xEF}; // Generic ISO14443 T4TB Tag
    uint8_t pui8NfcFId[8] = {0x01,0xFE,0x88,0x77,0x66,0x55,0x44,0x33}; // Type F ID for P2P

    // Set the NFC Id's for Type A, Type B, and Type F
    NFC_A_setNfcAId(pui8NfcAId,4);
    NFC_B_setNfcBId(pui8NfcBId,4);
    NFC_F_setNfcId2(pui8NfcFId,8);
    }

    similarly is there any possibility to do it for mifare tags in TRF7970A module. if yes pls help us in what values i can use for mifare classic.

    Thanks,

    shivraj

  • Hello Shivaj,

    MIFARE Classic is not fully ISO compliant. Therefore you have to use Direct Mode as a workaround. The existing example code is intended to control the NFC/RFID reader. It is not emulating the tag. I'm not sure if it would be possible to develop a firmware that can emulate a MIFARE Classic tag, but this you would have to develop on your own.

    Best regards,

    Andreas.

  • Andreas - I am encouraged that I have read here and other posts that one can read the UID from a MIFARE card without SDM.  This is good as I only need to read the UID.  Can you point me to this solution?

    Best Regards,

    Mike.

  • Hello Mike,

    all available application notes can be found in the Technical Documentation section of the TRF7970A product page. The application note for the MIFARE Classic card access is "Using Special Direct Mode With the TRF7970A".

    Let me know if you have further questions.

    Best regards,

    Andreas.

  • Andreas - I searched this document and there are no references to "UID" in this document.  Is the UID referred to something else in this document?

    Also, Special Direct Mode is not required to read the UID from a MIFARE card.  Only ISO14443A is needed - I think.  Can you confirm this for me?

    Best Regards,

    Mike.

  • Hello Mike,

    it is part of the anti collision handling (see ISO14443-3 specification).

    Best regards,

    Andreas.

  • I'm successfully sending the poll card command but using the SLOA297c RFID Reader demo the 4 bytes returned contains 3 bytes of the UID and the BCC.  Not sure what to change to get 5 bytes of the UID plus the BCC from the cascade 1 card.

    I don't need the MIFARE data, just the UID.  I ultimately need to fetch longer UIDs from different card types.

    Regards,

    Mike.

  • Hello Mike,

    you might want to have a look to the application note "Implementation of ISO14443A Anti Collision Sequence in the TI TRF796x". Although it is for TRF796x, it still can give you an idea on how the anti collision works. Chapter 2.3 is describing how to obtain the full UID.

    Best regards,

    Andreas.