Skip to main content
Visitor II
April 4, 2023
Solved

Stm32h753 Azure-rtos USBX two USB device classes

  • April 4, 2023
  • 1 reply
  • 924 views

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.
    Best answer by mohamed.ayed

    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

    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