2021-12-29 09:19 AM
2021-12-29 12:41 PM
Sounds like it’s stuck in an IRQ handler. Make sure flags are cleared appropriately. Debug your code. Hit pause. See where it’s at.
2021-12-29 01:52 PM
Do you have an ST/Link ? Relatively inexpensive. Highly recommended.
Dana K6JQ
2021-12-29 03:17 PM
how is it stuck inside IRQ handler? I have printed some logs and It doesn't get out from this HAL_NVIC_EnableIRQ(RTC_WKUP_IRQn)
2021-12-29 03:18 PM
yes I have it
2021-12-29 03:28 PM
Have you tried running under the debugger, then halting to see what the MCU is doing when it's stuck?
2021-12-29 03:36 PM
I didn't try the debugger but I had logs printed to check where it gets stuck
2021-12-29 03:52 PM
Use the power tool (debugger) and see if the RTC_WKUP_IRQn handler is storming (repeatedly being called).
2021-12-29 04:13 PM
2023-04-04 08:22 AM
Hi @EKame.1 ,
Any update for aforementioned issue ? even I faced same issue [https://community.st.com/s/question/0D53W00002DAe0dSAD/stm32wl-rtc-hangs]
Thanks in Advance.