Skip to main content
Associate II
October 16, 2023
Question

TIM1 connected to a comparator with Falling Edge event

  • October 16, 2023
  • 0 replies
  • 904 views

 

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?

This topic has been closed for replies.