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 - Intrupt not coming

Other Parts Discussed in Thread: TRF7970A

Hi ,

Thanks in advance ,IN TRF7970a

Interrupt is not coming from NFC controller fter placing nfc card.  able read write all commands successfully.  

Procedure for installing NFC is right or not ?

 What is SPI clock need to be set(Presently we are working on 16KHz SPI clock)?

 Is there any sequence or other sample code to test and read NFC card data ?

 

pLEAS HELP

 

Regards,

Arun soman

  • Hi Arun,

    Your SPI clock is running pretty slow. Is there a reason it has to run slow? Try to run the SPI clock faster (1 or 2 MHz is ideal) and see if that helps.

    If that doesn't work, please explain which interrupt are you looking for but is not appearing. What command(s) is being sent? If you can get some LSA captures with MISO, MOSI, SPI CLK, Slave Select, and IRQ lines that would be helpful as well.

    Also to better understand your project I would like to know a few more details:

    1) What application are you using the TRF7970A for?

    2) What modes of NFC communication are you trying to use? (i.e. Peer 2 Peer, Card Emulation, etc.) And with what tag types?

    3) What software/sample code are you using with the TRF7970A?

    4) What hardware are you interfacing with it?

  • Dear Ralph,

    Thanks for time and reply .

    We are working on getting 2MHz SPI clock.

    checking GPIO IRQ pin which internally calls handler function.

    0x1C command for IRQ

    EVM code flow commands.

    able to read write using SPI read write function of all NFC registers. 

    capture all these signals and update you.

      We are using TI provided software for TRF7970A. and interfacing with STM controller.

    /*****************************************************************************************************************

     

    /* // SPI and GPIO setup and configuration.  EN1 and EN2 configuration  */

    Trf797xCommunicationSetup(); 

    /*/ SPI chip select low */

    GPIO_ResetBits(GPIOA, GPIO_Pin_4);  

    /* NFC initial setup */

    Trf797xInitialSettings(); //

    /*  Selected  ISO14443a NFC standards to read cards*/  

    Iso14443aFindTag();  //

    After initializing the control is looping in ISO14443IRQWaitTimeout() after writing buf[0] = 0x8F; 0x90; 0x3D; 0x00; 0x0F; command; in function Iso14443a_command().

    ***********************************************************************************************************/

     

    regards,

    Arun soman

  • Hi Sir,

    Thanks in advance..I required details from below link , Firmware pkg and schematic  .Please provide me below details , for me it’s showing requested data not found .

    http://www.ti.com/tool/dk-em2-7960r

     

    regards,

    Arun soman

  • Arun Soman said:

    /*****************************************************************************************************************

    /* // SPI and GPIO setup and configuration.  EN1 and EN2 configuration  */

    Trf797xCommunicationSetup(); 

    /*/ SPI chip select low */

    GPIO_ResetBits(GPIOA, GPIO_Pin_4);  

    /* NFC initial setup */

    Trf797xInitialSettings(); //

    /*  Selected  ISO14443a NFC standards to read cards*/  

    Iso14443aFindTag();  //

    After initializing the control is looping in ISO14443IRQWaitTimeout() after writing buf[0] = 0x8F; 0x90; 0x3D; 0x00; 0x0F; command; in function Iso14443a_command().

    ***********************************************************************************************************/

    Hey Arun,

    Did you get the IRQ firing yet?  If you could include a SPI capture, that would be quite useful.

    Thanks,

    JD