INT1 and INT2 use different payload lengths depending on the function selected by Status Register 2. Page 32 directs the designer to set that status before accessing the INT registers. In alarm mode they hold three-byte alarm time data. In other statuses they are one-byte registers; when producing a user-set frequency, that byte contains the frequency data. A driver cannot derive payload length from the name INT1 alone, and independent tasks should not change mode and transfer data without coordination. Bus activity does not show that the intended data was accessed.
The Register Name Stays the Same While Its Meaning Changes
| Current context | INT1 or INT2 role | Acceptance action |
|---|---|---|
| Status Register 2 selects the corresponding alarm | Three bytes of alarm time | Use the three-byte alarm transfer and decoder |
| Other operating status | One-byte register | Do not request three bytes just because the name matches |
| User-set output frequency | One byte of frequency data | Do not parse it as the start of an alarm time |
| State unknown or unsupported by evidence | Meaning and length not established | Establish state first; do not guess between lengths |
The device uses an external 32.768 kHz crystal for its timebase. The question concerns how the host interprets register traffic, not how many frequencies the crystal oscillates at. Page 32 defines the Status Register 2 prerequisite; page 33 depicts INT access and user-frequency access separately. Read them together. Similar device selection and line activity in the two diagrams do not choose the format; the current function does.
Do not confuse INT1/INT2 registers with voltage on the two physical interrupt pins. Length is a transaction property. Pin activity also depends on supply, configuration, pull-up and load. A pin transition cannot establish the transaction length; correct framing cannot substitute for output verification. A separate real-time data register is not alarm storage just because both represent time.
Choose the Function Before Building the Transaction
Use distinct driver operations for alarm time and one-byte data. Each should require traceable state evidence before choosing the payload and decoder. If a legacy abstraction only accepts an endpoint and length, add function context. Do not try one read under an unknown state and guess whether the bytes look like time or frequency. A coincidentally valid format does not establish the mode.
Selecting a function can itself change the board output. Use the approved configuration and maintenance window. If the setting can be established from an authorized state, verify it; if the state must change, do that under the applicable procedure. The vendor prerequisite does not authorize every service tool to change operational modes or promise an interruption-free live transition. An unverified request can return “state not established” instead of attempting an arbitrary transfer.
Test Both Formats and Include a Concurrency Counterexample
In one offline case, access INT1 in an approved alarm context and require three bytes interpreted by the alarm table. In another, use user-set frequency on the same INT1 and require one byte and the frequency decoder. That catches two function names that still call a fixed-length backend. With state missing, require an incomplete result. These are format tests, not claims about whether every wrong-length physical transaction will be rejected or what side effects it might have.
A concurrent task could change Status Register 2 after the first task verified it. Prevent that through a single device owner or approved synchronization around state selection and access. The datasheet does not imply that the hardware offers an atomic software transaction. The engineering objective is to prevent a racing state change from invalidating framing. Log who set state, the actual evidence for it, and the transmitted transaction separately.
Preserve State, Raw Frames and Meaning at Handoff
Give service records three fields: selected function, transaction direction and actual length, and decoded meaning. A value without context remains unclassified. A software log containing only the first byte should prompt recovery of the original frame, not prove that no other data existed. An ACK must not be labeled “used the right function.” That misdiagnosis can lead to unnecessary part replacement.
Add an upgrade regression: the old release uses alarm, the new release chooses user frequency, and the same access component must switch to a one-byte decode. Test the reverse; do not carry over one byte. Hardware owners should be able to validate pin and load, while software owners verify state and traffic. Restore an approved configuration under the project's procedure and verify its function and output rather than treating an error-free read as completion. Other devices with similarly named INT registers do not inherit this rule.
Submit two validation requests with the same board position and INT number but different established states. The first should preserve three actually accessed bytes, not two added zero placeholders. The second should return only one byte with a known role. Keeping the remaining inputs fixed catches a driver that uses port number as a fixed-length index. Retain setting and access order as well; the final status value does not establish the state at the earlier transfer.
Evidence review does not require replaying writes on a customer's active equipment. Start with authorized records, mark gaps, and determine whether an isolated fixture test is needed. This preserves the original evidence without changing an operational alarm or output just to prove payload size.
Frequently Asked Questions
If INT1 always acknowledges, can I use a fixed three-byte read?
No. The three-byte structure applies when that register is set as alarm time data. Other statuses use one byte. Confirm function before selecting length.
Can I reuse the alarm decoder after changing to user-set frequency?
No. The name is the same, not the structure. Use the one-byte frequency interpretation in the new state and verify the physical output separately.
