AnsweredAssumed Answered

Slowing down Timer bus frequency

Question asked by Omar Suárez on Mar 31, 2017

Hi,

 

I need to use a timer period between 2 us and 500 s, so using the timers inside an STM32F7 I calculated that slowing down the bus of the timer to 8MHz I can cover all the range with differents values for the prescaler and the load value. I would like to avoid the use of variables to count multiple overflows of the timer so that is where the idea of slowing down the bus frequency came to me.

My question is whether this is a good practice or is better to use variables to count multiple times (which I read it could be less accurate).

 

Thanks in advanced,

Omar

Outcomes