cancel
Showing results for 
Search instead for 
Did you mean: 

Generate series of two pulses with STM32 timer

easphyx9
Associate
Posted on January 15, 2013 at 10:33

I use STM32 MCU for controlling TRIAC phase control circuit. Timer's PWMI mode currently used for capturing AC period (T) and zero-crossing error (dz). On period capture event I need to generate two pulses with equal widths: one after dz+dP delay (for positive half-wave) and second after T/2 after the first pulse (for negative half-wave). dP is the desired phase shift. Is it possible to generate these two pulses with single slave timer?

#timer-triac
0 REPLIES 0