STM32U5G9J-DK2 USB CDC-ACM Stuck in USB Core Reset
Issue: I am working with the STM32U5G9J-DK2 board using USB CDC-ACM in device mode, generated using CubeMX. However, I am encountering an issue where the application USB port is not recognized in the Device Manager. Only the ST-LINK Virtual COM Port appears, and there is no additional COM port for the USB CDC device.
What I Have Tried:
I generated the project using CubeMX and made sure to configure USB_OTG_HS in CDC-ACM mode.
After generating the code, I followed the standard procedure and used the example code from the following link: https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/STM32U5G9J-DK2
When I run the code, it gets stuck in the USB core reset function (USB_CoreReset();).
I am providing power through the application USB port, but it still does not appear in the Device Manager.
Questions:
Do I need to short any specific pin or connection on the STM32U5G9J-DK2 board to enable the application USB port for detection?
Could this issue be related to the hardware configuration or the initialization sequence in the CubeMX-generated code?
Is there any additional modification needed in the usb files to resolve this issue?
Additional Information:
I have already enabled the crystal/ceramic resonator for RCC in CubeMX.
Any help or guidance would be greatly appreciated!


