AnsweredAssumed Answered

PWM input with a signal that can get stuck high or low

Question asked by Andrei Chichak on Feb 24, 2015
Latest reply on Feb 25, 2015 by Andrei Chichak
I'm using TIM1 channels 1 and 2 to resolve a PWM input. So far I have been able to get the frequency to a deci-hertz and the duty cycle to a deci-percent.

Since the input signal can, legitimately, go high or low and stay there, I will get no more interrupts to unload the timer and update the calculations.

The timer should count to 0xFFFF (counter period), but can I get it to generate an interrupt at that point so I can see where the PWM input is stuck?