cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX configure STM32H7R3L8H6H USB HS Device function error

avchd
Associate

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

 

 

 

1 REPLY 1
Imen.D
ST Employee

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.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen