cancel
Showing results for 
Search instead for 
Did you mean: 

Clock configuration for timers

TechyAry
Associate III

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

Capture.PNG

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? 

3 REPLIES 3
mƎALLEm
ST Employee

Hello,

All seem ok as soon as there was no Error/warning indicated by CubeMX

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Imen.D
ST Employee

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:

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
KnarfB
Super User

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