Skip to main content
Associate II
May 10, 2024
Solved

STM32H7 USB_OTG_HS flash drive is not connecting

  • May 10, 2024
  • 2 replies
  • 1402 views

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.

This topic has been closed for replies.
Best answer by Ondrej1

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

2 replies

Ondrej1AuthorBest answer
Associate II
May 10, 2024

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

Visitor II
January 19, 2025

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.