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.

TM4C129DNCPDT: TM4C129DNCPDT: Does the USB peripheral support the use of dual interface CDC (Serial-COM) and MSC (SD-Card)?

Part Number: TM4C129DNCPDT
Other Parts Discussed in Thread: EK-TM4C1294XL

Does the single USB peripheral support the use of dual interface CDC (Serial-COM) and MSC (SD-Card)?

Is there a demo code (ideally under TI-RTOS) to support this or a guideline on how to implement them? can you direct me to these sources? 

I used to do this on NXP 8 years ago but could not make it work due to a bug in the USB peripheral and demo code only work for other MCU within NXP.

Can it run together or discretely?

  • Hi Richard,

      Sorry, we don't have any examples that support CDC and MSC at the same time. That will be a composite device. Below are USB examples for TI-RTOS only. TivaWare also has quite some USB examples. However, they are separate MSC or CDC device without OS. There is no composite device example that contains both CDC and MSC. 

    Please refer to the composite device example USB CDC Mouse Device in TI-RTOS or usb_dev_cserial in TivaWare C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl\usb_dev_cserial on how composite device is created. 

    I find this article that talks about creating CDC and MSC as a composite device which may be helpful although it is not for TM4C. https://sudonull.com/post/68144-CDC-MSC-USB-Composite-Device-on-STM32-HAL