cancel
Showing results for 
Search instead for 
Did you mean: 

How to Get USBX Example to Work on STM32U575 Nucleo Board?

khalid95
Associate II

I am working with the STM32U575 Nucleo board and trying to get the USB functionality working using one of the provided example projects "Ux_Device_CDC_ACM". I uploaded the code to the board with no problem and the USB-C is recognized by the host PC, however, I am having trouble getting it to run as expected.
Could someone guide me on:

  • Any additional configurations needed in CubeMX or CubeIDE?
  • Common issues to check for USB-related examples?
  • How to verify if the USB peripheral is properly initialized and?


I’d appreciate any advice or resources to help troubleshoot this.
Thank you!

4 REPLIES 4
Imen.D
ST Employee

Hello @khalid95 ,

Followed this article and video that may help you on USBX implementation:

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

Hi, thanks for answering
i viewed both of them but none explain the USB_OTG in STM32U5

Did you follow the steps and usage hints in the readme file?

STM32CubeU5/Projects/NUCLEO-U575ZI-Q/Applications/USBX/Ux_Device_CDC_ACM/README.md at main · STMicroelectronics/STM32CubeU5 · GitHub

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

Yes i did