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

Epson RX8901CE crystal RTC: why a 300 ms event pulse can go missing

The Epson RX8901CE samples its EVIN event input on a roughly 125 ms cycle for digital filtering. For FLT=0x03, Epson distinguishes 250 ms through less than 375 ms, where detection depends on sampling phase, from 375 ms and above, which meets the pulse-width criterion. If identical 300 ms pulses sometimes leave a record and sometimes do not, check this interval before blaming the crystal, input hardware or software.

Read adjacent rows instead of just multiplying by 125

The application manual describes sampling every 125 ms, then confirming a logic state once enough successive samples agree. It gives a formula for filtering time, but nominal filtering time does not tell you when the first sample after a change occurs. The same pulse width can contain different numbers of stable sample points depending on its arrival phase. That is why Epson gives an uncertain interval separately.

Not every six-bit setting is valid. FLT=0x01 is prohibited; the arithmetic does not make it a usable 125 ms setting. FLT=0x00 has a specified valid input width, not permission to count arbitrary glitches. Match the filter to interference you must reject and the shortest true input the sensor can guarantee. If no legal setting satisfies both, revisit the design instead of trying a prohibited value.

Put the documented rules in four rows

Filter settingUncertain width in the manualValid width or restriction
FLT 0x00None listedAt least 1 ms
FLT 0x01Not applicableProhibited
FLT 0x02125 ms through less than 250 msAt least 250 ms
FLT 0x03250 ms through less than 375 msAt least 375 ms

“Valid” is a width criterion with applicable electrical and configuration conditions satisfied. It does not promise a persistent timestamp from every transition. The input may not cross the logic threshold, the selected polarity may not match, or the capture path may be disabled. A pulse wider than 375 ms does not exclude those issues. Conversely, a measured pulse in the uncertain interval already offers one evidence-based explanation for intermittent detection. A passing prototype there is not a production guarantee.

If a sensor advertises “about 300 ms,” ask whether that is a typical value, minimum or average. To qualify FLT=0x03 for reliable detection, verify real width at the RTC input under valid electrical conditions and against the project's minimum. A controller's transmit log does not measure that pulse. Moving to FLT=0x02 or no filtering requires a fresh false-trigger assessment. The table does not specify a detection probability for widths in the uncertain interval; do not convert it into a guaranteed loss rate.

Reproduce the issue without locking onto one sampling phase

On an approved board, isolate the EVIN check and record board identity, selected edge, raw FLT readback and the real input. Test two widths for the same trigger type: one in the uncertain interval and one meeting the documented valid threshold with project margin. Keep electrical and configuration conditions the same. If repeat pulses happen to be separated by a multiple of the sampling cycle, they may repeatedly arrive at a similar phase. Vary trigger spacing or the starting time relative to an independent reference to exercise several arrival times. This probes the uncertain behavior; it does not assume the internal sample phase is precisely observable.

Measure actual time above or below the applicable threshold. A mechanical contact or open-drain sensor may not produce the generator's ideal square pulse at the pin. Use validated probing and preserve the input trace, detection result and capture evidence. If the valid-width group still misses events, localize the break: valid edge with no detection, or successful detection with no record retained. Do not change filter, polarity and buffer policy simultaneously, or a passing run will not identify the cause.

Leave enough recovery between pulses that the next event begins from the expected stable state. A continuously asserted level or ongoing reset cannot be treated as a series of new edges. When replaying field conditions, record the actual power state and configuration. Do not extend a normal-power bench result to an untested backup transition. The judgment concerns evidence under documented conditions, not how many successes can be collected in a gray zone.

Prevent configuration regression

Firmware should accept documented legal filter values and reject prohibited ones with a clear reason. If a UI accepts milliseconds, do not just divide and then write the result. Confirm legality against the correct part's table, and show the minimum pulse width that meets the documented detection criterion. Pass imported older settings, service commands and batch parameters through the same check. A single validated UI does not guarantee the byte written on the bus.

Bind the shortest valid pulse, measured board margin and filter value to the same reviewed design revision. A regression test may deliberately enter the uncertain interval, but do not require it to always pass or always fail; its purpose is to prevent reliance on ambiguous behavior. Release using valid inputs under specified conditions and say whether the check observes the event pin, detection status or durable record. When replacing the event source, input network or fixture, verify that those observations still describe the same physical event.

If the fixed-width source cannot both reject interference and produce reliable detection, do not ask production to reinterpret the gray zone. Engineering can assess properly qualified signal conditioning or another event path, then measure the resulting input width and repetition spacing again. Confirm interference rejection and correct handling of the intended edge, not just the number of records on one run. Those records will let a reviewer see which assumption no longer applies if a later firmware revision changes the default filter.

Incoming or replacement-part checks should not treat the setting as a fixed latency. Give production two observable records: actual duration of the valid level at the device and the detection or capture outcome. If acceptance relies only on time from an edge to confirmation, sampling-phase variation can be mistaken for poor crystal accuracy. Preserve the raw value, selection rationale and minimum required input width, so later software cannot quietly turn a boundary condition into an unexplained constant.

Frequently asked questions

Why can FLT=0x03 miss a 300 ms pulse if it is longer than 250 ms?

250 ms marks the start of the uncertain interval, not the guaranteed threshold. Sampling phase affects the consecutive results. Epson's valid-width threshold is 375 ms.

Can 0x01 be used for a one-step 125 ms filter?

No. The manual prohibits 0x01 even if arithmetic suggests a reasonable interval. Select a documented setting and verify it with your actual minimum input width.

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.