Re: STM32F030 and RTC
Posted: Tue May 10, 2016 6:04 pm
OK, I think I have found a workaround for my needs and hopefully this can help someone else.
The missing piece of the puzzle for me was that, even though I was setting an alarm on the RTC, what I failed to do was tell the EXTI to enable channel 17 which is where the RTC Alarm line goes.
So basically, I was setting an alarm... The alarm was triggering.... But it was falling on deaf ears.
So despite no periodic interrupt, there is still the alarm interrupt which can be used to wake up these devices!
Thanks for everything
Dave
The missing piece of the puzzle for me was that, even though I was setting an alarm on the RTC, what I failed to do was tell the EXTI to enable channel 17 which is where the RTC Alarm line goes.
So basically, I was setting an alarm... The alarm was triggering.... But it was falling on deaf ears.
So despite no periodic interrupt, there is still the alarm interrupt which can be used to wake up these devices!
Thanks for everything
Dave