NUCLEO-H723ZG USB CDC communication not working when using FreeRTOS
- April 16, 2024
- 1 reply
- 2399 views
Hello,
I'm trying to communicate with the USB FS CDC on my NUCLEO-H723ZG while using FreeRTOS and the device doesn't enumerate properly. I am using the current up-to-date software pack for STM32H7 -> 1.11.2
I use the CubeMX starting project with the NUCLEO-H723ZG and I only add the USB_OTG_HS as a Full Speed Device.

Then I add the middleware for the CDC using all default parameters.

If I use the project at this point, the USB communication with the virtual comm port works flawlessly. However, it stops working when I add the middleware FreeRTOS with its default parameters

In Windows 11 Device Manager, I am getting the error were the USB descriptor failed (Code 43)

Is there a configuration I am missing ? I would have expected the USB CDC driver to work right out of the box with FreeRTOS at this point...
I have added the .ioc used to generate the projet as well as the main with the code to send an Hello_world message to the virtual com port. The only hardware required is the NUCLEO-H723ZG with 2 USB cables.
