Skip to main content
Visitor II
January 27, 2022
Question

Needing help customizing the USB setup on STM32H750 to connect as a "Generic Bulk Device" under the "Universal Serial Bus devices" in the Device Manager.

  • January 27, 2022
  • 1 reply
  • 1673 views

Switched from another processor to the STM32H750 on updated boards, and trying to keep the PC communication the same so it is seamless (or as seamless as can be) for the user experience. Previous boards connected up to Windows as a Generic Bulk Device under the Universal Serial Bus devices in Windows Device Manager. We could then send and receive any number bytes between the Board and the Windows application with no added header like you get when functioning as a HID. Are there any USB reference guides/examples to go off of to get here or that would help point me in the right direction?

The "STM32 STLink" actually connects up how I am trying to get the USB on my board to function if that helps:

0693W00000JNcQEQA1.pngThanks in advance,

John

    This topic has been closed for replies.

    1 reply

    Super User
    January 28, 2022
    JColl.6Author
    Visitor II
    January 31, 2022

    Thank you, Pavel.

    This definitely seems like the right path! I was hoping to do this without needing to become too versed in the USB Configuration and Driver aspects of things (a more concrete example), but it seems like I'll need to do some digging and testing in order to understand what all I need to change and to get this to work correctly.

    Super User
    February 1, 2022

    @JColl.6​ Maybe you simply use a wrong USB connector of the board? If it shows "STLink" in device manager, this is the ST-Link connector. All one can get from it is the virtual COM port provided by ST-LINK (some UART on the STM32 side).

    If you want STM32 to act as a native USB device, there should be a second USB connector on the board. If there's no second connector, make your own.