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

Epson RX8804CE Crystal RTC: When Does RESET Release During Synchronization?

When aligning the RX8804CE’s next second, do not treat the start of the software write or the last acknowledgment as the release time. In Epson's isolated-write example, reset holds from the data-byte acknowledgment through STOP and then clears automatically. The manual also says a START or repeated START before STOP releases reset. For precise synchronization, record actual bus boundaries instead of using a software timestamp as the point where the module resumes counting.

Identify reset from the transaction, not by looking for a readback of one

RESET is at control address 0Fh. Epson shows an isolated write with 01h as the data byte. Writing one to RESET triggers the operation; reading always returns zero, and writing zero does not trigger it. The example's full data byte does not mean every board should clear its other control bits. Preserve other required settings according to the design. A zero readback reflects the bit definition. It does not establish that no reset took place or that a write aligned to the intended boundary.

Also identify what resets. This operation does not cut power to the internal 32.768 kHz oscillator. The manual identifies the derived lower-frequency divider chain and notes that the raw 32 kHz output is unaffected. Determine whether the observed signal is that oscillator output, calendar-second update, or a derived timing function. A continuous 32.768 kHz trace does not establish that RESET failed.

Node or boundaryManual behaviorAcceptance check
RESET at control address 0FhWrite one to trigger; always reads zeroCapture the bus and timing, not only readback
Data ACK through STOPReset holds during this interval in the isolated writeUse actual STOP as the release boundary in this case
START or repeated START before STOPAn earlier such condition releases resetInspect the real bus edges
32 kHz outputUnaffected by RESETDo not use continuity to infer whether the divider cleared

A 0.26 ms example illustrates the wrong time origin

Suppose a logic analyzer shows the final ACK at 10.000 ms and STOP at 10.260 ms, with no repeated START between them. Using ACK for release starts the measurement 0.260 ms early. The manual places the next normal seconds update around 1000 ms after release, potentially earlier by about 30.5 µs. From STOP in this example that is approximately 1010.2295–1010.260 ms, rather than the 1009.9695–1010.000 ms range inferred using ACK. This arithmetic illustrates the reference point, not an application callback guarantee.

The 30.5 µs is approximately one 32.768 kHz cycle. It does not bound operating-system latency, bus transaction duration or overall synchronization error. If a write must happen close to an external edge, retain the external reference, bus trigger and observable seconds update separately. Without seeing how the driver actually sends the frame, do not promise an update exactly one second after a function call.

If a combined read follows the write without STOP, the repeated START could release reset earlier than the final STOP. Do not identify that last STOP as release for the same action. Start with Epson's recommended isolated write to capture a baseline without repeated START. Then inspect the ordinary driver for combined transactions. When the controller cannot send a separate frame, retain the actual capture and have firmware review establish the valid boundary. Conflicting controller modes need their own compatibility test.

Test the bus, divider and application callback separately

First, with stable supply, capture clock, data and an observable seconds-update event during an isolated write. Record ACK and STOP. Use a logic analyzer time base suitable for the required precision without materially changing bus load. Second, exercise the actual application and check whether it combines transactions, and which START, repeated START and STOP conditions appear. Third, separately log when the host sees an interrupt or reads the new second. A late display can then be attributed to module timing or host handling rather than guessed from one measurement.

Epson notes that RESET affects time-update interrupts, alarms, timer operation and relevant FOUT behavior. Identify which functions are active during tests. Do not assume a running timer is unaffected by synchronization. Record the FOUT configuration; the special note about 32 kHz cannot be applied to all divided outputs. Restore production settings and verify seconds and required timing functions after testing so the fixture does not leave the module in an unintended state.

Do not repeat the write just because an observation was missed. The manual warns unnecessary resets can delay timekeeping. Check whether the write was acknowledged, where reset released, and whether recording or execution failed. Only then decide whether the product's recovery policy calls for a retry. Keep repeated synchronization tests separate from single-operation measurements.

Record three timestamps in release evidence

Firmware and board acceptance should capture the exact RTC, manual revision, control setting, bus rate, trigger reference, and a shared measurement timeline. Host request, oscillator-module release at the bus boundary, and observable second update or received interrupt are distinct fields. After changing MCU or bus library, recheck whether an isolated write became a combined transaction despite using the same RTC. For substitution, verify the exact timing semantics of a same-frequency module rather than relying on its integrated crystal frequency.

If the internal update cannot be captured directly, identify the proxy and its relationship to the actual event. Do not label completion of a register read as the internal update. An outward synchronization promise also needs a system transport and scheduling budget or an independent observation under the project test plan. A room-temperature pass covers that setup, not every environment or affected timing function.

Keep the actual bus frame in automated regressions, not just the driver's return code. For the seconds observation, record sample rate and trigger threshold and ensure the trace spans the whole interval under review. If production hardware does not expose that signal, establish the relationship on a representative fixture and verify applicable functions in production. When board revisions disagree, compare bus edges and observation proxies first. An interrupt receipt timestamp can reflect host scheduling rather than an oscillator fault.

FAQ

Does an always-zero readback mean the write failed?

No. It reflects how the bit reads. Check the transaction, acknowledgment, and release boundary, then check seconds or timing behavior. A successful low-level write alone does not establish system synchronization.

Why does the seconds edge change when the 32.768 kHz output never stopped?

RESET affects the derived divider chain, not oscillation of the raw crystal. Check the actual seconds update or divided output used by the system and record its configuration. One frequency path cannot qualify another.

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.