Skip to main content
Graduate
June 3, 2024
Solved

USB OTG HS STM32F407 BOARD

  • June 3, 2024
  • 2 replies
  • 1612 views

I have successfully implemented the USB_OTG_FS as host as mass storage class on the STM32F407 discovery board. Now I want to do the same with the USB_OTG_HS 

But there is no usb connector available on the discovery board 

Can anyone guide me what external components to use and also an example code for the same. 

 

    This topic has been closed for replies.
    Best answer by AScha.3

    >Now I want to do the same with the USB_OTG_HS

    Why ? It will/can do exactly the same as USB_OTG_FS .

     

    >But there is no usb connector available on the discovery board 

    Obviously ...so you have to connect a USB socket yourself.

    or something like this:

    https://www.reichelt.de/usb-pinheader-buchse-auf-usb-a-buchse-40-cm-delock-83825-p163112.html?&trstct=pos_8&nbc=1

     

    AScha3_0-1717423350615.png

    + just solder the wires to the correct pins !

    2 replies

    AScha.3Answer
    Super User
    June 3, 2024

    >Now I want to do the same with the USB_OTG_HS

    Why ? It will/can do exactly the same as USB_OTG_FS .

     

    >But there is no usb connector available on the discovery board 

    Obviously ...so you have to connect a USB socket yourself.

    or something like this:

    https://www.reichelt.de/usb-pinheader-buchse-auf-usb-a-buchse-40-cm-delock-83825-p163112.html?&trstct=pos_8&nbc=1

     

    AScha3_0-1717423350615.png

    + just solder the wires to the correct pins !

    Graduate II
    June 3, 2024

    You need to use separate hardware for USB HS.
    There is a tutorial below.

     

    https://stm32world.com/wiki/STM32_High_Speed_USB