A three-second preload does not make the timer one-shot. The Pericom PT7C4363 uses a 32.768 kHz crystal as its timebase. The manufacturer's example selects the 1 Hz timer source, loads 03 and enables TE. It counts from 03 down to 01 and reloads 03 rather than stopping after the first expiration. An application that needs just one wakeup must explicitly stop and later rearm the timer. Acknowledging the interrupt is not enough.
Distinguish the flag, interrupt mask and timer enable
TF records an expiration. Clearing TF handles that recorded event. TIE controls the timer interrupt, so masking it does not stop an already running countdown. TE controls the timer itself. If firmware clears only TF after the first wake, the same healthy clock can produce another expiration three seconds later. If firmware only masks the interrupt and later unmasks it, do not assume the timer has restarted from the original preload. For a one-shot design, stop the current timer and handle the already-latched event using the documented status-register behavior.
Rearm only for a new request
For the next appointment, use the reviewed sequence to disable, handle the relevant pending status, load the value and enable it again. Preserve the actual bus transactions. In test, arm once, then leave the equipment idle for more than two of the original periods and check for unwanted wakes from this source. Arm it again and verify that the new event still works. If the processor might not wake before a second expiration, define how the system handles or deduplicates that condition. Record TF, the interrupt line and accepted application wakes separately rather than attributing repeated events to crystal inaccuracy.
Related selection guide: MERLIN Crystal Timing: Choosing a 32.768 kHz Crystal, Oscillator or RTC Module by Backup Current and Temperature Accuracy
Resource link: https://www.mecxtal.com.cn/en/guides/rtc-timekeeping.html
