Question
CubeMx RTC Timeout does not trigger ISR
Posted on November 28, 2015 at 18:00
Hello all,
I made a new project with latests CubeMx 1.9 for stm32f4 My problem is that the autogenerated code does not trigger the ISR. I found out that when I__HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(&hrtc, RTC_FLAG_WUTF);
just before HAL_RTCEx_SetWakeUpTimer_IT(&hrtc, 1000, RTC_WAKEUPCLOCK_RTCCLK_DIV16); in the MX_RTC_Init() function, then it works as ecpected. Seems that WUTF flag unintentional set and that will block any further timouts to not activate the ISR. Bug or feature? I would call it bug. Regards, Adib. #!stm32-!cubemx-!rtc-!timeout