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.

use TRF7970AEVM to read "hello world" from RF430CL330HTB/MSP-EXP430FR5739

Other Parts Discussed in Thread: MSP-EXP430FR5739, TRF7970A, RF430CL330H

Can the TRF7970A be used to read "hello world" from the  RF430CL330HTB/MSP-EXP430FR5739?

The RF430CL330HTB/MSP-EXP430FR5739 boards are running the RF430CL330_Example program. 

"Hello world" can be read using a smart phone.

The TRF7970EVM can communicate with the "tag" above using the GUI TRF7970 EVM Control/ 14443B tab.  It does not seem to be able to read the data, "hello world".

Question:Any suggestions for using the TRF7970A to  read "hello world" from the tag? 

 

 

  • Stephan -

    you can use attached docklight file to read the NDEF message from RF430CL330H, using the TRF7970AEVMRF430CL330H_Read_NDEF.zip

    Each command is commented and note you need to insert the PUPI you get back from ATQB response (first four bytes after 0x50) and insert them after 0x1D byte in the ATTRIB command, to select the tag successfully. 

    you can also do all this with the test tab in the GUI, but using the Docklight is a bit easier

  • Hello Josh,

    Yes this is an answer.  But... 

    I do not have docklight and have not used it.

    I do have visual basic and could write an app.

    Also would use the test tab.  I opened the file sent using word.  Suspect it is translating hex into ascii?

    Thought was to cut and past the comands.

    Yes, this could be detail oriented.

    Is there a command reverence for the TRF7970EVM?

    This is my first exposure to NFC protocols.

    Thanks

    Stephan

     

  • Hello Stephan,

    Here is a the link to download Docklight : http://www.docklight.de/download/Docklight.zip

    The tool is pretty easy to use. When you open the ptp file Josh provided, follow the next steps:

    1. Click the Project Settings button (shown in yellow below)

    2. Select the correct COM port from the drop down menu.

    3. Click the Connect button (button to the right of the print button in the image above)

    4. Click on the send button next to each command sequentially.

    Note: There will be some commands that will require that you change the HEX data in the command, you will have to double click the command and change the appropiate bytes.

    Hope this help!

    Best regards,

    Erick M.

  • Hi, thanks.,

    I found and loaded Docklight yesterday.  And was able to connect.  You might add using the ASCII tab to the instructions.

    The PUPI was found (after the 50 in the reply to sending REQB)  835812A7 this morning.  I understand this is a psuedorandom number.

    A possible error at this next step..  modifiing the ATTRIB string.  After 1D overwrite the next for bybes or insert?  I chose overwrite.

    The RX is Request mode  [00]   is this correct?  Is there a need to continue adding the PUPI to the other commands?

    NDEF Appli gives RX o request mode f [029000]

    CC Select  Request mode [039000

    CC Read Bi...  Request mode []

    NDEF Select  Request mode []

    Read Binary  Reequest mode []

    Read Binary Request mode []

    Write NLEN  Request mode []

    Update ND Request mode []

    Write NLEN Request mode []

    Reset_MCU returns MCU reset ......  and a repeating string ISO14443 type B ......

    WUPB returns 14443B WUPB

    NDEF APPL..  Request mode []

    Where shouyld "hello world" have been returned?

    When the MCU was reset the PUPI changed.

     

     

     

     

     

     

     

  • Hello again,
    I reran the sequence using the PUPI after the Reset MCU line was run. This time the second read binary line contains the "hello world" sequence.
    So, what are the commands for after that?
    Is there a way to convert the string to text? ( Cannot copy and paste using the eval Docklight. )
    So, progress.
    Am I correct that Visual Basic could be used to execute the same command strings to read the data?

    The help is appreciated. This is fun. The tools are very good.
    Now I can get back to designing the tag, which is the project .
    Stephan
  • Hello,

    I used the docklite file commands in a VB 2010 program to read the tag.

    It works, with a few bugs.  The two buttons on the right allow walking through the commands.  Command and response show up in the left lower window.

    The seral port buttons top right, you have to select the correct port for the TRF7970 EVM.  Use docklight, easy.  Or start plug / unplug the device and watch which port appears / deletes.  The program reports all serial ports it finds. 

    The program finds the correct ID and inserts it into the command.

    It also finds the correct message length and location for reading "hello world".  It will adapt to different messages.

    There was a bit to learn for command formats.  Commented out lines are mostly for debug. 

    This is a quick one off, not a finished work of art.  It did the job.  I am designing a tag to go into one of our products.

    I've tried to attach a zip file for the project.  VB 2010.

    Stephan

    Serial Port Interface1.zip