AnsweredAssumed Answered

Proper way to turn off PWM channel

Question asked by Lukasz Przenioslo on Sep 27, 2016
Latest reply on Sep 28, 2016 by markt
Hello there,
I am using STM32F4 to drive a 3 phase BLDC motor. With this motor when using block driving (or trapezoidal), one of the 3 outputs should always float. What registers should be set exacly in order to turn off one of the 3 PWM channels? Now, I am setting an appropriate bit in the DIER register (TIM1 or 8) ie. CC1IE, CC2IE or CC3IE. Doing this doesnt seem to turn off the pwm generation synchronously. I need both outputs (main and complementary) to output low state at the very same time in sync with the main timer. Is that possible?