Memory, RTC & Bus Control

Analog Devices / Maxim DS3231 digital twin

±2 ppm TCXO I2C real-time clock with dual alarms and die temperature.

standing: provisionalI2C0x68 (fixed)
VendorAnalog Devices / MaximMemory, RTC & Bus Control
InterfaceI2C0x68 (fixed)
Record Status2026-11-19rev c3f5f9950 (clean tree)

Driver oracle & capability record

Part of the 27-part, 44-case twin-factory oracle suite (44/44 passed, generator 0.1.0+policy.12).

Driver referenceTwin-factory vendor-driver oracle (0.1.0+policy.12)
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordaccuracy/twin-factory-oracles-2026-11-19b.json (SHA-256 caa6e32e53c5)

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x00–0x06SEC..YEARBCD timeSeconds, minutes, hours, day, date, month, year
0x0E / 0x0FCONTROL / STATUS0x1C / 0x88Oscillator enable, SQW/INTCN and OSF stop flag
0x11–0x12TEMP_MSB/LSB0.25 °C/LSBTCXO temperature readout

Attach with ct CLI

Shell - run firmware with DS3231
# Run compiled firmware with DS3231 attached on arduino-uno
ct run --json --board arduino-uno --device ds3231 build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/ds3231.xml tests/ds3231-fault.suite.yaml

Fault-injection test snippet (suite.yaml)

tests/ds3231-fault.suite.yaml
version: 1
board: arduino-uno
firmware: build/app.elf
tests:
  - name: ds3231-i2c-nack-and-bad-id
    faults:
      - at_ms: 30
        bus: I2C1
        kind: nack
        address: 0x68
        count: 2
      - at_ms: 150
        part: ds3231
        kind: frozen_reading
    expect:
      console_contains: "DRIVER_FAULT_DETECTED"
      exit_code: 0

Compatible board twins

More in Memory, RTC & Bus Control