The Epson RX-8035SA/LC offers both pulse and held-level periodic interrupts at 1 Hz. The event rate is the same, but pulse mode releases according to the internal waveform while level mode waits for its flag to be cleared.
Check the mode, not just “once per second”
A logger uses the RX-8035 interrupt to wake its controller. A prototype produced one short low pulse per second. After a firmware update, the first low stayed asserted. A stopped oscillator or failed pull-up is not the only explanation. Pulse mode produces a periodic waveform; CPU-oriented level mode can hold the output until software acknowledges the event. A test note that says only “one-second interrupt” overlooks that distinction.
Epson manual ETM35E-11 selects the mode using CT2, CT1 and CT0 in register 0Eh. Code 010 selects ordinary 1 Hz pulse output. Code 100 gives a once-per-second event in level interrupt mode. The output is INTRB and the periodic flag is CTFG in register 0Fh. Sharing an event rate does not imply a shared release mechanism. Read back the actual configuration after initialization before diagnosing the hardware.
Measure the line and flag separately
| Check | Ordinary 1 Hz pulse | Once-per-second level interrupt |
|---|---|---|
| CT2:CT1:CT0 | 010 | 100 |
| Release | Internal waveform sets the pulse length; clearing CTFG does not control it | Clear the flag; also check other active sources |
| CTFG | Reads zero in pulse mode | Set on an event and handled in software |
| Host review | Real edge capture and period | Acknowledgment and correct event identification |
In pulse mode, CTFG is not retained as a record of each event. Slow software polling can see zero while the scope shows a pulse. In level mode, a line can stay low until the event is handled. A controller that waits for another falling edge without clearing the previous event may not get the edge it expects. Check other enabled functions sharing the output before assuming the periodic flag is the only cause.
Worked example: why do the same one-second events look different?
Assume an event occurs and the host takes 1.5 seconds to service it. The ordinary 1 Hz pulse diagram shows a low time of about 92 µs and roughly 999.908 ms for the rest of the cycle, subject to timing conditions such as adjustment. The pulse can end without host service and the next one can still appear on the pin. A slow polling loop that misses the low interval does not prove the RTC produced no output.
In level mode, the next internal event may occur while the line is still low because the first flag has not been cleared. The line need not go high just to signal another falling edge. With a 1.5-second service delay, the observed low can outlast a second. That is not proof that the oscillator period changed to 1.5 seconds or that the output failed. A set flag does not establish a queue of missed events; keep an independent application record if the count matters.
Collect evidence that separates hardware and firmware
Capture supply, INTRB, configuration writes and readbacks, and host service timing together. If a pulse is present but not recorded, check input thresholds, edge settings, acquisition and wake-up behavior. If the line stays low, read periodic and other relevant flags and handle them according to the controlled manual. Check raw clock and calendar separately when needed. Continuous 32.768 kHz output does not establish correct interrupt configuration; a steady low interrupt line does not establish clock loss.
If a logger needs a timestamp aligned to the actual calendar second, check the order of the falling edge and calendar update. The pulse-mode example describes a small delay on the order of tens of microseconds. Verify a repeatable calendar-read method for the application rather than treating a typical delay as a worst-case guarantee. Keep a reference trace and change only the host’s interrupt handling for the first comparison. Do not swap the module, pull-up and mode all at once.
Production instructions should say whether the controller relies on an edge or a held level, and when flags are read and cleared. If sleep changes controller power sequencing, verify interrupts in the actual sleep and wake states. Keep the original and revised configurations with matched-condition results; “once per second” does not define the complete signal behavior.
For a reproducible check, capture the first event and the next two, together with a host-service marker rather than a serial print. For pulse mode, identify whether a hardware edge detector or slow software polling is observing the short pulse. For level mode, delay one acknowledgment in a controlled test and correlate the held low and the clear operation. Establish which condition exists before changing production sleep timing.
If other functions share the status register, do not indiscriminately clear their evidence to release the line. Record which event was handled, the readback before and after clearing, and when the line released. If it remains low after one flag clears, investigate other interrupt sources or another device driving the line. Start with a known periodic-only configuration, then restore the real application and identify when the difference appears.
Record pulse low time and the interval between falling edges separately; they answer different questions. A valid pulse width does not show that every periodic edge was captured. Correct intervals do not show that software completed service. Keep both alongside calendar reads so a production report can be interpreted without guessing what “waveform OK” meant.
Two common questions
Can I change only the code because both settings run once per second?
Not without checking the host. The code also changes an automatic short pulse into a held event requiring service. Verify the corresponding capture and acknowledgment behavior.
Does one falling edge prove there was only one event?
Not in level mode. A low signal can persist through another periodic event without a new edge. Use a verified application record if the number of missed events matters.
