Posted on January 15, 2013 at 10:33I 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 equ...