This post is a comparison of various RTC chips supported by Zephyr.
We get a list of supported chips from the Zephyr build system:
- am1805
- ambiq
- ds1307
- emul
- fake
- ifx_cat1
- mc146818
- pcf8523
- pcf8563
- rpi_pico
- rv3028
- sam
- smartbond
- stm32
- numaker
- rv8263
- xmc4xxx
- nxp_irtc
Many of these are embedded RTCs inside MCU chips. Initially, we’ll focus on external RTCs. Most of the below, except for RV-3028 require a separate external crystal.
Part # | Manufacturer | Cost (100 pcs) | Interface | Accuracy | Power | Notes |
---|---|---|---|---|---|---|
AM1805 | Ambiq | $0.65 | I2C | 2 ppm | 22nA | Watchdog timer with hardware reset, 256 bytes ram, auto-calibrates internal osc from xt to achieve lower power |
DS1307 | Analog Devices | $3.23 | I2C | ??? | 300nA | |
PCF8523 | NXP | $0.82 | I2C | ??? | 150mA | |
RV-3028 | Micro Crystal | $1.91 | I2C | 1 ppm | 45nA | integrated RTC + Crystal in single module |