2011-02-24 07:28 AM
RTC IRQ not working
2011-05-17 05:25 AM
Any idea what is missing?
Well two obvious problems here are that you aren't handling the exit from STANDBY at all, and that the RTC Second interrupt will not bring you out of STANDBY. There are probably others, but these seem pretty fundamental. I'd suggest you look at the RM0008 STM32 Reference Manual, and then look at the ST library code examples (V2.x within Keil or IAR). Specifically \Examples\ST\STM32F10xFWLib\Examples\PWR\STANDBY A side effect of you stripping down the code is that it probably initializes and enters STANDBY in well under a second, so you wouldn't see an 1 Hz interrupt.2011-05-17 05:25 AM