docs: BUG-18 DS3231 installed + working (I²C 0x68), pending power-cycle test

This commit is contained in:
Mathieu Moran
2026-08-14 18:05:17 -04:00
parent c2462356e1
commit bfdd1c2285
2 changed files with 14 additions and 4 deletions
+10 -1
View File
@@ -19,10 +19,19 @@ When CLOSED, move the entire entry to Resolved — don't duplicate.
timestamp jump mid-trip. Root cause is BUG-18.
### BUG-18 — Pi needs offline timekeeping (no RTC)
- **Status**: `OPEN` 2026-08-13
- **Status**: `IN PROGRESS` 2026-08-14
- **Phase**: 29
- **Problem**: the Pi 3 has no real-time clock. Without internet (no NTP) the system clock
is wrong across power cycles, corrupting tracking/trip timestamps (BUG-16/BUG-17).
- **Progress 2026-08-14**: DS3231 module installed + working. Pi config done:
`dtparam=i2c_arm=on` + `dtoverlay=i2c-rtc,ds3231` in `/boot/firmware/config.txt`,
`i2c-tools` installed, `fake-hwclock` disabled, `i2c-dev` added to `modules-load.d`.
The DS3231 now probes at `0x68` (`UU`), its 24C32 EEPROM at `0x57`, `/dev/rtc0` registered,
and `hwclock -r` matches system time. (First scan was an empty bus — a data-line wiring
issue, since resolved.)
**Pending**: power-cycle persistence test — unplug, replug, confirm correct time at boot
without NTP. Also: the charge diode was re-added during debugging and must be removed again
for the CR2032.
- **Fix plan (both, they complement each other)**:
1. **DS3231 RTC module (primary)** — battery-backed RTC on the free I²C bus (SDA pin 3,
SCL pin 5, 3.3V pin 1, GND pin 6). Enable `dtparam=i2c_arm=on` +