STM32F446 as USB Composite Device

Sysprogs forums Forums VisualGDB STM32F446 as USB Composite Device

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9128
    buda
    Participant

     

    Hi,

    I am trying to create composite USB from STM32f446 (Nucleo board). I started from USB_CDC example, but got stuck when I had to add more configuration descriptors, because I don’t see how to register more than one class:

     

    USBD_Init(&USBD_Device, &COMPOSITE_Desc, 0);
    USBD_RegisterClass(&USBD_Device, &USBD_CDC);
    USBD_CDC_RegisterInterface(&USBD_Device, &USBD_CDC_SIT_V2_fops);
    USBD_Start(&USBD_Device);

    I would appreciate any advice on this matter. Thanks!

    #9139
    support
    Keymaster

    Hi,

    From a quick look it looks like the ST USB library only supports one device class at a time. We would recommend double-checking this on ST forums. If this is confirmed, please consider using third-party USB device stacks.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.