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

2 REPLIES 2
Ondrej1
Associate II

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

DWA_46810
Associate II

Hello, I am a first-year graduate student at Shandong University of Technology. I am currently using l9663. Can you provide me with some example programs? Even just a function for writing data to the l9663 register will do. I want to test whether there is a problem with my board.If possible, I would really appreciate it.