The FE bit controls the Epson RTC-4574 output only under specified pin conditions. If 32.768 kHz remains after clearing FE, check CE1 and FCON at the module.
Epson's documentation for the Japanese RTC-4574 SA, JE and NB distinguishes calendar access from clock output. Serial access requires both CE0 and CE1 high. FOUT can continue with CE0 low if CE1 and the other output conditions permit it. If software reports the clock disabled while a scope still sees pulses, identify the selected pin-controlled path before deciding whether the register write failed or does not govern the present state.
Identify when clearing FE actually disables the output
Check frequency setup register Bh. With CE1 and FCON both high, those settings control FOUT. FE clear makes the output high impedance; FE set makes the output follow the selected source and divider. If CE1 stays high but FCON is low, the specified result is fixed 32.768 kHz. The FE and FD contents do not determine the pin state. Even a successful serial readback of FE = 0 does not make 32.768 kHz in this state a register fault.
With CE1 low, the table shows FOUT in high impedance and no RTC serial access. CE0 behaves differently. With CE1 high, changing CE0 changes access permission, but not the FOUT path for the same FCON and FE settings. If a design treats both selects as identical and pulls them low at the end of each transaction, it can also remove a clock that was meant to feed a receiver continuously. Clarify whether the design needs to release serial access only or to stop the external output too. Do not give those requirements the same state name.
High impedance means the output is not actively driving. It does not require the pin to read zero. Receiver bias, leakage or another connection can hold a node at a static voltage. To verify output disable, look for periodic transitions and check the applicable load and receiver circuit. Do not short the node to ground just to identify high impedance. If the output is still actively driving, that would change the condition under test.
Observe four signals rather than decoding the serial data alone
First capture CE1, FCON and FOUT at the module, then align CE0 or the bus transaction on the same timeline. Read back FE and FD inside an access window, then observe the output after that window ends. Readback proves what the transaction saw. It does not establish the actual select pin levels afterward. For an intermittent failure, trigger around entry into or exit from the transaction and check when the external waveform changes.
Separate module and receiver measurements if the points are far apart. A high level at the controller does not necessarily establish a valid high at the RTC. Translation, series resistance, reset state and another power domain can change the signal. Retain the supply trace and pin voltage scales. On a board using backup power, do not infer CE1 from the presence or absence of the main rail. Use the actual circuitry and electrical conditions to establish the path.
For replacements, document the startup default required on the production board. Some designs need 32.768 kHz before software configures the device; others expect no clock while the interface is idle. The same part can behave differently under different pin connections. If a new board fixes a control pin at a different level, an old qualification trace does not cover the change. Tie the device suffix, manual revision and board ID to the record rather than assuming all builds use one circuit.
Worked example: 512 Hz was configured, but 32.768 kHz appears
Assume a validation board with the applicable supply and load, CE1 held high, and FE set in Bh. Set FD4:FD3 to 01 for the 1024 Hz source and FD2:FD0 to 001 to divide by two. At FCON high the nominal output is 1024 ÷ 2 = 512 Hz, with a period of approximately 1.953125 ms. With FCON low and CE1 still high, the nominal output is 32,768 Hz, with a period near 30.518 µs. The ratio is 64, but it comes from two logic paths. It does not mean the crystal was pulled by a factor of 64.
Test the disable request independently. Clear FE and, with CE1 high, observe FCON high and low separately. The manual gives high impedance in the first state and fixed-frequency output in the second. If the scope shows 32.768 kHz in both states, first verify that a valid high level reaches the FCON pin. Then check register readback, pin definitions and the probe point. Do not select only an interval between transactions because it makes the trace look as expected.
These are steady-state calculations. They make no guarantee about glitches, first pulses or phase continuity when changing paths. If the receiver is a counter or reset circuit, capture the first recognized edges under the intended change and verify whether the system tolerates any gap. Keep stable frequency and valid transition edges in separate columns. A correct 512 Hz reading after settling cannot rule out a receiver problem at the switch.
Four records cover access, forced output and disable
| Check | Evidence to keep | Decision |
|---|---|---|
| Serial access | Measured CE0/CE1 and register readback | Both high for access; output is not readback |
| Default output | Actual FCON level with CE1 high | FCON low gives 32.768 kHz independently of FE |
| Programmed output | FCON high, FE and FD settings, frequency | Distinguish source, divider and high impedance |
| Receiver state | Receiver probe point, transition timing and valid edges | Stable frequency does not prove a seamless switch |
Write expected results as observations that can be checked on the assembly. If only serial access must stop, record that access is unavailable after CE0 falls while the receiver still gets FOUT. If reads must remain possible with the clock off, put CE0, CE1 and FCON in the state that permits control, read back FE, and measure the output. Run the two exercises separately without changing unrelated wiring. Use a configuration bit that can be read independently after recovery so a wrong path is not mistaken for software reinitialization. Classify a failure as no readback, a readback without effect, or a waveform that the receiver did not recognize.
For short intermittent failures, segmented acquisition can capture multiple transaction windows. Also retain a continuous trace to see whether the clock stops between transactions. Document the detection threshold on digital channels. A static bias during high impedance cannot establish active drive. If a board timer fails only during a software phase, add a marker for task entry and exit so that pin levels and the software timeout can be compared on one timeline. These are diagnostic methods, not oscillator specifications.
Purchasing and engineering can share a state diagram identifying which pins are fixed by resistors and which are controlled by the host. Use it to test incoming samples rather than treating one successful initialization as a guaranteed default. Approve shipment only for board revisions and receiver conditions covered by the validation. Record the tested lot, supply conditions, test time and scope of the result.
FAQ
Why does the clock continue when CE0 falls?
With CE1 high, lowering CE0 prevents serial access. FOUT still follows FCON and the applicable settings. If the design needs to stop the output, verify the relevant disable path against the circuit and manual. Ending a transaction is not the same action.
Does writing FE = 0 suppress FOUT in every state?
No. Check CE1 and FCON, especially the fixed 32.768 kHz path when CE1 is high and FCON is low. Reproduce the three states on an approved bench and retain the traces and measured levels. Do not change production wiring simply to suppress the symptom.
