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

Epson RX8901CE RTC alarm mirror at 32h: do the low four bits disable hour matching?

No. On the Epson RX8901CE, 32h mirrors the hour alarm at 08h. Bits 3–0 are HALM_L, the BCD hours units digit. Hour compare control XHAE is bit 7. Epson's April 27, 2026 ETM63E-04 revision history explicitly corrects the old summary's low-field label. Review any masks generated from the old table before release. The mirror is not a second independent alarm, and the document correction is not evidence of new silicon.

Check the address and the field separately

Epson identifies 08h as ALM_HOUR and 32h as ALM_HOUR_MIR. These two addresses refer to the same hour-alarm function. They do not set different times for different channels. Locate the address first, then map each field in the byte. Appearing in another bank does not give the mirror independent comparison logic.

The revision history corrects a spelling error in the mirrored function name and, more importantly, the label on bits 3–0 from XHAE to HALM_L. The updated detailed mapping agrees with 08h: bit 7 is XHAE, bit 6 is general purpose, bits 5–4 hold tens and bits 3–0 hold units. Those last four bits are in one value, not four addresses. Regenerate affected mappings from the applicable revision rather than correcting only a label in a report.

What can 17:00 and 10:00 expose?

FieldCorrect definitionWhat to check
Bit 7XHAE, 0 includes hours in the comparisonTest hour compare control independently
Bit 6General purposeDo not include it in the BCD value
Bits 5–4HALM_H, BCD tensPreserve the tens digit in test vectors
Bits 3–0HALM_L, BCD unitsCompare hours 10 and 17 without altering adjacent fields

With the general-purpose bit zero and comparison enabled, hour 17 is 17h; hour 10 is 10h. If a script erroneously masks the lower nibble, hour 17 may appear as 10 or the units digit may be lost on write. Separate a wrong write, a read-decoding error and a display error. Bit 7 is zero in both examples. Disabling hour comparison while preserving the hour value should change bit 7, not erase the units digit. A nonzero units example exposes the problem better than testing only midnight and 10:00.

Another error is to convert decimal 17 straight into a binary integer instead of packing its decimal digits into two BCD fields. That yields a different byte and may have nothing to do with the revision. Review field assignment and conversion separately. A report saying only “17:00 passed” without the byte is hard to reuse when the generator changes.

Find what was generated from the old field name

Trace the register description, driver header, debugger plugin, factory scripts and reporting code. A local comment fix may not help if the generator still contains the old field. Conversely, Epson documents a typographical correction, not a silicon change. Do not use the revision date alone to reject stock. Establish whether the product depended on the old description and compare actual bytes with the current specification.

Test encoding and decoding offline first, including nonzero units. On an authorized test board, configure an isolated alarm and check the mirror readback between 08h and 32h. Isolate interrupt-driven machinery or loads in the test environment as needed. Matching bytes support the mirror mapping but do not replace a test of the actual hour comparison. If only the debug display is wrong, distinguish presentation from the register before considering a hardware fault.

Verify that changing one field leaves the other alone

Record byte, expected hour, compare state and address for each vector. First change units and confirm bit 7 remains unchanged. Then change bit 7 alone and confirm the units still read back. Verify by writing one address and checking the other using the applicable bus timing and addressing. Logging the full register address aids replay when documentation uses bank and in-bank offset notation.

Check actual application behavior next. In an isolated test with other comparator conditions fixed, check both the expected and an unexpected hour. Save configuration readback and host behavior, not just a test-complete screen, and link the regression case to the manual revision. Keep the case that catches the historic error so a later regenerated driver cannot silently restore it.

Prefer one underlying field description and a separate address alias. That makes it less likely that the primary address gets fixed while the mirror retains a stale mapping. Tooling permission, reporting and interrupt checks should treat the alarm as one object. Record separately whether you verified the document correction, corrected the software, or confirmed application alarm behavior. The first does not establish the other two.

A register library may serve multiple models. Do not globally replace matching field names. Record model, manual revision, table and address, then regenerate only the affected definitions and check that unrelated alarm fields retain their values. A unit test can compare the old and new emitted bytes, but obtain the expected value from the verified map rather than feeding it through the generator being tested. Include hour 23 to check tens two, units three and independent enable. Reject out-of-range inputs at the application boundary; the correction does not define reserved patterns. Preserve raw command readback as well as the decoded form so a later tool update can be checked for a bus or display error.

Common questions

Does the old low-bit label mean this byte contains five alarm-control bits?

No. The current summary and detailed table put XHAE only at bit 7. The low nibble holds BCD hours units. Check whether the incorrect field made it into executable code, rather than assigning it a new function.

Can I use 08h and 32h to program two independent hours?

No. 32h mirrors 08h. Decode both using one field mapping. If the application needs two independent conditions, design for actual device and application capabilities instead of counting a mirror as another alarm.

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.