cancel
Showing results for 
Search instead for 
Did you mean: 

RTC Alarms

HMaje.1
Associate III

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

2 REPLIES 2

And RTC_Alarm_IRQHandler() gets called? What's in that function?

JW

Hi

HAL_RTC_AlarmAEventCallback(hrtc); function is called from

void HAL_RTC_AlarmIRQHandler(RTC_HandleTypeDef *hrtc) handler.

Hitesh