Real-Time Clock With Battery Backup on STM32: DS3231 vs Internal RTC
The STM32 internal RTC drifts around 20 ppm. The DS3231's TCXO brings that to ±2 ppm. When that difference matters and how to implement battery-backed timekeeping.
The STM32 internal RTC drifts around 20 ppm. The DS3231's TCXO brings that to ±2 ppm. When that difference matters and how to implement battery-backed timekeeping.
Overview
This note is part of the field-notes archive generated for this site. The summary below is the published excerpt; you can expand the full write-up anytime in the CMS.
Related notes
Tags
- rtc
- stm32
- i2c
- timekeeping
- embedded
Manish Bookreader
Electronics enthusiast, Embedded Systems Expert, Linux/Networking programmer, and Software Engineer passionate about AI, electronics, books, and cooking.