Skip to main content
Rajesh Raturi
Associate II
December 15, 2021
Question

I am trying to implement multiple virtual COM ports using one USB. I changed the no. of interfaces and device descriptors from 1 to 3 but is it still showing a single VCP. Would you tell me where I am lagging?

  • December 15, 2021
  • 4 replies
  • 1964 views

..

This topic has been closed for replies.

4 replies

ESzes.1
Visitor II
December 15, 2021

As I understood the ST libraries doesn't support composite devices. I used a really good open source solution for it: https://github.com/IntergatedCircuits/USBDevice

This supports composite devices, you can find example projects there also.

Rajesh Raturi
Associate II
December 15, 2021

I am doing this with threadX ( USBX ) help me to add a Virtual COM port

gbm
Lead III
December 15, 2021

You didn't supply any detailed info, so just my wild guess: you re probably missing IAD, or Interface Association Descriptor - a component of the Configuration Descriptor. Find some info on the net regarding composite VCOM and its Config Desc. It won't work without IAD.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
TDK
Super User
December 15, 2021
"If you feel a post has answered your question, please click ""Accept as Solution""."