Do not reuse the old time just because the date bytes match before and after a reset. Epson's RX8130CE example retains the time and calendar register values instead of initializing them to fixed values. The same process sets VLF to 1 and generates an active-low /RST pulse of up to 95 ms from a specified step. Firmware can preserve the raw reading for diagnosis, but should resolve time validity before supplying it to order logs, control logic or other consumers. The separate 125 ms process wait is not the pin pulse width.
Retention and confidence are different states
A familiar date can make it seem safe to resume the clock, while zero or a default date would trigger synchronization. That heuristic misses this design. Epson explicitly says the software reset does not set the date and time registers to initial values. It separately says VLF is set and should be cleared after the reset is complete. Seeing the same calendar is consistent with the reset working. It does not show that reset failed or that time is ready for external use.
Do not reverse the meaning of the flag. Seeing VLF=1 after this known software reset does not, by itself, tell you that the battery was empty, the crystal failed or the date bytes were destroyed. Record the known flag-setting action separately from any supply loss or field evidence. Treat the calendar as a preserved reading pending validation. The issue is not that the date must be wrong; it is that a plausible value is not enough evidence.
Track four observations separately
| Observation | What the example says | What it does not establish |
|---|---|---|
| Time and calendar registers | Software reset does not initialize these fields | Preserved bytes are trusted time |
| VLF | Software reset sets it to 1 | The battery necessarily went flat |
| Active-low /RST | Up to 95 ms from step 10 | An exact 95 ms width |
| Process delay | Wait 125 ms after the last write in the example | A 125 ms low pulse |
A host can receive a reset signal while the RTC later reports the same date. Those observations coexist. Identify which component initiated the reset, which one read the calendar and which observed the reset signal. The three observers may have different time references. Do not reconstruct all ordering from one console message.
Do not shorten the 125 ms process wait based on the 95 ms maximum pulse. The pulse limit and procedural delay describe different observations. If the application uses another initialization path, validate it on its own basis rather than borrowing a delay from a pin specification or generalizing from one working prototype.
When should firmware make time available again?
Keep the last trusted time before reset, the reset transaction, the raw retained calendar and the VLF status in separate fields. If a legitimate source is available, resynchronize after correct initialization and record the reference used before making time available. If none is available, keep the old calendar for service diagnostics but mark confidence unresolved. A system that must record events before it has real time can retain relative order or an independent counter instead of mistaking correct date formatting for accurate time.
Clearing VLF is part of recovering device state, not a way of validating the old reading automatically. Epson's initialization example also notes that VLF cannot be cleared before internal oscillation starts, and calls for a bounded retry strategy. The application can separately track when a trusted reference has been checked or its own release criteria met. VLF may be clear before the application receives time.
Do not automatically propagate unconfirmed readings between modules. A gateway may record the source and synchronization moment when it updates the RTC; a disconnected terminal may instead mark new timestamps pending. Display policy can differ, but it should not silently redefine data confidence.
Test the handoff after reset
Record a known reference on a test board before initiating a controlled reset. Capture the actual operation time. Where available, capture /RST, power and logs separately; an application timestamp is not the only instrument for measuring pin timing. Read back the retained calendar and VLF, then verify against the reference after initialization. Do not mark time trusted until the expected recovery is observed. If /RST also restarts the host, preserve ordering information across restart or collect it on external instrumentation.
Run a second case without an external time reference. Passing does not necessarily require hiding the displayed date; it requires preventing unconfirmed time from being treated as synchronized. Then restore the reference and verify that valid synchronization, not simply renewed bus communication, unlocks the trusted state. Identify whether a trace covers a software reset, synchronization, failed recovery or loss of reference.
Test any ordinary wake route that does not perform this software reset separately. That catches a regression in which a normal wake is unnecessarily treated as unsynchronized while an actual software reset inherits a stale confidence flag. Keep the most recent trusted state and its origin. Confirm that the logs distinguish a retained date read, completion of hardware initialization and the release of the time service. A screenshot of a plausible date cannot do that.
Distinguish a failed initial read from a successful read whose time is still unverified. The first points to access or initialization progress; the second calls for inspecting the reference and synchronization record. Giving both situations one generic RTC fault label can cause a technician to issue another reset and lose useful initial evidence. Save the initial state and recover the stage that actually failed.
Common questions
If every calendar byte matches, did the reset command fail?
Not necessarily. This software reset does not initialize those registers. Verify the process, /RST and VLF observations together rather than treating an unchanged date as evidence that the command was ineffective.
Can I assign real times retroactively after VLF clears?
Not from the flag alone. It shows progress in handling device state, not an independent time reference for earlier records. Backfill only when a reference and sufficient event-order evidence exist. Otherwise preserve the relative order or original reading with an unresolved-confidence status.
