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

The PCF8563 countdown reached zero. Why did the MCU miss the RTC wake-up pulse?

A battery logger wakes normally on the bench but occasionally stays asleep in low-power mode. Reading the PCF8563 after restoring power shows that its countdown flag was set. Trace the interrupt across the connection between the two devices. Logging an event inside the RTC, producing a low pulse at its pin, and capturing that pulse at the sleeping MCU are separate stages with their own conditions.

Look up the pulse width for the selected setting

The PCF8563 timer can use a pulsed interrupt. Pulse width depends on TI_TP, the selected countdown source, and the loaded value. For example, at 4096 Hz and a load of one, the width is 1/8192 s, about 122 µs. With a load greater than one, it is about 244 µs. The manufacturer's table gives different widths for a 1 Hz source. An expected wake-up every second does not specify how long the MCU input actually stays low.

With standby supply and pull-up wired as in production, probe the MCU wake pin and trigger once on the falling edge. Record low pulse width and rise time. Check which wake pins, edges or levels, and input filtering apply to the selected MCU sleep mode. If necessary, use a longer test pulse to verify the wake path, then restore the target timer setting so two unknowns are not tested at once.

If the signal should remain asserted until software handles it, evaluate the data sheet's level-interrupt mode and verify that clearing the timer flag releases the interrupt. When alarm and countdown share one pin, trigger each separately, read the corresponding flags, and clear them. Retain register settings, measured pulse width, and wake reason in acceptance records so later firmware changes can be traced.NXP PCF8563 countdown interrupt and pulse-width table

Send us a part number or your requirements

Brand, frequency, quantity and delivery target — a useful place to start.

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.