2025-07-23 6:03 AM
Hi,
I have configured My RTC with LSE of 32.768Khz for STM32G0B1CETx
And In NVIC Setting RTC & TAMP interrupts are enabled..
All these are done using Cube Mx
After HAL_RTC_Init() call from main; RTC_TAMP_IRQHandler is getting called continuously.
Time and alarm is configured after HAL_RTC_Init(). which is not even called.
Any inputs could be helpful.
Thank you
Suraj Prem
2025-07-23 6:07 AM - edited 2025-07-23 6:07 AM
Set a breakpoint in RTC_TAMP_IRQHandler. Examine the state of the RTC and TAMP to determine why it has called.
Note that these stay configured when the chip is reset, as long as power is not lost.