Skip to main content
Associate
August 15, 2024
Question

STM32CubeMX configure STM32H7R3L8H6H USB HS Device function error

  • August 15, 2024
  • 1 reply
  • 1261 views

STM32CubeMX and STM32Cube_FW_H7RS_V1.1.0 has some issue, when I configure USB HS Device, the code mix some functions, such as GPIO config code etc, when I add the GPIO config it can't work either.

when the issue could be fixed??

 

avchd_0-1723717140424.png

avchd_1-1723717167112.png

avchd_2-1723717296000.png

 

 

 

This topic has been closed for replies.

1 reply

ST Technical Moderator
August 29, 2024

Hello @avchd,

You mean GPIO configurations code for USB_OTG_HS_DM and USB_OTG_HS_DP!  This is not a bug.

GPIO configs for USB_OTG_HS_DM and USB_OTG_HS_DP are not required as they are Alternate function.

Try adding other USB pin and you will see that the GPIO config code is generated.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks