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
Different start time of two channel on the same TIMER
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: Different start time of two channel on the same TIMER
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
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