Is it possible to use RTC wakeup interrupt without Low Power?
Hi,
I'm using Nucleo-l476RG and try to get an Interrupt with RTC accuarcy every second.
My plan is to use the RTC WakeUp in Internal WakeUp mode with "RTC wake-up interrupt through EXTI line 20"
However the problem is that the interrupt is fireing only once and then the WUTF in the RTC_ISR cannot be reset.
I'm using the cubemx generated code and implement the interrupt with the following code:
void HAL_RTCEx_WakeUpTimerEventCallback(RTC_HandleTypeDef *hrtc)
{
HAL_Delay(1);
}and activate the time with the following:
HAL_RTCEx_SetWakeUpTimer_IT(&hrtc, 10, RTC_WAKEUPCLOCK_CK_SPRE_16BITS);What am I missing?
Regards
