An older clock board still counts seconds after a supply dip, but its temperature reading does not change even after main power returns. Check the RR-3029-C2's low-voltage flags to distinguish continued timekeeping from restored compensation.
This real-time clock contains a 32.768 kHz quartz oscillator. Its temperature sensor and frequency calibration unit perform different jobs. According to River's application manual, between the nominal VLOW1 (2.1 V) and VLOW2 (1.3 V) thresholds, the temperature sensor can stop updating while the calibration unit continues using the last stored reading. If low-voltage flags remain after power returns, capture the evidence before clearing them as specified, and confirm that supply voltage is high enough for the sensor.
Distinguish an old temperature reading from possible time loss
VLOW1 is the first warning level. Below its threshold, the sensor stops and the temperature register may simply retain its last sample. Calibration can continue, but on temperature data that no longer represent current conditions. Advancing seconds and an unchanged temperature can therefore be consistent with normal device behavior under low voltage; they do not establish full temperature-range timekeeping accuracy. If VLOW2 was set, the oscillator may have stopped, so date and time require independent verification. PON indicates a power-on reset and invalid time after reset, not an ordinary temperature-sensor warning.
The raw value 00h is easy to misinterpret. Temperature register 20h uses an unsigned offset code with steps of 1 °C: 00h represents −60 °C and 3Ch represents 0 °C. The manual also warns that a slow power ramp can leave low-voltage flags set and the sensor stuck at 00h. The same byte can therefore have two explanations. If the environment should not be that cold and there are low-voltage flags, do not publish the value as a live measurement or immediately condemn the sensor. Restore supply, check configuration and update behavior, and compare with an independent temperature measurement.
Backup switchover and undervoltage detection are separate events. In backup mode, I²C and CLKOUT are disabled even though the calendar may continue. If the bus is unavailable, do not manufacture a temperature reading from a default all-zero byte. Track communication unavailable, temperature stale and time invalid as three separate states. Read the flags and time once main power makes the interface accessible again. A temporary loss of CLKOUT alone does not prove oscillator stoppage.
A bench example with a slow ramp and a temperature rise
Assume the last sample was +25 °C, encoded as decimal 85 or 55h. The effective supply then settles between the two thresholds, at 1.8 V in this example, and the environment warms to +45 °C. If the sensor has stopped during low voltage, a reading of 55h only reports the previous +25 °C sample, now 20 °C from the environment. That 20 °C cannot be converted directly into a ppm error. Instantaneous frequency error depends on the crystal and correction curve. Accumulated time error also depends on how long the stale-reading state lasted. The figures are illustrative, and 1.8 V is not permission to use every communications mode or test setup at that voltage.
Once the supply is stable, capture VLOW1, VLOW2, PON, the raw temperature byte, clock data and observation time. Verify adequate supply and follow the manual's procedure for the flags. Confirm that temperature measurement is enabled, let a normal conversion occur, and verify the next reading. At a constant temperature, the old and new raw bytes can legitimately match. Apply a small, measured temperature change and check that the register responds. Keep an independent sensor reading for comparison.
To exercise startup, capture both the main and backup supply at the module pins rather than treating an enclosure supply reading as the chip supply. Compare a normal ramp, a reproducible slow ramp, and a dip followed by recovery. Record flag state before and after the first successful read. Keep the heating apparatus from changing the regulated rail unintentionally. Identify whether the temperature sensor measured the device or chamber air, and check for local supply dips or bypass effects during power transitions.
Divide service validation into four checks
| Check | Evidence to retain | Decision |
|---|---|---|
| Supply and power domain | Main and backup waveforms at the module pins | Distinguish backup operation from a low-voltage crossing |
| Temperature validity | Raw 20h byte, update time and independent temperature | Neither a stale value nor a failed read is a fresh measurement |
| Time integrity | VLOW1, VLOW2, PON and comparison with external time | Advancing seconds do not prove uninterrupted or accurate time |
| Recovery | Before-and-after flag evidence and configuration | Save evidence first, then verify that temperature updates |
Software can mark each sample valid, stale or unavailable; do not use a single sentinel value for all three states. Retain the I²C operation status alongside any upper-layer alarm. A failed transaction is not a valid temperature byte. If VLOW2 or PON raises doubts about time, preserve the original reading for investigation and confirm or reset it using an independent source. A temporary loss of live compensation does not establish that the interval was accurate, nor that the clock record must immediately be discarded.
If the repair must preserve log continuity, select at least one common reference point before and after the dip and compare the module against the test timebase. Mark the stale-temperature interval and apply the product's permitted error to decide whether those timestamps can be retained. A new valid temperature sample does not retroactively correct recorded timestamps. If the clock must be reset, record when it was set and what reference was used rather than overwriting the history. Retain the raw evidence from field retesting.
Avoid a generic recovery routine that clears every register before collecting diagnostic information. Define where the first read happens and which fields to keep. Record supply before the incident, the event time and the result of clearing the flags. If the host and its logger also lose power, capture the module's first accessible recovery window on the test bench and check when firmware clears flags. This separates a skipped recovery step from a hardware fault.
Two common questions
The module is back at 3.3 V. Should we replace it if the temperature is still frozen?
Not yet. Check temperature configuration, the low-voltage flags and how they were cleared, then verify one new conversion. The manual notes that after a slow startup the sensor may remain stopped if low-voltage flags are left set. A 3.3 V reading only confirms the present supply, not full software recovery. If the temperature still does not update in a controlled test, proceed with substitution or bus diagnosis.
Can we keep the existing time when only VLOW1 is set?
Retain the raw data and event record, but do not label the time as fully accurate. VLOW1 indicates loss of fresh temperature measurements; VLOW2 or PON signals a different timekeeping risk. Treat the conditions separately and compare the clock with an independent reference before deciding which logged times remain usable.
Keep the service rule tied to the actual module
River lists the RR-3029-C2 as discontinued without a recommended successor. Its manual remains useful for diagnosing old equipment, but do not assume a different 32.768 kHz module shares the pins, flags or recovery procedure. Retain the exact code, manual revision, power checks and register tests for both repair and substitution. In this case, “time can be read” is not sufficient: demonstrate that temperature data resumed, compensation conditions are met, and any invalid time was re-established.
