Measure how quickly the RTC’s VDD falls while isolated before changing SMPTSEL. Switching off the external source does not mean the module pin crosses its threshold within the shortest detection window.
An instrument has a main and a backup supply. Removing main power sometimes produces the expected state promptly, but on other trials a residual voltage remains on the main input. The effect grows after a power module change and an increase in output capacitance. Do not look only at the external switch, or assume a backup-state issue is a crystal timekeeping defect. Determine how the RX8130CE observes VDD, which residual current paths remain on the board, and how the observation window compares with the actual fall time.
Separate temporary SW1 isolation, physical VDD, and backup decisions
Seiko Epson’s RX8130CE manual ETM50E-10 explains that when internal SW1 is on, internal voltage can feed the external VDD circuit and obscure the state of the external supply. The module periodically opens SW1 to separate the internal and external sides for measurement. This differs from how main power is checked while already in backup. The moment the external switch opens does not establish that VDD has crossed the threshold: capacitance, load, and other domains can hold the pin higher.
Table 37 lists SW1 off intervals of 2, 16, 128, and 256 ms for SMPTSEL settings 00, 01, 10, and 11 under its applicable normal-mode conditions. In the specified return-from-backup state, it lists 2 ms for all four settings. These values do not define a fixed window in every state or guarantee system switchover latency. The manual notes that a slow decrease can require a longer interval, while longer intervals increase current consumption and can reduce rechargeable backup charging efficiency. Confirm the actual mode and supply configuration before comparing settings. Do not choose the longest by default.
VDET2 is the detection threshold associated with main-to-backup switchover and recovery. The falling-side typical figure is 1.30 V; the rising side has a separate value. Use the typical figure for estimation rather than as a worst-case production threshold. Module state, host reset, and observable I²C behavior need not change together. For slow power loss, log VDD, backup supply, and application state separately rather than using a bus error as a proxy.
Worked example: Does a slowly falling node cross the threshold while isolated?
Suppose external VDD initially measures 3.00 V when an applicable normal-mode observation window begins. For initial screening, assume that after SW1 opens it decays exponentially with a 100 ms time constant and receives no other supply. Using the typical falling threshold of 1.30 V, crossing takes 100 ms × ln(3.00 ÷ 1.30), about 83.6 ms. Both 2 ms and 16 ms are much shorter. The 128 ms and 256 ms windows allow crossing in this illustrative model. For example, after 16 ms the node is still about 2.56 V; after 128 ms it is about 0.83 V.
This calculation screens relative duration. It does not prove that 128 ms guarantees switchover. The actual window may not start at 3.00 V; the supply can have active discharge, leakage, or other paths; and internal sampling and decision rules still apply. A real trace can plateau or decay in stages. Capture both abrupt shutoff and slow decay, then check margin at power corners and in the relevant modes.
| Check | Evidence to retain | Boundary |
|---|---|---|
| Actual power drop | Switch timestamp, RTC VDD and VOUT, other power domains | An open switch does not prove threshold crossing |
| Detection window | SMPTSEL, operating mode, and applicable manual row | Isolation duration is not total switchover latency |
| Backup state | Relevant settings, VBAT, and system log | A software event cannot substitute for power evidence |
| System trade-off | Mean current, charging conditions, and continuous timekeeping | Detection performance is not the only criterion |
Verify the real decay before making a system trade-off
Use the same shutoff method for normal and anomalous boards, probe VDD at the same point, and document the actual load. Check whether the instrument adds a path to a high-impedance decaying node. Compare equipment behavior with and without additional instrumentation if needed. If the bench and production supplies use different capacitance, discharge circuitry, or harnesses, test both. Find out whether a connector, logic signal, or other power domain is holding VDD up. One trace after changing the main capacitor does not establish behavior on every unit.
Compare two supported configurations under the manual while keeping the backup source, board, and other firmware settings unchanged. Record switching action, threshold crossing, and the device’s recognition of backup or recovery. Verify time continuity and whether functions return as expected. If there is a rechargeable backup requirement, separately measure its current and state with the approved method. This helps distinguish a window effect from an unintended change in supply state. Do not approximate normal power loss by shorting or backfeeding a production assembly.
Keep revision records for the power module, energy-storage parts, and RTC. A change to supply capacitance or discharge behavior warrants review even if the RTC is unchanged. Define acceptance in terms of preservation of time, backup entry, and recovery in actual use, with separate current and charging limits. A successful register write is not a system test. Do not apply one setting to every design.
A longer window may not help at all. Suppose main power is disconnected but another domain holds VDD at a final plateau of 1.50 V. Using 1.30 V only as the typical reference, the tail never crosses it even if the initial fall is fast. Identify whether harness connections, interface current, or another module maintains the plateau. Change one condition at a time under the approved bench procedure. Unlike plain capacitive discharge, a sustained plateau usually requires investigating or isolating a board path. Do not force the node low and claim that proves normal production operation. Do not turn the illustrative margin around a typical threshold into a part specification.
Use two capture setups. Trigger one on the external switch and observe long enough to see how total switchover varies with shutoff timing. Zoom the other into the VDD decay to see whether repeated trials share a slope or plateau. Log temperature, load, external connections, backup condition or capacity, and each setting together. Otherwise a comparison at the same window may cover very different power-down conditions. After changing a setting, also check that standby current is within the application budget.
Include each run’s wiring state and instrument timebase so the two decay traces can be compared like for like.
Frequently asked questions
Can we immediately set SMPTSEL to 256 ms when power drops slowly? Not for production without qualification. Check the mode, the measured decline, and the required detection. Verify current, charging, and recovery. If the node still never crosses the threshold, investigate the external paths.
Does a 100 ms time constant exceeding 16 ms establish a bad RTC lot? No. It compares the board’s decay with a detection window, not with a part-defect criterion.
