AnsweredAssumed Answered

RTC not running in Stop Mode

Question asked by merck.christopher on Aug 5, 2014
Latest reply on Aug 5, 2014 by merck.christopher
Using an STM32F103, I want to wake from Stop mode by RTC alarm after 5 seconds.
I have set EXTI on UART_RX and #17 for RTC.

Here is what I know:
  • I can put the MCU into Stop mode (via WFI).
  • I can wake from Stop via UART_RX EXTI.
  • I can configure RTC for LSI, and it counts up in Run mode.
  • I see 5sec RTC alarm triggers EXTI_17 in Run mode.
However, when MCU is in Stop mode, it appears that the RTC counter doesn't advance at all. After Stop for 10sec, the RTC time is only 1sec later than when we entered Stop mode.

It seems I'm missing something like "Enable RTC clock in Stop Mode".

Can anyone give me a tip?