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.

NFC Peer-to-Peer Example sloa192TRF7970A_P2P_1.00_35 seems work not properly!! I have two Questions

Other Parts Discussed in Thread: TRF7970A, MSP430F5529

 NFC Peer-to-Peer Example TRF7970A_P2P_1.00_35 seems work not properly. I have two questions

I am experienced firmware engineer but NFC novice.

My company planed to use NFC peer-to-peer communication between our health equipments and smart phone. Today's smart phone has enough computing power and storage to manipulate personal/private health information without any other devices and needed only wireless & disturbance free communication path form our health equipments to it. The NFC tag and tag emulating applications activate bluetooth or wifi or mobile and communication between smart phone and device are executed by bluetooth or wifi or mobile that based on backend. Because of the NFC tag and tag emulating applications' communication need backend, we proper peer-to-peer that dose not need backend.

I select TI's NFC solution because I had experienced on TI data sheet and firmware and TI documents and firmware clearly written are well known.

I meet 2 critical problems while tracing TI NFC peer-to-peer example.

Using TI's peer-to-peer example is TRF7970A_P2P_1.00_35 and explanation document is SLOA192–-April 2014, "NFC Active and Passive Peer-to-Peer Communication Using the TRF7970A". And used ide is CCS 5.5.

Problem 1:

When debug tracing TRF7970A_P2P_1.00_35 with CCS5.5 and MSP430F5529 experimenter board with TRF7970ATB pair, at main.c's line 172 meet "serial_printf("DC",P2P_DISCONNECTED);" code.

I can't find out how to see the serial_printf("DC",P2P_DISCONNECTED);. print out result form source code comment and TI's document's.

I need serial_printf() message to understand TI peer-to-peer operation.

Question 1:

Where the serial_printf puts print out result? terminal? focused notepad?

What I do to see the serial_printf() result?

Problem 2:

Windows NFC peer-to-peer control UI program "TI NFC Tool.exe is NFC-Configuration Tab as described in chapter 8.1 of SLOA192–-April 2014, "NFC Active and Passive Peer-to-Peer Communication Using the TRF7970A".

As shown SLOA192–-April 2014's "Figure 20. TI NFC Tool(Advance COM Tab)", I select com5 and 115200 baud rate. Where com5 name is "MSP430 Application UART(COM5)" that detected by device manager of winodws 7. And click connect. The connect button of TI NFC Tool.exe UI changed to Disconnect from Connect and left bottom conner's "Disconnected" indicating word changed Connected from Disconnected and character's back ground color changed to green from red. After then, check out Target Mode(s) Passive 106kbps box and Initiator Mode(s) Passive 106kbps box and other boxs do not check and then click "start P2P". I think the experimenter board should run in passive 106kbps mode target and Initiator only as described in chapter 8.1, But experimenter board worked Active F 424 kbps mode(It seemed on experimenter board's LCD). See attached photo.

I think TI NFC Tool.exe dose not communicate with EXP board correctly.

Question 2 :

What/how to do the for TI NFC Tool.exe communicate with EXP board correctly?

Below are my development Envirnments

NFC Peer-to-Peer Example: TRF7970A_P2P_1.00_35

ide : ccs5.5

project creation : The TRF7970A_P2P_1.00_35 imported in ccs5.5 project using code composer Studio's "Existing CCS Eclipse Projects".

using board : (1) MSP430F5529 Exp board with TRF7970ATB<-- code tracing

(2) MSP430F5529LP with DLP's TRF7970A board

execution code generation : (1) MSP430F5529_EXP_BOARD [Active]

(2) MSP430F5529_LAUNCHPAD [Active]

(EDIT: Removed Compile Information as it is not relevant)

  • Hello sb kang,

    I'll address your questions and then offer some general advice for your evaluation:

    1. Where the serial_printf puts print out result? terminal? focused notepad?
      1. The Serial_printf function is used to communicate with the TI NFC Tool GUI. It outputs data over USB to the PC through the CDC COM Port
    2. What I do to see the serial_printf() result?
      1. You shouldn't need to do this, but I believe if you connected a USB terminal to the CDC COM Port, you could. I never tried to do this myself though because it really not useful. The packets sent are exclusively to control the TI NFC Tool GUI and serve no real purpose beyond that.
    3. What/how to do the for TI NFC Tool.exe communicate with EXP board correctly?
      1. If you are having trouble with the TI NFC Tool, you probably do not have the USB Driver installed. Please see below comments about this.

    The sloa192 GUI and firmware is a bit of out of date - an update is coming soon to address this and eliminate confusion but for now please do the following:

    1. Download and install the latest firmware from: http://www.ti.com/lit/zip/sloa227
    2. After installing the latest firmware, open the TI NFC Tool V1.7 and go to the Advanced COM tab.
    3. Refresh Available COM
    4. Look for a port labelled as either "MSP430-USB Example" or "Virtual COM Port (CDC)"
      1. If neither appears, then you do not have the USB driver installed.
      2. To install to the USB driver, you should go into Device Manager and look under Other Devices, there likely will be an unknown MSP430 device with a yellow warning flag on it there.
      3. You will need to MANUALLY update the driver software by searching your computer and going to this folder: C:\TI\msp430\TRF7970A_RW_1.02.05\usblib430\USB_config
      4. Use the C0_SimpleSend.inf file to install the driver

    5. Once you know you have the USB driver, then use the Auto-connect feature selecting the EXP board from the drop down
    6. You should now be able to configure all the P2P modes for testing

    Please let me know if you have further questions about this process.