2013-01-15 01:33 AM
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