Resolved! How to disable PWM output properly?
Hello,My timer PWM channel is connected directly to a mosfet driver. By using TIM_Cmd(TIM2, DISABLE);it puts the output at high level. I tried to use TIM_DeInit(TIM2); but it generates an additional pulse in the output ( I count the each PWM pulse in...