← AXO-018

Circuit review & bench-test guide

AXO-018 — DS3231 RTC + coin cell PMOD module

Design-stage — board not yet fabricated

Document purpose#

Component-level explanation and bench-test plan for axo-018-rtc, from generate_design.py, the module README.md, and the Analog Devices DS3231MZ datasheet. Never fabricated; values are verification targets.

1. What the board does#

A battery-backed real-time clock on I2C, with a coin cell for timekeeping through host power loss. It teaches BCD time registers, alarms, and battery-backed state. The MZ variant is the MEMS-resonator part (±5 ppm), a documented substitution for the catalog's TCXO SN (±2 ppm).

PMOD J1  SCL/SDA (3/4, JP1/JP2 pull-ups) ─> U1 DS3231MZ (addr 0x68)
         INT/SQW (1, 10k PU + 100R) ; 32kHz (2, 10k PU + 100R)
         CR2032 coin cell ─> U1 VBAT

2. Safety and scope boundaries#

4. Interfaces#

5. Component-by-component review#

6. Datasheet summary (DS3231MZ)#

7. Expected values before bench testing#

8. Manual review checklist#

9. Ordered bench-test procedure#

A. Unpowered: verify pull-ups, INT/32kHz networks, cell-holder polarity; no rail short. Insert a fresh CR2032, confirm ~3 V at VBAT.

B. Power, idle: 3.3 V. Bus idle-high; ACK at 0x68.

C. Status/OSF: read 0x0F; expect OSF=1 on a never-set part. Set the time (write 0x00–0x06 in BCD), then clear OSF.

D. Timekeeping: read time twice a minute apart; confirm it advances correctly in BCD.

E. 32kHz + SQW: enable the 32kHz output (status bit3); scope pin 2 → 32.768 kHz. Set Control for 1 Hz SQW; scope INT/SQW → 1 Hz.

F. Battery switchover: with time set, remove 3.3 V for ~30 s, restore; read time — it should have advanced (ran on the cell) and OSF stays 0. If OSF sets, the cell/holder is bad.

10. Troubleshooting map#

11. Bench record template#

Board: axo-018  ACK 0x68: [ ]  VBAT: __ V
OSF initial: __  time set + OSF cleared: [ ]
32kHz on pin 2: [ ]  1Hz SQW on INT: [ ]
Battery-hold survives power cycle (OSF stays 0): [ ]
Notes:

12. Review conclusion#

The distinctive test is the battery-switchover: pull host power, restore, and confirm time advanced with OSF still 0 — that proves the cell path. The MZ ±5 ppm accuracy is a documented substitution from the ±2 ppm SN; both are BCD DS3231s to the driver. INT/SQW and 32kHz are open-drain, so their pull-ups are load-bearing.