STMCubeIDE STM32u5a9j-dk, generated code does not bring up USB when set to device.
Hi Guys,
In STM32CubeIDE I start a new project for this board, I leave everything in the ioc unchanged and generate the code.
The call to MX_USB_OTG_HS_HCD_Init() works correctly.
I now change in the ioc: USB_OTG_HS Internal HS Phy from host_only to device_only and regenerate the code.
Now the call to MX_USB_OTG_HS_PCD_Init() ends up in the Error_Handler(), this is caused by a timeout in USB_CoreReset().
Does anyone have any ideas why this might be?
Many thanks
Andy
