2010-10-28 11:42 PM
STM32F103VC strange timer2 behaviour
2011-05-17 05:13 AM
Hi richard,
It is a matter of prescaler: at low values of prescaler accuracy is better than high prescaler values. MCU Lüfter2011-05-17 05:13 AM
Always subtract 1 from the calculated values because the timer starts counting at 0. Same applies to the prescaler (as far as I remember). So 149 and 29 in your last example should give the correct interval.