Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / Low-Frequency Timing and System Power

Why a Second RTC Alarm Can Miss the Wake Edge Even While Its 32.768 kHz Crystal Keeps Time

The clock keeps time, yet the sign wakes only for its first scheduled update. Check whether the interrupt line returns to idle after the alarm. A host configured for falling-edge wake cannot observe a new falling edge while the line remains low.

This bench test uses a sign displaying synthetic text without controlling equipment or changing production settings. A real-time clock (RTC) can maintain a calendar and schedule events. The example combines a latched interrupt with a host set to wake on an edge. Behavior depends on the parts and their configuration.

A working calendar establishes that time is advancing

An RTC oscillator supplies the timebase. A calendar comparison can set an alarm flag, and an enabled event can drive an interrupt according to the device's logic. Some devices pulse the output, while others hold it active until the defining internal status is cleared. A correct calendar does not establish that a previous interrupt was handled. An active line also does not establish that a new event was delivered separately.

Epson's RX8900CE from Japan has a built-in 32.768 kHz crystal and digital temperature compensation, with calendar, alarm, and timer functions. A generated and enabled alarm can hold the interrupt active until the relevant flag is cleared rather than automatically releasing it. The pin can be shared by enabled sources. Another source may keep the line active after clearing the alarm flag. One pin level does not identify a particular source.

A falling-edge input detects a high-to-low transition. A low-level input can continue to see a request while the line is active, with repeated entry depending on the controller configuration. Determine the current input mode and line level before each sleep. Verify the implications before changing modes.

Example: one wake-up does not qualify later cycles

Suppose an alarm flag changes to active at 10:00:00 and the pin goes low. The host wakes on the edge and updates the text. At 10:00:02, the update finishes, but a handling step leaves the line asserted. At the next update time of 10:05:00 it is still low. This idealized record contains only one falling edge, so there is no second edge for the host to recognize.

In the comparison, the line goes high again after 10:00:02 and the host returns to the appropriate state. The next alarm drives it low and produces a new falling edge. A successful wake also depends on the pull-up supply, eligible host sleep modes, and when the input is rearmed. The example does not cover all behavior of any particular part.

Record event generation, first host handling, status readback, line release, and return to standby to see whether release occurs in time. Screen behavior alone does not show whether a line stayed low for milliseconds or seconds. Use approved logs and test points to verify the idle state.

Capture the second event on the bench

Use one approved event source for two occurrences. Keep both timestamps, event flags, pin levels, and host logs. Then observe any overlapping shared events expected in actual use and check whether a different source holds the output. State the initial condition of each run and retain existing logs. Use offline simulations of flags and levels if configuration changes cannot safely be made.

CheckEvidence to retainWhat it establishes
RTC and calendarCalendar reading, supply, and clock state at the same timeWhether timekeeping continues
Interrupt sourceSupported events, flags, enables, overlapsWhether a shared output is active for another reason
Host inputEdge or level mode and when it rearmedWhether a subsequent request can be observed
Display stageWake, drawing start, and refresh completion timesDistinguishes missing wake from delayed refresh

Check the pull-up supply domain. If the RTC and host enter different standby states, an open-drain pin that can pull low may lack a stable high when idle. Verify observable states before and after sleep against the board design. A successful first event after power cycling does not qualify subsequent operation if the line fails to return to idle.

Distinguish a busy e-paper display from a missed wake. The host may recognize a request while the panel is still processing, or may never receive the wake. Give the two synthetic screens different IDs and retain independent host state. Keep panel-busy behavior separate from RTC selection.

Specify the interrupt hold and release behavior along with time accuracy

RX8900CE is a candidate for an appropriate interface and does not identify the original part in a commercial sign. Confirm full order code, package, supply, operating temperature, interface, and alarm-output behavior. RTCs containing 32.768 kHz crystals can differ in output, event clearing, and hold time. Verify both the documentation and board behavior before approving a substitution.

Retain separate acceptance results for calendar accuracy under allowed voltage and for two or more events waking the host independently, including how shared sources release the output. Repeat both after substitution. Include wake from standby and return to sleep. One trigger does not qualify the whole cycle.

One offline comparison can mark the screen task complete while the interrupt flag remains active into the next period. Verify that the debug UI reports both states separately. The responsible firmware team should consult controlled device documentation for register-specific clear sequences, which vary by part.

For long-running boards, capture multiple cycles on an isolated bench. For each cycle, record readiness, event, display completion, and return to idle. Mark missing evidence for its particular cycle. Record manual intervention or reset separately. A pass after intervention cannot qualify earlier cycles.

Frequently asked questions

If power cycling restores one refresh, is the RTC crystal defective? Power cycling changes pin and software states and can temporarily clear a latched interrupt. Check whether the output returns to idle before the next alarm.

Will level detection guarantee that no event is missed? Verify repeated triggering under a sustained level and how the particular controller and board return to sleep.

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.