Page 1 of 1

Different start time of two channel on the same TIMER

Posted: Sun Aug 23, 2015 5:10 pm
by jevan
Hello,
Is it possible to set two channel (i.e. 0 and 1) in the same TIMER, when i need to start the channel1 earlier before the 50%of the duty cycle ends of channel0?
https://drive.google.com/file/d/0B1quj8sV3XPweU9lbmpKekJEdEk/view?usp=sharing

Is there any way to achieve this.
Thanks
BR,
jevan

Re: Different start time of two channel on the same TIMER

Posted: Sun Aug 23, 2015 5:27 pm
by Giovanni
Hi,

All PWM channels are synchronized on the activation front. What you need could be achieved (not sure) using multiple timers in a master/slave configuration but the driver does not support this.

See the TIM documentation on the STM32 Reference Manual.

Giovanni

Re: Different start time of two channel on the same TIMER

Posted: Wed Aug 26, 2015 2:56 pm
by jevan
Thanks Giovanni