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.

TM4C1294NCPDT: USB Composite Device CDC and Bulk for TM4C129x

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: EK-TM4C129EXL

Dear Champs,

Refer to below post, we hope to design USB Composite Device function for TM4C1299. Now usING DK-TM4C129X board test it.

https://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/702763

For our design we need CDC, CDC, HID, Bulk, device. But we still have more related problems:

1. How can I expand to 4 device? To use usb_dev_cserial example code for modification

  • USB interface descriptor write in "usb_structs.c"
  • First, I will write usb descript for USBview, but I am programming fail.

5. Put in TI box, usb_dev_cserial_3Port.zip is add CDC*3, Now I will change to CDC, CDC, HID, bulk.

txn.app.box.com/.../aqft2jg6oydnovi8lprxmasik2j6dzc9

But we still can't create more than 3 device like above modified code, could you kindly give us any suggestion?

Thanks a lot.

  • Hello Janet,

    I feel there are multiple questions at hand here, but I will try and address all of them.

    Also first off let me note that the code provided was for the EK-TM4C129EXL LaunchPad. I modified the project to be for the DK-TM4C129X since that is what you say is being used though.

    For the 3x CDC example that is not working, the structure for tUSBDCompositeDevice which is declared as g_sCompDevice has a parameter that indicates how many composite devices are being used. In the code sent, that number is set to 2. Once it is increased to 3, then the 3rd CDC port shows up.

    Note that our Windows drivers provided with TivaWare does not have support for a 3rd CDC port, so it may show up as an uninstalled Virtual COM Port.

    Regarding how to expand to 4 devices, the DK-TM4C129X example folder has another example project called usb_dev_chid. This will show how to install the HID device as a composite device.

    For the USB Bulk device, I offered comments about that on this thread, please follow-up on the advice given here and if challenges are found then explain the issue and I can try and offer further guidance: e2e.ti.com/.../2591786
  • Dear Ralph,

    Thanks for your information.
    Because customer has created 3 end point successfully, here is no problem now.
    If we still have other problem, we will create another E2E post.
    Thanks a lot.