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.

TRF7962A: Inquiries regarding TRF7962A SPI control

Part Number: TRF7962A
Other Parts Discussed in Thread: MSP430G2553, TRF7970A

Hi, TI support team

The customer has applied the TRF7962A and has a problem during the test, so please contact us as follows.

Please check the contents below and respond to your inquiries.

Currently, we have implemented spi communication function using Synaptics' CPU. (Confirm that transmission by 1 Byte is normally transmitted as a result of measurement with a logic analyzer)

I received an example code for controlling TRF7970A using MSP430G2553 MCU,

Ported the source code of the received example code except for the spi communication part (iso15693, nfc_app, trf79xxa).

I created a thread and implemented the code to call the NFC_findTag function every second.

The result of analyzing the waveform by measuring with a logic analyzer is as follows.

- When data transmission/reception is in progress, it is confirmed that the SlaveSelect pin is normally cleared.

Q. Is it being controlled in a normal cycle?

- In the process of receiving and receiving data through MISO, data is transmitted through MOSI.

Q. Could this be a problem?

- Initially, after sending work commands such as initial and reset, and sending 8 bytes of data in ISO15693_sendSingleSlotInventory function, TimeOut occurs in TRF79xxA_waitRxData function.

- It is assumed that TimeOut occurs because Interrupt Request is not processed normally.

Q. Among the measured waveform signals, are the signals for the IRQ pin normal?

This is an additional inquiry.

I would like to review the EVM for the TRF7962A, but the EVM is not found on ti.com.

Is there a way to review the reference for the TRF7962A?

I would appreciate it if you could tell me how.

Thanks.

Regards,

MJ

  • Hi, TI support team

    Please inquire further.

    When sending Single Slot Inventory Command (0x8F, 0x91, 0x3D, 0x00, 0x30, 0x26, 0x01, 0x00) from MCU to TRF7962A,

    It is stated that the command is read from the TRF7962A and an interrupt (IRQ) is raised to signal to the MUC that the transmission is complete.

    However, even if the Single Slot Inventory Command is transmitted to the TRF7962A using the example code you provided, the interrupt (IRQ) does not occur normally.

    When the power of the board (MCU) under development is applied, the TRF7962A sequentially transmits the following commands and controls the registers.

    - 0x83 (Software Initialization Command transmission)

    - 0x80 (Idle Command transmission)

    - 0x8F (Reset FIFO Command transmission)

    - 0x09, 0x01 (Modulator and SYS)CLK Control Register control)

    - 0x0B, 0x01 (Regulator and I/O Control Register control)

    - 0x00, 0x20 (Chip Status Control Register control)

    - 0x01, 0x02 (ISO Control Register control)

    - 0x09, 0x01 (Modulator and SYS)CLK Control Register control)

    - 0x07, 0x15 (RX No Response Wait Register control)

    - 0x08, 0x1F (RX Wait Time Register control)

    - 0x8F, 0x91, 0x3D, 0x00, 0x30, 0x26, 0x01, 0x00 (Single Slot Inventory Command transmission)

    - 0x6C, 0x40, 0x1F (TRF79xxA_waitTxIRQ Function TimeOut occurs)

    When SPI communication bps is set to 9600, the IRQ signal is received as shown in the capture picture below, but it seems to be received with an incorrect value.

    If SPI communication bps is set to 115200 or 2000000, IRQ signal is not received.

    The current situation is as described above, and the information we would like to inquire about is as follows.

    1. What bps value should be set for TRF7962A and SPI communication?

    2. When transmitting the Single Slot Inventory Command as described in the document, is additional setting required in the MCU to receive the IRQ signal before TimeOut

    occurs?

    3. Does the TRF7962A need to recognize the NFC Tag to generate the IRQ signal?

    4. Do I need to use a specific NFC Tag?

    Thanks.

    Regards,

    MJ

  • Hello MJ,

    thanks for your interest in the TRF7962A. Unfortunately TI does not offer an EVM for that chip, as it is not recommended for new designs. Instead TI is recommending the TRF7970A and the TRF7964A. The corresponding provided evaluation hardware is the DLP-7970ABP.

    The SPI communication issues might be caused by the ported example code, which is intended to operate with the TRF7970A. There are some differences for older device revisions such as the TRF7962A, which are described in chapter 4.1 of the FAQ document.

    Best regards,

    Andreas.