Skip to main content
XLin.2
Associate II
April 4, 2023
Solved

Stm32h753 Azure-rtos USBX two USB device classes

My project uses stm32h753 and Azure (ThreadX and USBX), I want to have USBFS as CDC and USBHS for DFU. In CubeMX how do I specify which USB interface is for which device class, or it should be done in code?

This topic has been closed for replies.
mohamed.ayed
mohamed.ayedBest answer
ST Employee
April 5, 2023

Hi @XLin.2​ ,

Device with more than 1 port is not allowed by the spec and not supported by USBx

Use composite device is the correct way to expose multi functionalities on a single USB port

1 reply

mohamed.ayed
mohamed.ayedBest answer
ST Employee
April 5, 2023

Hi @XLin.2​ ,

Device with more than 1 port is not allowed by the spec and not supported by USBx

Use composite device is the correct way to expose multi functionalities on a single USB port