Skip to main content
Associate II
June 3, 2024
Solved

USB OTG HS STM32F407 BOARD

  • June 3, 2024
  • 2 replies
  • 1613 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. 

 

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.3
AScha.3Best answer
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 !

"If you feel a post has answered your question, please click ""Accept as Solution""."
Muhammed Güler
Senior III
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