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-01-04 11:19 PM
Hello @Eakyo.1 ,
Thank you for bringing this issue to our attention.
Yes you are right, the appropriate function to set USB33SV bit "HAL_PWREx_EnableVddUSB()" is missing in generated code.
I reported this issue internally.
Internal ticket number: 169024 (This is an internal tracking number and is not accessible or usable by customers).
Thank you.
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.
2023-12-29 06:35 AM
Hello,
I've been working on coding for the STM32H5 series. I attempted to configure CDC ACM (Communications Device Class, Abstract Control Model) on both the H573 and H563 models, but unfortunately, it did not work, and the USB device is not recognized. However, when I tried the H503 model with CDC ACM, it worked successfully. Do you have any information on this matter?
Best Regards,
2024-01-03 07:05 AM
Hello @Eakyo.1 ,
I recommend you to take a look to this FAQ: USB device not recognized, it may help you.
Also, I advise you to get inspired from an available example like: Ux_Device_HID_CDC_ACM.
I hope this help you!
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.
2024-01-04 09:05 PM
Hello @KDJEM.1,
Thank you for your response. Last week, while exploring the reference manual, I came across the PWR_USBSCR register and realized that it was necessary to set the USB33SV bit. I noticed that if this operation is not performed in the H563 and H573 series, the USB does not work.
In your opinion, why is this operation not performed automatically during the CubeMX to Code Generation stage?
Best regards,
Eren Akyol
2024-01-04 11:19 PM
Hello @Eakyo.1 ,
Thank you for bringing this issue to our attention.
Yes you are right, the appropriate function to set USB33SV bit "HAL_PWREx_EnableVddUSB()" is missing in generated code.
I reported this issue internally.
Internal ticket number: 169024 (This is an internal tracking number and is not accessible or usable by customers).
Thank you.
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.
2024-01-22 01:34 PM
Can you add the STM32L452 to this ticket as well?
I've been trying to track this issue down for a while now, apparently CubeXXX doesn't turn on the USB voltage for the L4 series too.
2024-01-23 12:20 AM
Hello @Andrei Chichak ,
Thanks for reporting this issue.
I reported internally the issue for STM32L4 series.
Internal ticket number: 171432 (This is an internal tracking number and is not accessible or usable by customers).
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.
2024-01-23 12:47 AM
Hi @KDJEM.1 ,
Also in H563 ( NUCLEO-H563ZI ) no working USB , need to add HAL_PWREx_EnableVddUSB().
While we're on the topic...
2024-01-23 12:54 AM - edited 2024-01-23 12:54 AM
Hi @AScha.3 ,
Yes, you are right, this issue exists when using STM32H5 MCU.
the issue has already been reported internally.
Thank you for your contribution.
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.
2024-03-22 03:20 AM
Hello @Eakyo.1 @Andrei Chichak @AScha.3 ,
The issue is fixed in STM32CubeMX 6.11.0.
Thank you for your contributions 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.