2025-10-16 11:13 PM
Hi ,
I'm working on the STM32H7S7L8-DK and i would like to know if it is possible to use both USB_FS and USB_HS as two separate Virtual-port-com Device mode
When I try to do it for one it is impossible in cube MX to do it for the other.
Thanks !
2025-10-16 11:37 PM
Hi,
>i would like to know if it is possible to use both USB_FS and USB_HS
Just out of curiosity or what you want to do with 2 VCP then ?
(Basically it should be possible, but obviously its not a use case provided for in cube.)
2025-10-16 11:40 PM
Hi
We want to use two USB ports to communicate with the H7 ( Example one for PC and of for a module )
Thanks
2025-10-17 12:08 AM
Ok, but why not VCP device-> PC,
and VCP host -> other module ?
2025-10-17 12:34 AM
We need to have all the USB as device mode !
2025-10-17 12:47 AM
So i would try :
- your project : usb-hs as device -> VCP ; + usb-fs as device (no mode). ok.
- make a new project : only usb-fs as device -> VCP. generate code.
- then try to copy all needed code from this to your project for both usb device used on same mode.
- compile...and try to solve all errors and warnings...until it works.
2025-10-17 2:17 AM
Hi @Hamady
Here is an example DualCore_Standalone
- CN14 : to use USB High Speed (HS) for CDC device - CN18: to use USB Full Speed (FS) for HID device
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-10-17 2:25 AM
Thanks for the response
There is no .ioc file in this project
And how to convert it to VCP class
Thanks
2025-10-17 6:06 AM
Yes, the hardware supports this.
Not everything is clickable in STM32CubeMX. Expect to do some programming if you want atypical scenarios.