rtc compare interrupt and hibernate mode

1 post / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


I'm working with a SAD51N20 with a custom board. The RTC work with the ultra low power internal oscillator. The rtc is configured to work in mode 0.

I have initialized the rtc and one compare alarm.

Everything work properly in run-mode, idle and stand by.

when the time reach the alarm the interrupt is asserted  i the application is in stand by or idle the application is waked up.

If I put the application in hibernate when the compare value is reached the application reset.

I have read the user manual and it seams that rtc have to work also in hibernate mode 

Can you give me any sudgestion?