Skip to main content
ThiZi
Associate
July 25, 2018
Question

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

  • July 25, 2018
  • 2 replies
  • 595 views

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

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    August 8, 2018

    Bumping off my feed

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    HE1
    Visitor II
    March 4, 2019

    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