I²C
7-bit address 0x68. Standard mode up to 100 kHz or Fast mode up to 400 kHz. I²C is accessible with either supply valid and the host bus powered. Complete transfers without holding SCL low for 25 ms (minimum interface timeout).
The DS3232 integrates a temperature-compensated crystal oscillator, two alarms, and 236 bytes of battery-backed SRAM.
No internal signal connection. Connect each NC lead externally to GND.
Connect every NC lead and the host return to the RTC ground net.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | NC Tie to ground | Tie to ground | No internal signal connection. Connect each NC lead externally to GND. |
| 2 | NC Tie to ground | Tie to ground | No internal signal connection. Connect each NC lead externally to GND. |
| 3 | 32kHz Push-pull output | Push-pull output | Optional 32.768 kHz clock output. |
| 4 | VCC Supply input | Supply input | Primary device supply. |
| 5 | INT/SQW Open drain | Open drain | Alarm interrupt or programmable square wave. Add a pull-up when used. |
| 6 | RST Bidirectional | Bidirectional | Active-low reset status and debounced pushbutton input, with internal pull-up. |
| 7 | NC Tie to ground | Tie to ground | No internal signal connection. Connect each NC lead externally to GND. |
| 8 | NC Tie to ground | Tie to ground | No internal signal connection. Connect each NC lead externally to GND. |
| 9 | NC Tie to ground | Tie to ground | No internal signal connection. Connect each NC lead externally to GND. |
| 10 | NC Tie to ground | Tie to ground | No internal signal connection. Connect each NC lead externally to GND. |
| 11 | NC Tie to ground | Tie to ground | No internal signal connection. Connect each NC lead externally to GND. |
| 12 | NC Tie to ground | Tie to ground | No internal signal connection. Connect each NC lead externally to GND. |
| 13 | NC Tie to ground | Tie to ground | No internal signal connection. Connect each NC lead externally to GND. |
| 14 | NC Tie to ground | Tie to ground | No internal signal connection. Connect each NC lead externally to GND. |
| 15 | GND Supply return | Supply return | Connect to the common ground plane or bench return. |
| 16 | VBAT Supply input | Supply input | Backup supply input. |
| 17 | SDA Bidirectional | Bidirectional | Open-drain I²C data. The bus needs a pull-up to its logic rail. |
| 18 | SCL Input | Input | I²C clock. Connect to the host clock line with its bus pull-up. |
| 19 | NC Tie to ground | Tie to ground | No internal signal connection. Connect each NC lead externally to GND. |
| 20 | SCL Input | Input | I²C clock. Connect to the host clock line with its bus pull-up. |
7-bit address 0x68. Standard mode up to 100 kHz or Fast mode up to 400 kHz. I²C is accessible with either supply valid and the host bus powered. Complete transfers without holding SCL low for 25 ms (minimum interface timeout).
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.
| Parameter | Limit | Conditions and source |
|---|---|---|
| Main supply2.3–5.5 V | 2.3–5.5 V | VCC supplies the RTC above VPF (2.45–2.70 V). Below VPF, the RTC switches to VBAT if VCC is also below VBAT. Analog Devices / Maxim DS3232 Rev. 5, pp. 1–4, 9–11 and 13–14. |
| Backup supply2.3–5.5 V | 2.3–5.5 V | A 3 V primary lithium cell suits the bare IC. Keep EOSC = 0 to run the clock on VBAT. Analog Devices / Maxim DS3232 Rev. 5, pp. 1–4, 9–11 and 13–14. |
| Oscillator accuracy±2 ppm | ±2 ppm | 0 to +40 °C. Consult the part grade and temperature conditions for wider ranges. Analog Devices / Maxim DS3232 Rev. 5, pp. 1–4, 9–11 and 13–14. |
| I²C speed400 kHz maximum | 400 kHz maximum | Size the pull-ups for bus capacitance and logic thresholds. Analog Devices / Maxim DS3232 Rev. 5, pp. 1–4, 9–11 and 13–14. |
This map covers the 20-lead wide SO package. Pins 18 and 20 both carry SCL.