Read the clock mode before decoding the hours register. With /12,24 set to zero, the RX-8025SA operates in 12-hour mode and bit 5 is AM/PM. In 24-hour mode, selected by setting /12,24 to one, bit 5 is the twenty-hours digit. Raw hours 0x12 therefore means 12 AM, or midnight, in 12-hour mode but 12:00 noon in 24-hour mode. This is not a 12-hour oscillator error.
Noon requires two different representations
Epson's conversion table shows noon as 0x32 in 12-hour mode and 0x12 in 24-hour mode. Midnight is 0x12 and 0x00 respectively. Do not use a generic BCD decoder without considering the mode, or change only the mode bit while retaining old hour and alarm encodings. The manual instructs users to select the clock mode before writing time. For migration, normalize time and enabled alarms to internal hours 0–23, then encode for the target mode. Restore from a trusted external time source when available.
Test both boundaries
Exercise 11:59:59 to 12:00:00 and 23:59:59 to 00:00:00. Save the mode bit, raw hour byte and application log, then verify existing alarms. After backup recovery, read retained RTC configuration instead of assuming the application default. If the error is exactly 12 hours, inspect the mode and stored value before changing calibration or the clock component.
Related selection guide: MERLIN Crystal Timing: Saving Four Weekly Wake-Ups with the RX-8025SA Alarm W Day Mask | Crystal & Oscillator Handbook
Resource link: https://www.mecxtal.com.cn/en/handbook/rx8025sa-week-mask-alarm.html
