SLOA208B November   2014  – March 2019 TRF7970A , TRF7970A

 

  1.   NFC card emulation using the TRF7970A
    1.     Trademarks
    2.     Terms, Definitions, and Symbols
    3. Introduction
    4. Card Emulation
      1. 2.1 Anticollision
        1. 2.1.1 Card Emulation Type A
        2. 2.1.2 Card Emulation Type B
      2. 2.2 Data Exchange
    5. Configuration and Commands for Type 4 Tag Platforms
      1. 3.1 Overview of Type 4 Tag Configuration
        1. 3.1.1 Tag
        2. 3.1.2 Applications
        3. 3.1.3 Files
      2. 3.2 Firmware Structure
        1.       Example 1. Type 4 Tag Structures Within Example Firmware
        2. 3.2.1 tType4AppDS
        3. 3.2.2 tType4App
        4. 3.2.3 tType4File
        5. 3.2.4 Example Setup
          1.        Example 2. Example Setup of a Type 4 Tag Structure
      3. 3.3 File Structure
        1. 3.3.1 Capability Container
          1.        Example 3. Format of the Capability Container for a Tag With Two Files
        2. 3.3.2 Text RTD
          1.        Example 4. Example of a Text RTD Within an NDEF File
        3. 3.3.3 URI RTD
          1.        Example 5. Example of a URI RTD Within a Proprietary File
        4. 3.3.4 Smart Poster
        5. 3.3.5 V-Card
        6. 3.3.6 MIME
      4. 3.4 Available Type 4 Tag Commands
        1. 3.4.1 Frame Format
        2. 3.4.2 Select
        3. 3.4.3 Read Binary
        4. 3.4.4 Update Binary
      5. 3.5 Modifying Stored Tag Information
    6. Hardware Description
      1. 4.1 LaunchPad™ Development Kit and BoosterPack™ Plug-in Module Setup
        1. 4.1.1 BoosterPack Plug-in Module: DLP-7970ABP
        2. 4.1.2 LaunchPad Development Kit: MSP-EXP430F5529LP
        3. 4.1.3 LaunchPad Development Kit: MSP-EXP432P401R
      2. 4.2 Bundle Available for Purchase
    7. Card Emulation Firmware Example
      1. 5.1 Card Emulation APIs
      2. 5.2 Implementing a Card Emulation Sample Application
        1. 5.2.1 Low-Level Initialization
          1.        Example 6. MCU and TRF7970A Initialization Code Snippet
        2. 5.2.2 Card Emulation NFC Stack Setup
          1.        Example 7. Card Emulation Initialization Code
        3. 5.2.3 Emulation of Different RTDs
    8. Quick Start Guide
    9. Operational Overview
    10. Card Emulation Interoperability Results
    11. Conclusion
    12. 10 References
  2.   Revision History

Implementing a Card Emulation Sample Application

This section explains how to implement a Card Emulation sample application that uses buttons S1 and S2 on the MSP430F5529 LaunchPad development kit to select different RTD messages for the firmware to emulate. Table 2 and Table 3 lists the connections between the MSP430F5529 and the TRF7970A for the different MSP430F5529 evaluation platforms. Table 4 shows the connections between the MSP432P401R and the TRF7970A for the MSP432P401R LaunchPad development kit.

Table 2. DLP-7970ABP BoosterPack Plug-in Module and MSP-EXP430F5529LP 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 is defaulted to P2.2 for DLP-7970ABP v4.5 and newer (see the DLP‑7970ABP hardware update overview).
Pin is only needed for using Special Direct mode

Table 3. 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 4. DLP-7970ABP and MSP-EXP432P401R LaunchPad Development 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 only for using Special Direct mode.