Skip to main content
ZeroOne
Associate II
September 14, 2022
Solved

Newcomer questions~Why the "SystemCoreClock" is 16000000Hz ?

  • September 14, 2022
  • 1 reply
  • 1336 views

I used Cubemx to configured the system clock to 180MHz. Why is the system clock in the generated project code...... 6 zeros...... 16MHz:grinning_face_with_sweat:? Can I change 16MHz to 180MHz?It simply changes the number after "SystemCoreClock" to 180000000?

0693W00000SvLKIQA3.png

This topic has been closed for replies.
Best answer by Tesla DeLorean

MCU starts from an internal clock, when you get the external clocks and PLL running the value will be adjusted.​

1 reply

Tesla DeLorean
Guru
September 14, 2022

MCU starts from an internal clock, when you get the external clocks and PLL running the value will be adjusted.​

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