cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H573 USBX CDC ACM(DEVICE)

Eakyo.1
Associate III

Hello,

I am working on device USBX cdc acm with stm32h573i-dk. I am progressing my work from the example in the attachment below.

After creating the project as in this example, I ran the software and no Com Port appeared on my computer. Also no error_handler is generated and scheduler is working correctly.

I am waiting for your help on where the error is.

Best Regards.

 

https://community.st.com/t5/stm32-mcus/how-to-implement-the-usb-device-cdc-vcom-in-stm32-using-the/ta-p/599170

11 REPLIES 11

Hello @KDJEM.1 ,

unfortunately, it looks as if it has only been partially fixed. If the Code Generator is set to "Generate peripheral initialization as a pair of '.c/'h' files per peripheral", calling "HAL_PWREx_EnableVddUSB()" during init is still missing when using the latest STM32CubeMX (6.12.1-RC4).

Hello @sebreit ,

 

This issue is already reported in this post Missing HAL_PWREx_EnableVddUSB when generating peripheral initialization as a pair of '.c/.h' files .

It will be fixed in the coming release.

I apologize for any inconvenience and thank you for your contribution in STCommunity.

 

Kaouthar

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.