DS3232 real-time clock connection guide
DS3232 real-time clock (SO-20 · 300 mil) connection guide. Read the clock with battery backup. Use INT/SQW without battery backup.
SO-20 · 300 mil
20 contacts Current packageDevice variants · SO-20 · 300 mil
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. This example connects SCL pins 18 and 20 to the same clock net. Either pin may be left open. 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 DS3232 Rev. 5, pp. 1–4, 9–11 and 13–14.
SO-20 · 300 mil wiring map
1 · NC
No internal signal connection. Connect each NC lead externally to GND.
Wiring requirements
Connect every NC lead and the host return to the RTC ground net.
Manufacturer documents
This map covers the 20-lead wide SO package. Pins 18 and 20 both carry SCL.
- DS3232 manufacturer documentation· Analog Devices / Maxim DS3232 Rev. 5, pp. 1–4, 9–11 and 13–14.
- Local datasheet provenance· Manufacturer URLs, mirror origins and SHA-256 checksums.
