AnsweredAssumed Answered

STM32f10x Clear IT Pending Bit manually

Question asked by Bhatnagar.Ankit.001 on Feb 13, 2016
Latest reply on Feb 15, 2016 by Bhatnagar.Ankit.001

I recently faced this issue where my interrupt handler for RTC was firing continuously instead of once every second as I thought.

Looking at the STM32 RTC example, I noticed that within the IRQ handler they were manually clearing RTC_IT_SEC. Why is the need for that ?

Coming from an AVR background, I am used to the interrupt flag being automatically cleared when IRQ handler executes.

Also is this something specific to RTC or all the peripherals?