SLOA192B April   2014  – March 2019 TRF7970A , TRF7970A

 

  1.   NFC active and passive peer-to-peer communication using the TRF7970A
    1.     Trademarks
    2. Introduction
    3. Initial RF Collision
    4. TRF7970A Register Settings
    5. Peer-to-Peer at 106 kbps
      1. 4.1 Active Communication
        1. 4.1.1 Initiator
        2. 4.1.2 Target
      2. 4.2 Passive Communication
        1. 4.2.1 Initiator
        2. 4.2.2 Target
    6. Peer-to-Peer at 212 kbps and 424 kbps
      1. 5.1 Active Communication
        1. 5.1.1 Initiator
        2. 5.1.2 Target
      2. 5.2 Passive Communication
        1. 5.2.1 Initiator
        2. 5.2.2 Target
    7. Hardware Description
      1. 6.1 LaunchPad™ Development Kit and BoosterPack™ Plug-in Module Setup
        1. 6.1.1 BoosterPack Plug-in Module: DLP-7970ABP
        2. 6.1.2 LaunchPad Development Kit: MSP-EXP430F5529LP
        3. 6.1.3 LaunchPad Development Kit: MSP-EXP432P401R
      2. 6.2 Bundle Available for Purchase
    8. Passive and Active Peer-to-Peer Firmware Example
      1. 7.1 Peer-to-Peer APIs
      2. 7.2 Implementing a Peer-to-Peer Sample Application
        1. 7.2.1 Low-Level Initialization
        2. 7.2.2 Peer-to-Peer NFC Stack Setup
        3. 7.2.3 Sending NDEF Packets
        4. 7.2.4 Receiving NDEF Packets
    9. Quick Start Guide
    10. Operational Overview
    11. 10 Peer-to-Peer Interoperability Results
    12. 11 Conclusion
    13. 12 References
  2.   Revision History

Initial RF Collision

Various implementations of peer-to-peer exist today; these implementations may poll through commands at different time intervals (500 ms, 300 ms, and so forth). To ensure that two NFC devices do not send commands at the same time, an initial RF collision detection is required. The transceiver must check the external Received Signal Strength Indicator (RSSI) value, which measures the strength of the demodulated subcarrier signal, before enabling its own RF field. If the RSSI value is greater than 0x00, the transceiver does not enable its RF field.

The relation between the 3-bit code and the external RF field strength (A/m) sensed by the antenna must be determined by calculation or by experiments for each antenna design. The antenna Q-factor, coupling factor between the two antennas, and connection to the RF input influence the result. Figure 3 through Figure 5 provide the correlation of the free space distance between two unmodified TRF7970ATB modules and the 3-bit external RSSI value in three directions. For more details on each orientation, see Figure 2. One TRF7970A has its RF field at full power (+23 dBm), and the second TRF7970A is used to take RSSI measurements across different distances.

RSSI_level_measurement_orientations_sloa192.gifFigure 2. RSSI Level Measurement Orientations
long_side_RSSI_level_measurement_sloa192.gifFigure 3. Long Side RSSI Level Measurement
short_side_RSSI_level_measurement_sloa192.gifFigure 4. Short Side RSSI Level Measurement
top_side_RSSI_level_measurement_sloa192.gifFigure 5. Top-Side RSSI Level Measurement

The initial RF collision can be accomplished by performing the following steps:

  1. Write 0x02 and 0x03 (3-VDC and 5-VDC operation) to the Chip Status Control register (0x00) disabling the transmitter and enabling the receiver.
  2. Send a Test External RF Direct command (0x19).
  3. Delay 50 µs to allow the transceiver to measure the field strength, and latch the value into the RSSI register.
  4. Read the RSSI Levels and Oscillator Status register (0x0F).
  5. If the active channel RSSI value (bits 2-0) is greater than 0, remain in target mode for a predetermined n ms.
  6. If the active channel RSSI value (bits 2-0) is equal to 0, go into initiator or target mode for active or passive communication.