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.

LM4F232 and TRF7960A RFID EVM

Other Parts Discussed in Thread: TRF7960A, TRF7960

Hi,

Is it possible to connect the LM4F232 EVB to the TRF7960A RFID EVM via the OTG USB?

Would I be able to communicate with it as if I'm the computer and read/write RFID tags?

If it is not possible, do you have any suggestions how to connect the LM4F232 EVB to the TRF7960AEVM or the TRF7960ATB in a way that will require the minimal coding (I don't mind "nasty" wiring)?

Thank you.


  • Ran,

    In theory, you could use the LM4F232 to talk to the TRF7960A EVM over OTG USB. However, you would have to write your own firmware for the LM4F232 to talk to the MSP430 on the 7960 EVM.

    Another solution would be to wire some pins on the TRF7960ATB directly to the LM4F232 board. This page has a software example that is for a similar configuration from a earlier development kit. I don't know how much effort it would take to port the code to the LM4F232. You would need to change the pins around and remove the touchscreen dependent code.

  • Thank you for your reply John.

    As for the OTG USB option - would this firmware be just UART commands (as with the PC serial port communication), or something more complicated than that (CP210x driver etc.)?

    I've just found this post by one of your engineers () about an RFID demo for the LM4F232 using the TRF7960ATB - is there anyway to get the code of this demo?

    http://e2e.ti.com/blogs_/b/smartgrid/archive/2012/10/25/13-56-mhz-rfid-demo-for-arm-174-cortex-m4f-microcontrollers-mcus.aspx

    And a final question: you don't have any documentation for the newer TRF7970ATB - do you happen to know if it is compatible with the TRF7960ATB?


    Thanks.

  • Ran,

    The firmware would have to send the UART commands, but over the USB protocol for the CP2012 to convert to UART.

    Great find with that blog post. I recommend going this route. More soldering but much less coding. There are solder pads for a TRF7970ATB compatible connector on the board already. Page 19 of the LM4F232 user guide has a list of the components you will need to buy and solder onto the board. The actual part numbers will be in the Bill of Materials section in the user guide.

    The LM4F232 version of rfid_mifare is not an officially supported example, but I will do what I can to find the code.

    Without the documentation, I don't know if the TRF7960ATB is compatible with the TRF7970ATB. The TRF79x0ATB boards were not designed by the Stellaris group, so I don't have the documentation readily available. I will ask the appropriate design group for the documentation.

  • Ran,

    I found the code, but I can't post all of it on the forum due to cryptography export controls.

    I can, however, post the project folder which contains all the LM4F232 specific code. Place the rfid_mifare folder in your StellarisWare/boards/ek-lm4f232/ folder.

    Then download the firmware development package from here. It may a few days to clear with export controls. Once you download it, open it and place the MIFARE folder into your StellarisWare folder. Then you can build the project.

    The pinout of the TRF7970ATB is the same as the TRF7960ATB, so they should be interchangeable on the LM4F232.

    2656.rfid_mifare.zip

  • Thanks!

    They don't compile together because of TRF7960 vs TRF79X0 variables & file names differences, but I'll try to fix it myself.

  • I recently got the TRF7970 working by 'nasty wiring' through the SSI port to the LM4F232 demo board.  One thing that tripped me up was the port config; I found the TRF7970 documentation confusing on that front, and I think some of the older Stellaris example code is wrong (or it's different fro the TRF7960).  Setting the SSI port to SSI_FRF_MOTO_MODE_1 works for the 7970.