The seconds-and-higher fields and the hundredths counter in Epson's RX-8803 SA/LC do not stop updating in the same way during access hold. Two individually valid fields can still form an inconsistent reading near a rollover. Start with Epson's hundredths reread or seconds-update flag check, and verify the required STOP on the bus before investigating actual crystal drift.
Why fields from one read can still disagree
The ETM34J-08 and ETM34E-06 manuals from Japan's Seiko Epson note that after communication starts, access hold temporarily defers carry updates for seconds and higher fields. The hundredths count continues, and its register value is captured internally. The Japanese manual also explains that it derives from the 4096 Hz clock upstream of the 1 Hz seconds signal. This hundredths field is part of the current time readout, not the external-event capture buffer. Do not give those paths the same software label.
Near certain rollovers, values in the two sets of fields become readable at different times. The manual describes a temporary readout discrepancy of up to +1 s without a fault in internal timekeeping or updates. This is not a frequency tolerance and does not explain every observed one-second discrepancy. If disagreement with an external reference accumulates, or records show a reset, investigate clock configuration, power, and the reference separately. Do not tune the oscillator for an isolated mismatch or make the application add a second whenever a timestamp seems to go backward.
An inconsistent record need not contain invalid digits. Seconds and hundredths can both be within range, and successful BCD decoding does not show that the fields refer to the same instant. In a real system, a date carry can also occur while the host accesses another higher field. Retain raw bytes, the complete transaction boundaries, and evidence of carry timing to distinguish the device's access-hold behavior from a host-side assembly error or both.
Two manufacturer methods with their own access boundaries
The first method reads and stores the hundredths and required calendar fields, then reads only the hundredths again. A STOP must separate the reads into independent accesses. Complete the reread within 10 ms of the first read as described in the manual. Use the first record if the hundredths values agree; otherwise start again. Do not put both reads in a combined operation without STOP and treat two application log entries as equivalent evidence.
The second method uses the seconds-update flag. Select seconds updates through USEL, clear UF, read the calendar and hundredths, then read UF in a separate access with a STOP as specified. Accept the data with UF zero; if it is one, discard the results and start again by clearing UF. Epson requires the clear-to-read process to take less than 1 s and recommends around 10 ms or less. Do not let a background task clear UF silently between those operations. Select one complete method rather than combining convenient halves of the two as a new validation rule.
When recording this with an oscilloscope or logic analyzer, capture the first read, STOP, and second read together. If a higher-level library combines transactions, verify real bus activity instead of relying on API parameters. Two driver calls alone do not prove that the adapter issued separate accesses. A production record should identify the driver revision and provide a trace of the actual sequence.
Worked example: meeting an 8.0 ms budget does not make every reading valid
Suppose method one is used with traceable host timing and a bus record. The interval between the documented first-read and reread endpoints is 8.0 ms, and STOP is confirmed. The first hundredths value is 98 and the second is 99. Although there is 2.0 ms left against 10 ms, the values disagree, so reject the record and retry. When a later attempt under the same conditions reads 24 twice within 8.0 ms, accept the first group by this method. The values 98, 99, and 24 are illustrative, not measured internal update times.
Suppose an engineer moves the reread into the first access to reduce overhead. The log might report only 4.0 ms, but the missing STOP still invalidates the method. Conversely, two equal readings 12.0 ms apart do not meet the time requirement. Track separation, elapsed time, and the value comparison separately so production records show which criterion was missed.
If the driver retries automatically, define a failure exit and keep elapsed times and rejected readings. One success does not show that all paths finish in time under host load or shared-bus contention. On a continuous logger, use an approved indication of invalid samples when the budget is exceeded; do not silently fill gaps with older values. Exercise rollover and non-rollover windows, then independently verify actual timekeeping if drift is suspected.
When production uses the seconds-update flag method, first check whether other features consume that flag. If it also schedules per-second logs, a test routine clearing it can alter product behavior, and the production task can clear it before the test reads it. Isolate consumers in a verified bench mode, or let one driver own the sequence exclusively. If the project cannot change flag ownership, evaluate the manufacturer's reread method that does not use it and verify its timing requirements.
Also separate the display from the underlying record. A slow display refresh can legitimately repeat an older value for a frame. Event ordering should use the valid timestamp accepted by the application, not the digit that appears to jump in a screen recording. If the report came from visual observation, look for raw register bytes and a bus trace from that time. Without them, reproduce the issue in controlled conditions rather than classifying one display jump as an oscillator frequency error.
Engineering and incoming-inspection checklist
| Check | Evidence to retain | Avoids |
|---|---|---|
| Part and fields | RX-8803 SA/LC marking, manual revision, and current-time or event-buffer addresses | Treating equal-looking values as the same register |
| Hundredths reread | Both values, the intervening STOP, and elapsed time | Checking equality or speed alone |
| Seconds-update flag | USEL, timing of UF clear and read, and task ownership | False acceptance after another task clears the flag |
| Long-term reference | External reference, observation window, power and timekeeping record | Blaming an inconsistent read on crystal drift |
For replacement by another RTC with hundredths, do not treat this two-access sequence as universal. Check how the replacement freezes or captures data, whether its fine fields share a snapshot with higher fields, how flags clear, and what bus rules apply. Reuse the question list and rollover test, not undocumented register behavior.
FAQ
Does a faster bus remove the need for separate accesses?
No. Bus speed changes elapsed time. It does not replace the required STOP or the data comparison. Implement the complete method before optimizing transfer speed.
Can adjusting the crystal correction compensate for a one-second jump?
Do not use correction for that purpose. Verify readout consistency, then measure actual timekeeping independently against a reliable external reference. Calibration cannot repair the combination of mismatched fields.
