The internal crystal may still be running. The Epson RX-8025 SA/NB uses FOE and two /CLEN bits together to control its 32.768 kHz output. Legacy firmware may have borrowed those bits on a board that held FOE low. When a revision drives FOE high, the old data can become output control settings. Check the pin and register readback before replacing the RTC.
The hardware input and two registers must agree
Epson’s application manual places /CLEN1 in control register F and /CLEN2 in E. Both participate in FOUT control. FOE low disables output, and the pin description notes that an open FOE also stops it. With FOE high, 32.768 kHz output is allowed unless both bits are 1. A high FOE alone cannot override two set bits. The table shows disabled output as low, not a general high-impedance state shared by all RTCs.
The slash names can invite the assumption that either bit at 1 disables output. Follow the truth table instead. With FOE high, bit values of 0 and 1 give a different result from two ones. Verify actual voltage at the module pin rather than assume a host GPIO setting establishes a valid level there. Record pin voltage and internal state separately.
The manual permits using the bits as RAM when FOE is held low and FOUT is not needed. It says that both clear to 0 on power-on reset when PON is set. This is not nonvolatile storage. If the former board did not use the output, audit firmware that treated the bits as ordinary flags. A running calendar or a clock appearing briefly after cold start does not establish that another task never set both bits afterward.
Worked example: the old state behaves differently in a new design
Suppose the old equipment holds FOE low and software leaves /CLEN1 and /CLEN2 at 1 and 1. Whatever the original application meaning, FOUT is off. If the new board drives FOE high but leaves both bits at 1, the output is still low. No clock with FOE high is not enough to diagnose a frequency problem. In a controlled comparison where the readback is 1 and 0, and FOE, power, and internal oscillation are valid, the truth table instead allows output. The comparison does not require uncontrolled register writes on production hardware.
Suppose a validated counter observes 10 ms of stable output. Nominal 32.768 kHz gives 327.68 periods in that window, so an ideal valid-edge count with consistent boundary treatment is about 327 or 328. A continuously low undisturbed output gives no periodic edges. This illustrates how to distinguish output from no output. It is not an absolute-frequency test and does not make one zero reading proof that the probe and receiver work.
If a short capture shows a burst followed by silence, capture FOE, supply, and register writes around the stop. Brief output does not prove firmware migration was correct; brief silence does not establish that the calendar failed throughout backup. Align host startup, control readback, and application start. The time the clock appears and the time the application begins to use it are different observations.
Review firmware migration and qualify production
Start with a hardware and software revision table. Record how FOE is driven during cold start, normal operation, and supply transitions, then identify every task that writes E or F. The bytes contain other fields. Do not zero the full register just to clear one /CLEN bit. Follow the manual’s guidance for reserved bits and other state and preserve the project’s access rules. In particular, do not clear diagnostic flags without a reason.
Save two controlled bench records, one for legacy operation and one for the new output mode. Record actual FOE, both /CLEN values, the waveform, receiver behavior, and whether the calendar advances. If output is not routed to a receiver, distinguish the source result from the unverified system result. When output is disabled, do not attach a driver to a line that may subsequently be enabled. Confirm voltage, drive, and connection limits first.
Exercise the startup and recovery paths. A factory test routine that temporarily changes registers should not change the meaning of legacy auxiliary data in production. Assign ownership and initialization timing for the control bits and identify data that must move to other storage. If FOUT can still be unused in one mode, verify what happens to the old values when that mode exits. State whether the module actually reset. A host restart cannot substitute for that evidence.
After addressing the issue, try another unit and compare firmware generations under the same sequence. Keep the instrument setup and count location. One probe that shows no clock is not enough to reject the part. If the board still detects a clock elsewhere, review probe location and loading. Give the first-article record separate rows for valid internal timekeeping, FOUT behavior under configuration, and correct use by the receiver.
A fixture can display the two bits as a logical pair, but keep their actual addresses and read transactions in the raw record. Two independent writes can briefly pass through an enabled combination even when the final state is off. If a short clock burst is unacceptable, verify the transition rather than only the final pair. Hardware gating may need separate review. Capture power-up and initialization rather than start recording after the application is ready. For an externally controlled FOE line, verify the board state before the host takes control.
When changing states on a controlled bench, separate before reset, after reset but before configuration restore, and after restoration. A clock that appears after reset and stops on restoration points toward rewritten legacy state rather than a need to try more oscillators. Where recovery also sets the calendar, verify that restoring time and configuring output do not overwrite one another.
If the two legacy auxiliary bits still hold needed data, migrate it to project-approved storage. Verify that its original function survives the change.
Clock-output checklist
| Check | Evidence to retain | Decision boundary |
|---|---|---|
| FOE | Actual connection, supply, and pin level | Host state does not replace voltage at the pin |
| /CLEN | Relevant bits in E and F and write history | Both must be 1 to disable by software with FOE high |
| Output | Module and receiver waveforms | Disabled low is not high impedance or proof the crystal stopped |
| Startup | Reset and legacy state migration | Do not carry forward the RAM assumption |
Frequently asked questions
Why is there still output when one /CLEN bit is set?
With FOE high, the truth table requires both bits to be 1 to turn off the output. One is not enough. Verify the actual input and output conditions as well.
Can we restore the old register backup if FOUT was not wired before?
Do not copy it blindly. Check whether those bits served as RAM. Let the new firmware set them for the intended output mode while preserving correct handling of the other fields.
