Is there an example with two CDC ports under one USB configuration?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
IzMa_4105896
Level 2
Level 2
10 replies posted 5 replies posted 5 questions asked

I'm having problems getting this working and I'm wondering if there is a working example with this configuration?

Ultimately I am trying to put together an application with two CDC USB ports (a CDC to UART bridge and debug port) and a GPIF II USB interface all under one configuration. 

0 Likes
1 Solution

Hello Iztok,

- Use the UsbUart example as the base firmware. Add additional CDC interface onto this firmware by modifying the descriptor information. Ensure that the configuration descriptor length is modified accordingly. This should enumerate the device as two CDC interfaces, which can be seen as 2 COM ports on the host.

- Configure the additional endpoint(s) used for the second CDC interface. Create a new DMA channel between FX3 CPU socket and USB socket and configure the same.

- Data can now be committed from the FX3 CPU over the second DMA channel to be sent over the host PC.

Please test and let me know if you are facing issues while doing these.

Best regards,

Srinath S

View solution in original post

0 Likes
3 Replies