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.

Connecting the TRF7970 to an Android device

Other Parts Discussed in Thread: MSP430G2553, TRF7970A

Hi folks,

I am looking for some documentation that describes how to put the TRF7970 in tag emulation mode so that it can emit a URL that it would pull from the computer it is connected to and deliver that to an Android device. The Android device wouldn't have anything special installed on it, and would simply launch whatever it normally does based on the URL that was transferred over the TRF7970.

If there is any documentation that would be great. If there is some code out there that shows it at some level of detail, that would be WONDERFUL :)

  • Gregory -

    please see attached - you will have to modify slightly, but these days, what you are describing is basically what Android Beam does for example from a handset and this is done using P2P, not card emulation, but you can put the phone into card emulation, retrieve the URI (what NFC Forum calls what is ends up being a URL) and then click that. I am sure this could be automated, too and also there might be some apps out there that do this, too.

    Here is the CE register settings example:

    8156.TRF7970A_TypeB_CE_Config.xls

    These code examples (not polished or published yet) are for the MSP430G2553 and the TRF7970A, for P2P and Card Emulation:

    1106.MSP430G2553_Card_Emulation.zip

    5001.NFC_P2P_eZ430G2553.zip

    Hope they help you out. You can see the NFC specs on making the RTD what you want for your application.

  • Thanks Josh. You are correct in that we are essentially trying to get the board to act as a tag and that's what I'm going to target initially just to get the use case out of the way.

    However, the Android Beam use case is certainly where I would like to go long term and I would love to look into implementing that in my scenario.

    The server where the 7970 will be attached is running Windows 7 and the user will select some content on the UI which I would then want to P2P to the Android device. It appears that the P2P document that you sent me would allow the device to be transfered similar to a beam, but I'm curious if this is specific to Android devices or would anything that adheres to the spec understand the same stream? 

    Again, thanks for your help and if anything comes up that I can contribute back based on our findings testing the board in these modes I'll let you know

  • don't forget to look at the zip files...the one is supporting beam to PC, through the -70A

  • Do you guys have a make file or other build script that should be used to build these applications, or should I just grab gcc and have at it using the normal C build process?

  • Hi Josh,

    I was just wondering what IDE those code examples should be tested in? For our project, my group is interested in the code for the MSP430G2553 and the TRF7970A, for P2.  I attempted downloading the zip file and then extracting the files to a different folder. Then using code composer studio, I switched my workspace to that folder.  After the workspace was switched, I received the following error:

    Description: Program "make" is not found in PATH

    Resource: NFC_P2P_eZ430G2553

    Type: C/C++ Problem

    I was wondering what would be causing this error or if I should be using a different IDE?

  • try selecting this path when importing to CCS on your machine...i just did same thing what you must have done and had 93 errors when i selected the top one, just one warning when selecting one shown below