STM32G070 Internal RTC Wake Up Interrupt hangs. After few iterations rtc wake up interrupt is hangs. Help will be appreciated.
if(low_power_mode == 1) { standby(10); HAL_RTCEx_DeactivateWakeUpTimer(&hrtc); }void standby(int seconds) { /* Clear all related wakeup flags*/ __HAL_PWR_CLEAR_FLAG(PWR_FLAG_WUF2); rtc_set_wake_up_timer_s(seconds); HAL_PWR_Enter...