Overview of the STM32 advanced RTC AN3371 6/45 Doc ID 018624 Rev 5 1 Overview of the STM32 advanced RTC The real-time clock (RTC) embedded in STM32 microcontrollers acts as an independent BCD timer/ counter. these borad has many official example about drivers, RTOS, FS offered by ST.
Answer (1 of 3): You can use any STM32 develop kit, and if you are new at STM32, I recommend you use the develop kit which design by ST, such as nucleo series, discovery series or ev series. The device incorporates a battery input, and maintains accurate timekeeping when main power to the device is interrupted. The DS3231 is a low-cost, extremely accurate I2C real-time clock (RTC) with an integrated temperature-compensated crystal oscillator (TCXO) and crystal. By far the hardest part of the whole process is determining the actual clock frequency of your processor.
A version for the newer HAL drivers may follow later.
The code makes use of the older Standard Peripheral Drivers.
This is an example of how to use the STM32F407VG internal Real Time Clock (RTC) and Calender module with external LSE oscillator to be 32.768 kHz. It can pull upwards of 200mA while it's transmitting, and I usually measure an average of about 75mA in normal operation. 2 DT bindings documentation In deep sleep mode, the ESP8266 maintains its RTC but shuts everything else off to hit about 60 ♚. The configuration is performed using the device tree mechanism that provides a hardware description of the RTC peripheral used by the STM32 RTC Linux driver. This article explains how to configure the RTC internal peripheral when it is assigned to the Linux ® OS.In this case, it is controlled by the RTC framework.