AnsweredAssumed Answered

STM32F4 RTC interrupts

Question asked by jasonas.matas on Sep 9, 2015
Latest reply on Sep 9, 2015 by jasonas.matas
Hello, I had a quick question is it possible to setup the RTC to trigger Alarm interrupt and Wakeup counter interrupt in the same program. This is needed because I use Standby for long sleep (~1s) and Stop mode for short sleep (6-8ms) while the external sensor is converting measurements. I was only successful of doing this only if the RTC is fully restarted, but because of that it resets the time. If I do not reset the RTC fully, I get the Alarm trigger to work only once. I tried adding all the function that I use in RTC initialization with Alarm to the main program, but still no luck.

Outcomes