Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / Low-Frequency Timing and System Power

Epson RX8901CE crystal RTC: how to tell reset from detected oscillation stop after VLF

VLF on the Epson RX8901CE warns that calendar data may be invalid. It is not a dedicated oscillator-stop record. Epson documents two sources: PORF for detected power-on reset and OSCSTPF for detected oscillation stop. Earlier flags can remain after the rail and oscillation recover. Preserve raw state before following the initialization procedure. VLF alone does not identify a failed oscillator, and current timekeeping does not disprove an earlier event.

Three flags answer different questions

The RX8901CE has a built-in 32.768 kHz crystal and self-monitoring. PORF records detected power-on reset and does not automatically clear when reset is released. OSCSTPF records detected internal oscillation stop. Epson specifies a stop of at least 10 ms for this detection; the flag does not clear simply because oscillation resumes. VLF rolls those two kinds of events into a warning about date and time validity. It does not establish root cause.

Do not turn that description into a rule that the current contents of two bits can reconstruct a warning at every later read. Firmware may have handled one flag already or another event may have occurred during recovery. Both sources can raise the warning; preserve them at the earliest valid read and follow the applicable initialization and flag procedures. If a fixture or prior service tool intervened, document it. A later zero does not establish that no earlier event occurred.

Classify four evidence patterns

Observed evidenceSupported interpretationDoes not establish
VLF with retained PORFPower-on reset was detectedA damaged crystal
VLF with retained OSCSTPFAn oscillation stop was detectedCurrent oscillation is stopped
Both sources documentedPreserve both; investigate sequenceEvent order from one read
Only VLF preservedTreat time as suspect and cause as unknownAbsence of earlier events

Separate a retained warning from the current waveform. A recovered module that is counting with both VLF and PORF can be consistent with an earlier reset and current operation, without proof of a stop. Likewise stable current output is compatible with a retained OSCSTPF. Timestamp both observations independently so a later review can follow the actual sequence.

OSCSTPF does not encode elapsed stop time or precise onset. A 10 ms detection condition is not the duration of every fault. To correlate interruptions with a power dip, use an independent clock to capture power, available output and register reads. Without the earlier trace, limit the conclusion to the documented event. VLF alone cannot be used to calculate when oscillation stopped.

Preserve pre-recovery evidence

Production firmware may restore the clock automatically before service can inspect it. In a valid access state, save the first successful raw reads and calendar fields before initialization. Log unsuccessful transactions separately rather than interpreting a placeholder as returned flags. After backup recovery, wait for the applicable access conditions. No communication is not evidence of a returned zero.

Keep the original time for incident reconstruction, not as valid application time. With VLF asserted, treat operational time as unverified until restored using an approved project reference. That need not overwrite original evidence. If power events are part of the application, distinguish independent time, RTC fields and the data path, so presenting timestamps in a different format does not conceal their origin.

On an approved bench, first document an ordinary reset path and observe flags after recovery. Preserve naturally failed samples for analysis rather than exceeding ratings to produce an event. Power and oscillation failures can look similar externally but need separate evidence. If both flags were read together without a timeline, leave their order unknown. The line order of a diagnostic log is not the historical event order.

Qualify time validity and fault attribution separately

Give firmware distinct fields. One says whether the calendar is known to be reliable for records and scheduling. Another reports documented causes, such as reset, detected stop or both. One clock adjustment should not erase their differences. When clearing flags, preserve original evidence and record the action, timing and outcome according to the applicable procedure. Log readers should not count retained states as independent new events.

Distinguish actual RTC recovery from an ordinary host reboot. When backup power keeps the RTC alive, an MCU restart need not generate a new RTC reset. Measure the real supply path rather than inferring it from a software reboot. If a firmware revision changes startup, verify that collection and clearing still happen in the right sequence. Keep traceable evidence for each behavior so fast recovery does not reduce diagnostics to one vague warning.

If service has only a warning screenshot, begin with the board, firmware and earliest accessible records. An application label such as “time invalid” generally cannot recover the underlying source fields. A report can say that VLF was confirmed, the source is unknown and present timekeeping is verified or not yet tested. Add evidence later if early reads or independent power waveforms become available, keeping the original timeline intact.

Treat clearing a maintenance alert separately from restoring user time. The former means software handled the flags; the latter requires an approved reference. A plausible calendar read is not enough, and zero flags after service are not a reason to remove earlier evidence. Test an approved reset path and verify that the application preserves evidence and evaluates validity before clearing status. Repeat that test when changing drivers or bus retry logic so a new startup path cannot bypass the earliest record.

Frequently asked questions

Does VLF mean the oscillator module must be replaced?

No. Detected power-on reset can also cause it. Check source flags, power and timekeeping. Follow the manual for time validity, then diagnose the hardware path.

Does retained OSCSTPF after output recovers mean the detector failed?

Not necessarily. Epson says the flag does not automatically clear after oscillation resumes. Preserve the raw state and follow the applicable handling procedure.

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.