2020-04-20 04:24 AM
Hi,
I am having Nucleo 476RG board.
I configure Alarm A.
HAL_RTC_AlarmAEventCallback functions is called upon occurrence of Alarm.
Now when I configure AlarmA and then enter standby mode, the board wakes up from the standby mode upon the occurrence of alarm but does not call the AlarmAEventCallback function. which means the RTC interrup handler is not called upon after the wakeup from standby mode.
without standby mode, AlarmAEventCallback is called upon each time.
with standby mode, the board wakes up every time on Alarm but does not call AlarmAEventCallback.
Could any help on the above problem.
Thanks,
Best Regards,
Hitesh
2020-04-20 04:56 AM
And RTC_Alarm_IRQHandler() gets called? What's in that function?
JW
2020-04-20 05:26 AM
Hi
HAL_RTC_AlarmAEventCallback(hrtc); function is called from
void HAL_RTC_AlarmIRQHandler(RTC_HandleTypeDef *hrtc) handler.
Hitesh
2024-09-13 05:36 AM
I have the same issue on the other board.
Where did you buy Nucleo 476RG board?
Some Chinese versions of STM32 do not support the alarm in RTC.