2022-02-28 06:20 AM
I have used STM32CubeIDE to generate init code based on the STM32F723E-DISCO board. I have tried configurations with both FS and HS PHYs enabled and just the HS PHY, both times in Device Only mode
In each case when the HS USB is initialized (MX_USB_OTG_HS_PCD_Init), USB_CoreReset in USB_CoreInit returns HAL_TIMEOUT waiting for USB_OTG_GRSTCTL_AHBIDL. If I use only the FS (USB_OTG_FS) peripheral, everything works as expected.
Any advice for debugging?
2022-02-28 09:31 AM
Disable the ULPI clock?
Add a small delay before reset?