Restore the intended alarm configuration, clear the latched AF alarm-event flag as the manual specifies, then re-enable AIE. The RX-8571NB allows locations 08h–0Ah to be borrowed as RAM when the alarm is unused, but the device still interprets those bytes as alarm settings internally. AIE gates the alarm’s action on /IRQ; it is not a reset of the alarm state.
Three ordinary bytes can encode a recurring alarm
Suppose legacy firmware stored 80h at each of 08h, 09h and 0Ah. This sets all three AE bits to 1. Epson states that this combination can trigger an alarm event every minute. With AIE off, that event does not assert /IRQ. A quiet interrupt pin is not evidence that AF has not been latched.
Validate the migration in sequence
Keep AIE off while restoring the minute, hour and weekday/date fields and the corresponding WADA setting. Use the manual’s flag-write rules to clear AF without inadvertently clearing other interrupt sources. Read back the configuration, enable AIE and capture the bus and /IRQ to verify both that stale events no longer wake the host and that the next real match does. If the application still needs storage, move its payload to dedicated RAM rather than using the same bytes for both jobs.
Related selection guide: MERLIN Crystal Timing: Using RX-8571NB User RAM: Do Not Write Across 07h and 10h–1Fh
Resource link: https://www.mecxtal.com.cn/en/handbook/new-0139.html
