Question
Confirming something about clocks
Posted on December 15, 2014 at 16:07
Hello, I'm trying to confirm whether I understood the manual correctly.
When setting up a clock's prescaler and counter, I should use the clock of the periphery bus it's connected to, right?, so for TIM4, with APB1 working at 42Mhz (SYSCLK = 168, APB1 prescaler = 4), its base clock should be 84Mhz (because when APB1 prescaler != 1, the frecuency is doubled for clocks).