cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 USB_OTG_HS flash drive is not connecting

Ondrej1
Associate II

Hello,

I want to develop logger with flash drive and STM32H753 (NUCLEO-H753) using STM32Cube. I started to develop this application with USB_OTG_FS (which is soldered on this board) - successfully completed. Then I wanted to change to USB_OTG_HS. This peripheral is not soldered on the nucleo, so I made my own connector (according to the nucleo connection - USB A connector with ESD protection) and connect it with the nucleo. 

 

If I run the firmware (generated by stm32cube)it still calls the USBH_UserProcess callback when the USB drive is connected. The id value changes between HOST_USER_CONNECTION and HOST_USER_UNRECOVERED_ERROR (HOST_USER_CONNECTION, HOST_USER_UNRECOVERED_ERROR, HOST_USER_CONNECTION... and so on).

 

Does anyone know how to fix this issue?

Thank you for your response.

1 ACCEPTED SOLUTION

Accepted Solutions
Ondrej1
Associate II

This happens when the D+ and D- pins are swapped.

View solution in original post

1 REPLY 1
Ondrej1
Associate II

This happens when the D+ and D- pins are swapped.