Skip to main content
eric5709
Associate
March 6, 2016
Question

STM32F4 Clock Config with USB?

  • March 6, 2016
  • 1 reply
  • 1061 views
Posted on March 06, 2016 at 16:03

Hello,

When adding a USB CDC Device to my project using CubeMX I am getting an error in the clock configuration tab saying that the source of the clock has to be external? If USB is removed then there is no error. Attached is the image I am seeing. 

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    March 6, 2016
    Posted on March 06, 2016 at 16:25

    The HSI does not meet accuracy specifications required by USB and CAN, which have clocking tolerances.

    Also seem to recall you need the PLL/VCO to hit specific frequencies in the 192-432 MHz range.

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