AnsweredAssumed Answered

Inaccurate timer synchronization problem

Question asked by Nima on Nov 18, 2015
Latest reply on Nov 18, 2015 by Nima
Hi everybody,
I need to synchronise Timer1 and timer4 to each other, in my STM32F103.
These slave timers are Triggered by Timer2 as Master timer. I even set the MSM bit of TIM2_SMCR to have better synchronization.
I use PLL clock set to 36MHz as System clock. Timers clock frequency are also 36MHz.
The prescalers of both Timer1 and Timer4 are set to 0, while their ARR are same, e.g. 1800.
As I check in debug mode, both Timer 1 and Timer4 are started at the same time but their counter values diffrent from each other. 
Can anybody help me on this problem?