Setting STOP to 1 on an RTC-8564JE/NB pauses timekeeping, the calendar, and related functions, but does not necessarily stop CLKOUT. Epson distinguishes four settings: with the output enabled, 32.768 kHz continues during STOP, while 1024 Hz, 32 Hz, and 1 Hz stop. A reference clock that continues to run is not evidence that the register write failed. If the external clock must go quiet during time setting, control CLKOUT separately.
Keep timekeeping control separate from pin control
STOP belongs to control register 00h. It controls timekeeping and related functions; it is not a global clock-output switch. CLKOUT is a separate CMOS output. Its configuration uses FE, FD1, and FD0 in register 0Dh, as well as the physical CLKOE pin. A factory report with one generic clock-state field can easily show that software stopped the clock while the electrical output is visibly still toggling.
Before applying the extra effect of STOP, holding CLKOE high and FE at 1 allows FD1 and FD0 to select the output. With CLKOE low or FE at 0, the disabled pin is low, not a high-impedance handoff. Do not wire two clock outputs together assuming the RTC-8564 releases the line. Seeing a waveform because another driver happens to overpower it is not a valid production design; review separate nets or an explicitly designed external switch.
Why the same STOP write can give two expected results
Two boards with the same device can behave differently if one leaves FD1 and FD0 at 00 and the other sets 11. The first can keep sending 32.768 kHz during STOP if the output is enabled; the second stops its 1 Hz output. Read the CLKOE level, FE state, and FD bits before interpreting the difference. A common fixture does not replace that check, since identical fixture pin numbers do not guarantee identical firmware settings.
Compare all four outputs with their gates enabled
| FD1/FD0 | Nominal output outside STOP | During STOP |
|---|---|---|
| 00 | 32.768 kHz | Continues at that frequency |
| 01 | 1024 Hz | Stops that clock |
| 10 | 32 Hz | Stops that clock |
| 11 | 1 Hz | Stops that clock |
The table assumes CLKOE high, FE at 1, and valid supply and settings. If either enable condition fails, investigate output gating before inferring a calendar or internal quartz failure. The table states whether the frequency remains available; it does not guarantee pulse shape at a transition, the edge phase after reset, or an exact edge count in an arbitrary short window. If the downstream system counts edges, verify transition behavior separately.
Initial power-up from 0 V introduces another state that can be mistaken for a fault. The manufacturer says that power-on reset sets FE to 1 and clears FD1 and FD0. With the external CLKOE pin held high, 32.768 kHz can reach the output before the firmware writes its intended configuration. If no clock may reach the receiver early in startup, a later FE write does not prove that no early clock appeared. Check the hardware state and actual startup sequence.
What can a 125 ms acquisition show?
For a scale check, 125 ms is 0.125 s. At their nominal frequencies during normal operation, 32.768 kHz represents about 4096 periods, 1024 Hz about 128 periods, 32 Hz four periods, and 1 Hz just 0.125 period. The fraction means the acquisition is shorter than one cycle; an edge counter does not report one eighth of a pulse. It is easy to miss every edge of a running 1 Hz signal in a 125 ms acquisition and incorrectly call it stopped.
The arithmetic ignores window alignment, gating and trigger conditions, so do not use the period counts as exact production acceptance limits. To show that a slow output stopped, first capture several stable cycles outside STOP, then capture the I²C write and CLKOUT on the same time axis and cover a window in which multiple cycles would otherwise appear. The fast output can use a shorter capture with enough sample rate to resolve its edges. A long capture with inadequate sample rate does not prove that the high-frequency clock continued.
Use two kinds of evidence for two different stops
Keep the bus evidence for STOP and the before/after time fields, plus a separate CLKOUT waveform. At the same supply, establish stable captures in the 32.768 kHz and lower-frequency settings before running the documented time-setting sequence. Changing the frequency setting while STOP is active would mix the two effects. Epson limits other operations while STOP is asserted; perform time setting and output gating in their appropriate stages rather than introducing an unsupported test sequence.
A bus capture does not need to cover every register. Keep the selected output, control-pin state, transactions entering and leaving STOP, and the time fields needed to verify the clock setting. For tests involving a seconds update, account for the first update about 0.5 s after STOP is released. This one-time interval is not a measure of oscillator drift or a promise that CLKOUT restarts on that same edge. Keep separate captures if necessary rather than reconstructing all firmware behavior from one oscilloscope picture.
Where to start when the pin is still toggling
Verify that the probe is on CLKOUT rather than somewhere on a downstream buffer. Then check that physical CLKOE and FE are enabled, and finally check the combination of FD1/FD0 and STOP. A continued 32.768 kHz output in the expected state can be documented as timekeeping paused, reference output still running. If a low-frequency setting still appears to produce a sustained signal, check for the wrong node, coupling into a floating node, or another source on the buffered net. Do not replace the RTC based on the external trace alone.
If the receiver must also pause while time is set, document two separate requirements: halt the internal calendar and stop external CLKOUT. Close each requirement only when supported by the right evidence. If the circuit instead needs the output to go high impedance, review that separately; the RTC's low disabled state is not interchangeable with high impedance. Preserve the original low-frequency configuration and the controller's wake source on an installed board so changing the observed waveform does not inadvertently remove scheduled wake-ups.
On a fixture, probe the fast clock near the module and use the controller's counting node for a supplementary slow-clock check. If a buffer, level shifter, or programmable device sits between them, keep both source and receiver traces. If the source is correct and the receiver is not, investigate the intervening path first. Similar schematic net labels do not prove that the waveforms are synchronized. A controller may also switch its pin multiplexer, so a software read can reflect a plain input rather than the former timer function. Record the peripheral actually being read.
Avoid using clock stopped as the sole production fault code. Distinguish a non-updating calendar, a present direct reference, a missing divided output, and a CLKOUT deliberately set low. If only a picture reaches repair, obtain the output setting and time axis rather than guessing from its width whether a 1 Hz signal stopped. The question is whether the observation matches the mode, not whether a trace merely appears active. Extending the firmware pause just to obtain a cleaner picture can also hide faults that occur during a normal short time-setting operation.
State the complete configuration in the acceptance record
For example: with FE at 1, CLKOE high and FD1/FD0 at 00, writing STOP pauses the calendar while CLKOUT continues at 32.768 kHz. That is more useful than writing STOP OK. For a divided setting, include the frequency and the capture window used to verify that output stopped. Keeping the published behavior, the bench observation, and the project requirement separate prevents a running reference clock from being mistaken for failed time setting, or a stopped divided output from being mistaken for a damaged crystal.
