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 Sample code

Other Parts Discussed in Thread: TRF7970A

Hi,

We are using TRF7970A NFC controller in our project and interface with STM32 controller via SPI. We used sample code downloaded from below link

http://www.ti.com/product/TRF7970A/toolssoftware 

Using this we are able read write controller register but  not able to read the card data when we place the card on RF antenna.(IRQ interrupt is not generating).

Is there any code modification required in above sample code to card read?

I found some reference firmware from below link which supports both Card Emulation Type A / B.

 0456.ez430_TRF7970_UART_Card_Emulation_Type_A_or_B.zip

We want to know what is the difference between above sample and this card emulation firmware? 

Is there any other sample code to read card data on polling method?

Regards,

Sanjeev 

  • Hello Sanjeev,

    Do you have any of the TRF7970A Evalation boards?  You can see the links in my signature for them.  

    The code examples you first linked is for our different eval boards, acting as a polling reader, but written for the msp430. The second project is doing card emulation, not reading tags.  

    If you're SPI communication is working, and you are not getting an IRQ, then there are 2 issues usually.  

    1. The incorrect commands/sequence is being sent to the TRF7970
    2. The IRQ line is being driven low by hardware or the host MCU 

    If you have an e-val board, it will be easier to get you running there.  Then you will have something to compare against.  

    Thanks,

    JD

  • Thanks JD for your reply,

    We will recheck all commands and sequence sent to TRF7970A controller.

    Could you share list of sequence commands to TRF7970A to read the card and generate interrupt.

    We want to know the IRQ level triggering.(trigger rising or trigger falling).

    Please share list of sequence commands and value to check.

    Regards,

    Sanjeev 

     

  • Hi All,

    Using TRF7970AEVM i am able to read the UID of all NFC card and i want to read and write data in to these cards.

    Please let me know same software will work to read and write data to these cards after reading UID.

    Sanjeev

  • Does anyone know if the TRF7970A or the TRF EVM will read HID iClass tags?

    Thanks,

    Don