DS3231 real-time clock connection guide
DS3231 real-time clock (SO-16 · 300 mil) connection guide. Read the clock with battery backup. Use INT/SQW without battery backup.
SO-16 · 300 mil
16 contacts Current packageDevice variants · SO-16 · 300 mil
| Device | Details |
|---|---|
| DS3231S# | 0 to +70 °C. |
| DS3231SN# | −40 to +85 °C. |
Connection scenarios
Use INT/SQW without battery backup
Remove the backup cell before grounding VBAT. Ground all NC leads and leave 32kHz and RST open. Connect SDA and SCL to separate host lines. Give each line its own pull-up to a host-compatible rail (5.5 V max). Choose resistance for bus capacitance, rise time and sink current. Pull INT/SQW up to a host-compatible rail (5.5 V max) when used. Set INTCN = 1 and enable the desired alarm, or set INTCN = 0 and select the square-wave frequency with RS2:RS1.
- +3.3 V
- Host 3.3 V
- C1.1
- R3.1
- R1.1
- R2.1
- Ground
- Host ground
- C1.2
- I²C data
- ↔
- Host SDA
- R1.2
- I²C clock
- →
- Host SCL
- R2.2
- Alarm / square wave
- →
- Host input
- R3.2
Bench checks
- Find 0x68 and read the clock with main power on.
- For a 1 Hz output, set INTCN = 0 and RS2:RS1 = 00 in control register 0x0E.
- To test an alarm, clear its flag in 0x0F, set INTCN and its corresponding enable bit, then verify that the output goes low on a match.
Analog Devices / Maxim DS3231 Rev. 10, pp. 1–4, 9–11 and 13–14.
SO-16 · 300 mil wiring map
1 · 32kHz
Optional 32.768 kHz clock output.
Wiring requirements
Add an external pull-up when using this open-drain output. Set EN32kHz = 1 to enable the clock on either supply. The pin is high impedance when disabled.
Manufacturer documents
This map covers the quartz-based DS3231 in a 16-lead wide SO package. Verify the separate DS3231M MEMS datasheet for an M suffix.
- DS3231 manufacturer documentation· Analog Devices / Maxim DS3231 Rev. 10, pp. 1–4, 9–11 and 13–14.
- Local datasheet provenance· Manufacturer URLs, mirror origins and SHA-256 checksums.
