Spark Logic

DS3232 real-time clock pinout

The DS3232 integrates a temperature-compensated crystal oscillator, two alarms, and 236 bytes of battery-backed SRAM.

SO-20 · 300 mil

20 contacts Current package

Analog Devices / Maxim Integrated ·

0 to +70 °C.

SO-20 · 300 mil pinout

Top view. Start at the package pin-1 index and follow the numbered leads.
Selected pin details

17 · SDA

Bidirectional · Bidirectional

Open-drain I²C data. The bus needs a pull-up to its logic rail.

Analog Devices / Maxim DS3232 datasheet, electrical characteristics, pin description, and typical operating circuit.

Electrical limits · Link to this pin

All 20 pins

PinSignalDirectionFunction
1NC Tie to groundTie to ground No internal signal connection. The manufacturer requires a ground connection.
2NC Tie to groundTie to ground No internal signal connection. The manufacturer requires a ground connection.
332kHz Push-pull outputPush-pull output 32.768 kHz output. Driven low when disabled.
4VCC Supply inputSupply input Primary device supply. Place the bypass capacitor close to this pin.
5INT/SQW Open drainOpen drain Alarm interrupt or programmable square wave. Add a pull-up when used.
6RST BidirectionalBidirectional Active-low reset status and debounced pushbutton input, with internal pull-up.
7NC Tie to groundTie to ground No internal signal connection. The manufacturer requires a ground connection.
8NC Tie to groundTie to ground No internal signal connection. The manufacturer requires a ground connection.
9NC Tie to groundTie to ground No internal signal connection. The manufacturer requires a ground connection.
10NC Tie to groundTie to ground No internal signal connection. The manufacturer requires a ground connection.
11NC Tie to groundTie to ground No internal signal connection. The manufacturer requires a ground connection.
12NC Tie to groundTie to ground No internal signal connection. The manufacturer requires a ground connection.
13NC Tie to groundTie to ground No internal signal connection. The manufacturer requires a ground connection.
14NC Tie to groundTie to ground No internal signal connection. The manufacturer requires a ground connection.
15GND Supply returnSupply return Connect to the common ground plane or bench return.
16VBAT Supply inputSupply input Backup supply input. Ground it when no backup source is used.
17SDA BidirectionalBidirectional Open-drain I²C data. The bus needs a pull-up to its logic rail.
18SCL InputInput I²C clock. Connect to the host clock line with its bus pull-up.
19NC Tie to groundTie to ground No internal signal connection. The manufacturer requires a ground connection.
20SCL InputInput I²C clock. Connect to the host clock line with its bus pull-up.

Signal assignments

I²C

7-bit address 0x68, up to 400 kHz. Use consecutive reads to retrieve the buffered calendar fields.

Alarm / square wave

Use a pull-up and program INTCN in the control register to select alarms or square wave.

Electrical limits

ParameterLimitConditions and source
Main supply2.3–5.5 V2.3–5.5 V Verify main power versus the power-fail threshold when using a backup cell. Analog Devices / Maxim DS3232 datasheet, electrical characteristics, pin description, and typical operating circuit.
Backup supply2.3–5.5 V2.3–5.5 V A 3 V primary lithium cell is suitable for the bare IC. Analog Devices / Maxim DS3232 datasheet, electrical characteristics, pin description, and typical operating circuit.
Oscillator accuracy±2 ppm±2 ppm 0 to +40 °C. Consult the part grade and temperature conditions for wider ranges. Analog Devices / Maxim DS3232 datasheet, electrical characteristics, pin description, and typical operating circuit.
I²C speed400 kHz maximum400 kHz maximum Size the pull-ups for bus capacitance and logic thresholds. Analog Devices / Maxim DS3232 datasheet, electrical characteristics, pin description, and typical operating circuit.

Models and documents

This map covers the 20-lead wide SO package. Pins 18 and 20 both carry SCL. Connect either one or both to the same net.

DS3232S#
0 to +70 °C.
DS3232SN#
−40 to +85 °C.