STM32H743IIKx CubeMX 6.0.1 USB_OTG_HS Bug report
Hello, I would like to report an issue with CubeMX configuration and code generation for USB_OTG_HS when interfacing a PHY on a custom board in Device Mode .
The problem stems from the Maximum GPIO speed setting on all pins in CubeMX can only be set to "High".
We were unable to enumerate the USB device and spent quite amount of time debugging this issue.
Manually changing the
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH in
USB_DEVICE/Target/usbd_conf.c solved the issue.
Also remember to change this whenever generating code with cubeMX as this will get overwritten.
Hope this may help others :o)
