SLOA192B April   2014  – March 2019 TRF7970A , TRF7970A

 

  1.   NFC active and passive peer-to-peer communication using the TRF7970A
    1.     Trademarks
    2. 1  Introduction
    3. 2  Initial RF Collision
    4. 3  TRF7970A Register Settings
    5. 4  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. 5  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. 6  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. 7  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. 8  Quick Start Guide
    10. 9  Operational Overview
    11. 10 Peer-to-Peer Interoperability Results
    12. 11 Conclusion
    13. 12 References
  2.   Revision History

Implementing a Peer-to-Peer Sample Application

This section explains how to implement a peer-to-peer sample application that uses buttons S1 and S2 on the MSP430F5529 LaunchPad development kit to send different NDEF messages to an NFC-enabled device. Table 3 and Table 4 list the connections between the MSP430F5529 and the TRF7970A for the different MSP430F5529 evaluation platforms. Table 5 lists the connections between the MSP432P401R and the TRF7970A for the MSP432P401R LaunchPad development kit.

Table 3. DLP-7970ABP BoosterPack Module and MSP-EXP430F5529LP LaunchPad Kit Hardware Connections

DLP-7970ABP Pins MSP430F5529 LaunchPad Development Kit Pins
TRF7970A EN1 P4.1
TRF7970A IRQ P2.2(1)
MOSI P3.0
MISO P3.1
CLK P3.2
Slave Select P4.2
I/O_2 P6.6(2)
I/O_3 P2.0(2)
I/O_5 P1.6(2)
IRQ defaults to P2.2 for DLP-7970ABP v4.5 and newer (see the DLP-7970ABP hardware update overview).
Pin is needed for only Special Direct mode.

Table 4. TRF7970ATB and MSP-EXP430F5529 Experimenter Board Hardware Connections

TRF7970ATB Pins MSP430F5529 Experimenter Board Pins
TRF7970A EN1 P2.3
TRF7970A IRQ P2.0(1)
MOSI P3.0
MISO P3.1
CLK P3.2
Slave Select P2.6
MOD P2.1
ASK/OOK P4.7
Requires a jumper to be placed between P2.0 and P4.0 on the experimenter board.

Table 5. DLP-7970ABP and MSP-EXP432P401R LaunchPad Kit Hardware Connections

DLP-7970ABP Pins MSP432P401R LaunchPad Development Kit Pins
TRF7970A EN1 P6.2
TRF7970A IRQ P3.0(1)
MOSI P1.6
MISO P1.7
CLK P1.5
Slave Select P6.5
I/O_2 P4.3(2)
I/O_3 P2.5(2)
I/O_5 P4.1(2)
IRQ defaults to P3.0 for DLP-7970ABP v4.5 and newer (see the DLP‑7970ABP hardware update overview).
Pin is needed for only Special Direct mode.