The microcontrollers of the STM32L0 Series, STM32L1 Series, STM32L4 Series, STM32F0 Series, STM32F2 Series, STM32F3 Series, STM32F4 Series and STM32F7 Series feature a real-time clock (RTC) peripheral designed to allow the STM32 MCUs to operate with minimum power requirements.

The X-CUBE-RTC application aims to demonstrate how to fully exploit the RTC advantages, thus extending the battery life of the product.

For more details refer to the application note Using the hardware real-time clock (RTC) in low-power modes with STM32 microcontrollers (AN4759).