Hi I would like to use a COMP to do the following: 1) clear the output of a PWM (TIM2) 2) keep the original off time .
ie: due to 1st request: dont finish a full PWM cycle, but make the PWM think that the cycle will end at the time that OUT was forced to low+ duty low time (shortening the cycle time).1st request was easy: I've connected COMP to TIM2_ETR.2nd request...