AnsweredAssumed Answered

Generate series of two pulses with STM32 timer

Question asked by zagidullin.eugene on Jan 15, 2013
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?

Outcomes