AnsweredAssumed Answered

STM32f042 standby mode cannot wake up from RTC.

Question asked by jiang.peng on Jan 18, 2018
Latest reply on Jan 18, 2018 by jiang.peng

I put STM32f042 into standby mode, and enable the RTC alarm as 10 second. However, this RTC does not wake up the  STM32f042. 

I try below:

1) WKUP pin can wake up the standby mode correctly

2) If not put to standby mode, same RTC code interrupt can fire on 10 second later

3) STM32f042 RTC driver appears does not support the RTC wake up. For example, HAL_RTCEx_SetWakeUpTimer cannot be used for this MCU type

"#if defined(STM32F070xB) || defined(STM32F071xB) || defined(STM32F072xB) || defined(STM32F078xx) || defined(STM32F091xC) || defined(STM32F098xx) || defined(STM32F030xC)"

My question is if STM32f042  has the capability to wake up standby from RTC? How about stop mode?

I don't see standby has limitation to wake up from RTC for this MCU in datasheet.

How about connect the PC13(RTC alarm pin) to a WKUP pin? Does this help?

thanks a lot

Outcomes