PWM Up count vs center aligned - wrong frequency
Hi ! Stm32f103 TIM3
Counting: UP
Clock 72Mhz
Prescaler: 36-1
Period: 10-1
Pulse : 5
Result: 200khz 50% duty, ok !
But
Counting: center aligned
Clock 72Mhz
Prescaler: 18-1
Period: 10-1
Pulse : 5
Result: 222khz 50% duty
Why? Schould be 200khz also.
Checked with multimeter, confirmed with scope.
