AnsweredAssumed Answered

TIM2 interrupt behaviour

Question asked by Hakak.Farooq.001 on Mar 23, 2017
Latest reply on Mar 26, 2017 by Hakak.Farooq.001

I am using TIM2.CH2 input compare. No other interrupts are activated except TIM2.CH2. In TIM2_IRQ handler all IC bits except CH2 are set. Why?

Using STM32Discovery on IAR. I expect TIM2_IRQ to fire up on trigger from outside. It does but CH2 interrupt ic leared and all other 3 IC interrupt bits are SET. Why?

Attachments

Outcomes