2025-07-17 2:04 AM - last edited on 2025-07-17 2:14 AM by Andrew Neil
After doing some primary embedded projects (LED, user button etc) on my MCU (Nucleo-64 STM32 F411RE) I'm now dealing with timers. Here's my clock configurations
1- Does anything look wrong?
2- While my clock rate is 100 MHZ (as written on my board pack), should I change that 84 (in the HCLK (MHz) field) to 100 in the configuration?
2025-07-17 2:13 AM - edited 2025-07-17 2:14 AM
Hello,
All seem ok as soon as there was no Error/warning indicated by CubeMX
2025-07-17 2:27 AM
Hello @TechyAry ,
The following articles introduced the basics of the STM32 clock system and help you on the configuration with example code generated by the STM32CubeMX:
2025-07-17 2:28 AM
You don't have to change that, but you can if you are in need for more cycles or special frequencies.
@mƎALLEm I never figured out why the initial clock settings are as they are, also for other series.
KnarfB