2022-02-02 06:36 AM
Hi.
is it possible to create such a two channel pwm with any timer?
(in output compare mode the falling edge of the first channel overlaps on rising edge of the second channel overlaps, but its not good for my purpose)
thanks.
2022-02-02 06:42 AM
There is a "combined PWM mode" for newer chip series which was recently discussed here.
hth
KnarfB
2022-02-02 01:12 PM
Yes, use PWM center-aligned mode.
2022-02-02 11:26 PM
Sorry, but I don't see center alignment in the above diagram. Combined mode is something different.
2022-02-03 12:01 AM
> Sorry, but I don't see center alignment in the above diagram.
This
and the two channels in different PWM mode (or one of them inverted by TIMx_CCER.CCxP)
Of course, you can always run two timers synchronized using master-slave connection, even in STM32 which don't have Combined mode in TIM.
JW
2023-11-10 01:34 AM
can you plz tell me that how will i do this