2023-12-26 10:01 AM - edited 2023-12-27 01:19 AM
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.
Solved! Go to Solution.
2024-10-18 04:50 AM
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).
2024-10-18 05:30 AM
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.