An RX6110SA can keep time on backup power without driving a clock on every output. To retain external 32.768 kHz, check the output route, then verify the open-drain pull-up and the receiver's power.
Correct timekeeping does not prove that the external clock remained active
The Epson RX6110SA real-time clock integrates a 32.768 kHz crystal. Its internal counters can continue on backup power, but the clock exported to another device passes through an output selector. The specification separates the output pins' backup behavior. When normal backup operation takes over, DO/FOUT and /IRQ2 enter high impedance (Hi-Z) instead of driving a clock. /IRQ1 supports output in backup operation. Reading correct time after main power returns establishes internal timekeeping, not continuous external clock delivery.
High impedance is not the same as a driven low. Board-level pull resistors or receiver input circuitry can hold such a node high or low. When a scope shows a flat trace, ask whether the module is driving the node, what biases it and whether that bias supply is alive during backup. If the waveform returns with main power, do not assume that the oscillator stopped and restarted. First compare the pin definitions in both power modes. That can resolve expected behavior without replacing a batch of parts.
Separate the route, frequency and serial interface settings
FOPIN1 and FOPIN0 select the output route. Code 00 selects /IRQ2 and 01 selects /IRQ1. Code 1X selects DO/FOUT for I²C but does not output a clock in SPI mode, where DO/FOUT serves as serial data output. For backup availability, check route 01 to the open-drain /IRQ1 in either serial interface mode. Changing FSEL alone does not move the signal. Firmware can select 32.768 kHz yet send it to a pin that stops driving during backup or that never carries the intended clock.
For backup 32.768 kHz, verify the relevant FSEL setting and physical board route. The table includes code 11 for 32.768 kHz and says not to use that frequency on /IRQ2. Code 00 has a separate I²C case in which CE/FOE enables 32.768 kHz on DO/FOUT. The default output after power-up does not establish that backup routing is correct. For 1 Hz or 1024 Hz, also check STOP. The sheet says STOP=1 still allows 32.768 kHz, but disables both lower-frequency outputs. A useful firmware log includes the serial mode, register address, bit values and the power sequence.
/IRQ1 can operate without producing a valid high on the board
/IRQ1 is an N-channel open drain. It pulls the line low; on release, an external pull-up develops the high level. A resistor tied only to a disabled main rail will not provide the expected backup high. If the receiver is also off, do not assume that it can read pulses or tolerate the applied pin voltage in that state. Review the pull-up supply, module limits, receiving domain and input clamps together. An improvised battery connection that restores the waveform is not a production design approval.
| Check | Record | Decision point |
|---|---|---|
| Output route | SPISEL, FOPIN and measured pin | For backup output, check /IRQ1 first |
| Frequency selection | FSEL, CE/FOE and STOP | Distinguish the crystal frequency from the two lower frequencies |
| Open-drain high level | Backup pull-up rail, node capacitance and input threshold | Available output does not establish valid receiver counts |
| Power transfer | VDD, VBAT, receiver power and edges | Qualify timekeeping separately from external continuity |
Check whether /IRQ1 already delivers an alarm, timer or update interrupt. If the original processor treats that terminal as an occasional wake event, a continuous clock changes the activity at its input. List existing uses before deciding whether a separate clock and interrupt are necessary. If no edge may be lost across switchover, capture the main and backup supplies, module pin and receiver input together and compare with the permitted missing-edge count. The datasheet identifies enabled routes in backup mode. It does not establish interruption-free switchover for every supply ramp.
Split the prototype test into two gates. First ask whether the module is generating the intended output. Capture the relevant pins with main power present, then repeat at the same points after entering the intended backup state. Second ask whether the load receives it. With valid activity at the module, probe amplitude and valid-high duration at the receiver pin and compare against a counter or firmware log. A pulse seen at the source is not an assurance of valid logic after a cable, protection component or interface. If the failure appears only with a probe attached, record its connection and loading instead of assigning the symptom immediately to the RTC.
Specify what must survive the outage. One design may require only uninterrupted internal timekeeping and may allow its external clock to restart with main power. Another may keep a downstream counter alive on backup and must specify how many missing edges it tolerates. Those are different tests. A dark main-power indicator alone does not prove that the module entered the required backup mode. Record the rail voltages at the module over time. In repeat tests, control initial backup voltage, outage length and receiver loading so an incidental change cannot mask a failure.
Example: a live pull-up can still produce a late edge
Assume a backup board uses a 47 kΩ pull-up with 100 pF total line, probe and receiver capacitance. Suppose the receiver needs 70% of the pull-up voltage for a high. A simple resistor-capacitor model gives a 4.7 µs time constant and about 5.66 µs to reach 70% after release. A 32.768 kHz period is about 30.52 µs. If the output releases for about half a cycle, reaching the threshold already takes a sizable portion of that window. With a 10 kΩ resistor and the same assumptions, the time falls to about 1.20 µs, but low-state current rises. These are illustrative calculations, not guaranteed loading, duty cycle or resistor recommendations.
When changing the resistor, also measure open-drain low voltage, usable receiver high duration, backup current and missing counts on switchover. For a hypothetical 3 V pull-up and nearly zero low voltage, a 47 kΩ resistor draws roughly 64 µA while the line is low. A 10 kΩ resistor draws about 300 µA. Neither figure is cycle-averaged current or total module and receiver consumption. A battery-limited design needs both the timing review and the energy budget, not simply the lower resistance.
Two common troubleshooting questions
There is no pulse on /IRQ1. Should we suspect the module first?
Check the pull-up rail and receiver power during backup, then review the route and frequency settings. Capture both the module pin and the receiver in the same acquisition if possible, with the board powered as intended. Software time and a waveform after main power returns cannot distinguish a bad route, a dead pull-up, a missed input threshold or a configuration error. Separate those checks before swapping parts.
Can we tie /IRQ2 directly to /IRQ1 to retain a backup clock?
Do not make that change based on the pin names. /IRQ2 is CMOS and /IRQ1 is open drain. They can interact on the same net during normal power and may be serving different interrupt functions. Use the specified route for the clock, verify the electrical limits and plan for existing interrupts. If the legacy PCB lacks a suitable connection, decide whether wiring or configuration needs to change rather than masking the difference with a temporary short.
