cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO F722ZE CubeMX CDC USB not enumerating ? Try this ...

ThiZi
Associate

Hi,

I just want to give a short workaround for an issue i had with the NUCLEO F722ZE board.

The CUBE-MX project (NUCLEO F722ZE selected - no custom build) does not work out of the box for CDC devices. In order to fix it i changed the default CUBE-MX project:

[CLOCK Configuration]

  • input frequency (HSE) = 8 MHz (25 MHz oscilator (X3) is not mounted )

[Pinout ]

  • in RCC Bypass clock source

In the source code i changed the usb descriptor (usbd_desc.c)

  • bDeviceSubClass from 0x2 to 0x0

kind regards

2 REPLIES 2

Bumping off my feed

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
HE1
Associate

Hi

My workaround is connecting HSI RC instead (in STM32CubeMX' Clock Configuration) then try to resolve the conflicts manually, Ignoring the error that says HSE should be used. I'm no expert but I can see why yours is much easier.

Thanks