Page 1 of 1

Are different channels of the same timer synchronized in nature?

Posted: Sun Jun 26, 2022 1:32 am
by bittware
Are different channels of the same timer synchronized in nature?
Say on pyboard, PB0 and PB1 correspond to TIM3_CH3 and TIM3_CH4 respectively.
If I ever set CH3 and CH4 with different PWM duty cycle and have PB0 and PB1 PWM outputs hooked to oscilloscope, are these two signals synchronized (i.e. rising edges aligned) in nature?

Re: Are different channels of the same timer synchronized in nature?

Posted: Sun Jun 26, 2022 5:59 pm
by dhylands
Yes - different channels of the same timer are synchronized. Some of the timers also support "center-aligned mode" where the centers of the two pulse will be aligned rather than the leading edge.

Re: Are different channels of the same timer synchronized in nature?

Posted: Mon Jun 27, 2022 12:57 pm
by bittware
dhylands wrote:
Sun Jun 26, 2022 5:59 pm
Yes - different channels of the same timer are synchronized. Some of the timers also support "center-aligned mode" where the centers of the two pulse will be aligned rather than the leading edge.
That's awesome. Thank you dhylands!