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.

RTOS/TM4C1290NCPDT: USB OTG does it work with CDC and will be detected by Window Laptop via VCOM emulation?

Part Number: TM4C1290NCPDT

Tool/software: TI-RTOS

Hi

This is new TI-RTOS project and looking into TM4C123x and TM4C129x, I decided to select TM4C129x but what holding me back that it all OTG device. Can you confirm this USB OTG will work on CDC protocol for serial command/data transfer between window 10 laptop and TMC4C129x 

I have prior experience with LPC1549 device and found it did not work dual protocol CDC and MSC (or similar). Will I expect same issue with TM4C129x?

Where can I find working USB demo with CDC and CDC+MSC protocol?

So far I found this: C:\ti\tirtos_tivac_2_16_00_08\packages\examples\source\usbserialdevice but what about dual protocol?

R. 

 

  

  • Hello Richard,

    So if my understanding is correct after looking up the usual use case for CDC+MSC, you are wanting to be able to support USB CDC, and then also a USB composite application that supports both being a Host (MSC) and Device (CDC)?

    As far as USB OTG working with Windows 10, that comes down to the USB driver and descriptors. There aren't any hardware concerns with that. That said, the examples we offer through software package downloads (both TI-RTOS and TivaWare) are the exact of our demos, so if they don't cover your application, then you'd need to modify an existing example for your use case. We aren't able to provide a demo for every single USB use case, but we do try and cover the most important ones to give the best building blocks for development.

    That said, if you are looking for a USB composite device only (which would not include MSC as a host), our TivaWare example would usually be the place to start, but with Windows 10 it doesn't enumerate correctly for what is currently believed to be a descriptor issue with how Windows 10 expects a Composite device to be setup that is different from Win 7.

    I'm not as familiar with the TI-RTOS examples but the usbserialdevice would provide you a CDC example and then either usbmousehost or usbkeyboardhost would provide a host example. So if using TI-RTOS, then those building blocks would need to be your starting points, and you could then reference TivaWare examples as needed as you build your own application.