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.

USB sample code

Other Parts Discussed in Thread: EK-TM4C1294XL

Hi All,

I am new to the embedded world.  I have seen some SPI/SSI example code from TivaWare, however, there seems no example for USB.

A brief description about what I am doing :

I am using TI launchpad to control the digital block resides inside our RFIC.  The protocol is SSI.  The connection is, connect PC to launchpad ICDI with USB cable, wire out the launchpad device uC from SSI0 pins and connect to pins fannout from RFIC.  The current binary allow user to type in command by UART I believe.  

What I want to do is to modify the source code so that after I download the code into the device, I want to talk to the device directly through the USB pins of the device.

Could you give me some guidance or example on this?

Thanks

Paul

  • Hi Paul,

    There is a USBLib provided in TivaWare it should be installed in the TivaWare driver directory located at C:\ti\TivaWare_C_Series-2.1.1.71 if you used the default path when installing the library.

    You don't specifically mention which board you are using so I will assume TM4C129x given it is the more advanced. If this is the case there are multiple USB examples located at C:\ti\TivaWare_C_Series-2.1.1.71\examples\boards\ek-tm4c1294xl\USB*

    In addition, there are a lot of discussion threads on this forum talking about USB implementation. I would suggest you try searching using the search utility at the top of the page.