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

Can an Epson RA4000CE RTC Log an External Event With Its Outputs Disabled?

Quiet ports do not show that event detection has stopped

On an Epson RA4000CE or RA8000CE configuration with reset output, a supply drop into Safe mode can leave FOUT quiet and the host unable to read the clock. The unit may nevertheless have a record from that interval after recovery. Epson gives external outputs and the host interface separate WTICFG controls, RSTOPT0 and RSTOPT1. EVIN inputs remain enabled in Safe mode. External port silence, an active internal event input and a timestamp actually captured are different facts. Establish the last one before declaring that an event was logged.

Check the exact pin option first. Not every RA4000CE or RA8000CE option exposes the same reset, status or event pins. A pin drawing from a different board in the family is not authoritative. Epson’s Safe mode is a documented module state, not the same as a host’s software-defined sleep state. Verify the supply state and ordered pin configuration before attributing a missing response to Safe mode.

The two control bits govern different pin groups

With RSTOPT0 set to 0 in Safe mode, Epson specifies that /INT, FOUT and SOUT go high impedance. A fixed voltage observed at the FOUT receiver can come from board bias or the receiver, not from a stopped internal 32.768 kHz crystal. On the open-drain /INT net, an external pull-up can make a high-impedance pin appear high even when internal flags exist. Do not interpret a waveform on a pin that the variant does not even expose.

With RSTOPT1 set to 0, the host interface is disabled in Safe mode. Distinguish clock, chip select and data on SPI variants, and SCL and SDA on I²C variants. Failed host reads can be normal with the interface disabled; modifying bus speed or pull-ups is not the first response. Conversely, disabled outputs do not establish that the host interface is disabled. The settings are independent. Confirm the pin option and external bias before attaching instruments so a high-impedance pin is not mistaken for one driving low.

EVIN is different. The manufacturer says it remains enabled in Safe mode. That does not make every pulse a valid timestamp. The appropriate event source must be selected, and input, voltage, filtering, and capture conditions still apply. Verify buffer configuration, occupancy and the read procedure. A disabled capture setting or a record displaced by a later event can leave the desired timestamp missing. A record’s existence also does not establish valid time; verify the source tag and clock status.

Use one timeline for the ports and the event

Set up a comparison that records supply drop, reset assertion, a test pulse, supply recovery and the host’s first read. Suppose the pulse is injected 20 ms after measured /RST assertion and main power is restored at 50 ms. The pulse precedes restoration by 30 ms. This schedules an illustrative experiment; it is not a minimum interval specified by Epson. Ensure the test source remains active when host power falls. Otherwise an absent record cannot distinguish a missed event from a pulse that never reached the pin.

Capture both the physical pin waveforms and the test state. Missing /INT and FOUT activity and failed host reads only establish the observed port behavior. After recovery, read the relevant event record by the specified procedure and compare it with the known pulse and reference clock. To avoid confusing a reset-generated event with the external pulse, check event source, time and buffer order. The newest timestamp alone is not enough when other events can occur during a supply transition.

The supply reaching a recovery threshold is not the same as immediate host read access. Epson distinguishes periodic supply detection during Safe mode from the subsequent 60 ms reset-release delay after recovery to the rising threshold has been detected. Do not start the 60 ms when an external trace merely begins rising, or apply it to every kind of startup. Capture the supply crossing and actual /RST release, then verify communication in the applicable recovery sequence. Reset release alone does not prove that records were retained.

RSTOF is another useful clue. The manual says it cannot be cleared by writing zero while Safe mode remains active; handle it as documented once Normal mode and reset release have been restored. The reset flag and a record from EVIN are different evidence. Initialization that clears flags immediately can erase useful context. Log existing flags and settings first, then clear them under the approved procedure. When using an independent pulse source on a backup-powered board, respect the common reference and input levels and avoid back-powering the device. Confirm that the fixture does not change the power-loss condition under test.

Run three controlled cases if troubleshooting: normal supply with a pulse, Safe mode with a pulse, and Safe mode without a pulse. Preserve the settings and independent data for each one. Avoid changing filtering, pulse amplitude and external power at the same time. If the results differ, inspect the logger, driver, supply state and buffer policy before rebooting repeatedly and losing the evidence.

Four checks for acceptance

CheckEvidenceWhat it prevents
Exact optionFull part number, terminal drawing and board revisionTreating an unbonded or unexposed pin as a fault
Port stateRSTOPT0, RSTOPT1 and external pullsConflating outputs with communication
EVIN stimulusWaveform at the pin and supply stateTreating a command to send a pulse as physical proof
Internal recordRead time, event origin, buffer and time validityAssuming no interrupt means no record

Keep a known-good trace showing the tag produced by this same test pulse with normal supply. It helps distinguish an input-reference mismatch from a power-loss fault.

Put the pin option, reset configuration and intended external events in the same selection record. If the design depends on logging during power loss, verify retained power for the intended case and run a reproducible test on the real board. A family-level timestamp feature is not enough for substitution approval. If field behavior disagrees, preserve the failing board and settings before refreshing firmware and clearing useful state.

Frequently asked questions

Does high impedance at FOUT prove the crystal failed?

No. It can be the specified output behavior in a Safe mode configuration. Confirm reset timing and the pin option, then check internal timekeeping evidence and the recovered output. An external pin level alone cannot diagnose the oscillator.

Does any new timestamp after recovery prove that the external pulse was logged?

No. Verify source, order and time validity against the measured pulse. Reset and other events can also trigger records; do not assign the newest timestamp to EVIN by default.

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.