2018-09-26 04:55 AM
2018-09-26 05:31 AM
That function probably disables the PWM through clearing TIMx_CCER.CCyE, which threestates the output.
Change mode from PWM to one of the Forced in repective TIMx_CCMRz.OCyM.
I don't Cube/HAL.
JW
2019-04-10 04:20 AM
I know that if you put duty = 0 with the HAL function, the stop is immediate. I haven't tried any other method at all. It seems waclwek.jan is right and the output remains in three-state for a while.