Skip to main content
Explorer
September 17, 2024
Solved

STM32 USB change endpoint type/protocol

  • September 17, 2024
  • 1 reply
  • 778 views

I have setup my STM32 MCU to be a USB Device with OTG FS and when I list the details of the device on my computer, I can see that the USB endpoint used for data transfer is of type Bulk. It works perfectly fine, when I use the function `CDC_Transmit_FS` to transfer strings I can receive them on my computer. But I would like to change the endpoint type to be Interrupt instead of Bulk and I cannot figure where is the code or where in the GUI of STM32CubeIDE am I suppose to do this.

    This topic has been closed for replies.
    Best answer by waclawek.jan

    > I would like to change the endpoint type to be Interrupt instead of Bulk

    That's a bad idea, and not just because there's no benefit from it, it is also against the standard's requirement:

    waclawekjan_0-1726593956094.png

    And I'd expect isochronous not to be supported on host (PC) side either.

    JW

    1 reply

    Super User
    September 17, 2024

    > I would like to change the endpoint type to be Interrupt instead of Bulk

    That's a bad idea, and not just because there's no benefit from it, it is also against the standard's requirement:

    waclawekjan_0-1726593956094.png

    And I'd expect isochronous not to be supported on host (PC) side either.

    JW