cancel
Showing results for 
Search instead for 
Did you mean: 

TIM1 connected to a comparator with Falling Edge event

bolurian
Associate II

 

We are trying to configure TIM1 and an internal comparator to turn-off the TIM1 complimentary PWM outputs on a falling edge event and generate a TIM1 break interrupt.

I was successful to do this with a comparator with Rising Edge event.

But when TIM1 connected to a comparator with Falling Edge event, I just get the break interrupt fired prematurely!!

 

How should I configure the TIM1 break? Either through Cube-MX or by code?

0 REPLIES 0