AnsweredAssumed Answered

Input Capture Rising Edge IRQ Triggers A Update Event IRQ

Question asked by oliver on Feb 4, 2015
Latest reply on Feb 6, 2015 by oliver
Hello

I'm using the Update Event (UEV) of TIM1 to count the CNT overflows (CNT > ARR).
I'm using the capture compare IRQ of TIM1 on channel 1 to catch the rising edges of an input signal.
Now I've got a strange thing:
On each time the TIM1 captures a rising edge it triggers the capture compare interrupt and the UEV interrupt.
The input signal and the CNT overflow are not syncron so this can not be a reason.
This behaviour is not mentioned at the manual and the register description.
Has anyone an idea why this happens and if possible how  divide this two interrupts?

Thanks

Outcomes