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

Epson RX-8025SA crystal RTC: why 0x01 does not add +3.05 ppm

In Epson's RX-8025SA digital-offset table, 0x7F selects approximately +3.05 ppm, 0x02 selects approximately −3.05 ppm, and 0x01 means adjustment off. “Add one step” does not mean “write positive one.” Production calibration should record measured error, intended correction and hexadecimal write code separately. Collapsing them into one variable can make software report a successful calibration that changed nothing or changed the direction incorrectly.

The register value is not the measured error

A fast clock needs a negative correction, and a slow one needs a positive correction. Here the sign describes the intended change to timekeeping, not the original error and not the sign obtained by interpreting a byte as an integer. Epson documents register 7 and the conversion table separately. Determine the change to apply to timekeeping, then map it through that table instead of writing a generic signed step count.

Bit 7 is reserved for manufacturer testing and must be zero. Usable offset fields are F6 through F0. Give the byte a defined set of valid values rather than reusing an entire-byte write from another device. Epson's register description says to set all seven offset bits to zero when adjustment is unused. Although the full table shows more than one off code, 0x00 is the documented unadjusted setting to standardize on. A different off code can then be identified as a migration artifact, unexpected fixture behavior or an intentional compatibility case.

Check the less intuitive codes

Intended correctionEpson codeInterpretation
Adjustment off0x00Documented unused setting
About +3.05 ppm0x7FNot positive one
About −3.05 ppm0x02Not a simple sign flip
About ±189.1 ppmPositive 0x42; negative 0x3FPublished endpoints

The complete table also marks 0x01, 0x40 and 0x41 as off. Do not treat them as extra adjustment steps. A positive-looking seven-bit value does not necessarily produce a positive correction. A generic signed eight-bit conversion can even set bit 7 to one. If an old fixture returns a decimal negative number, inspect the actual byte sent on the bus, not only the argument or the software's interpretation of its sign.

Record requested correction, selected table entry and raw readback together. If readback differs, check the register address, whether the software confused seven code bits with the entire byte, and whether an older parsing format was reused. A successful byte comparison proves data transfer, not that the intended correction direction was selected. Unit tests should cover off, the smallest positive and negative steps and requests at both ends of the table, not just one large adjustment.

Verify with examples that have a direction

Suppose a bench compares accumulated time against an independent reference and measures about −3 ppm. Confirm this is a slow rate rather than a fixed offset at the start. This is an example, not a typical device error. The intended correction is positive; the approximately +3.05 ppm setting maps to 0x7F. To measure an unadjusted baseline, use 0x00 and repeat the same measurement method. Instantly resetting the accumulated time difference is not a test of rate correction.

With a measured error of about +3 ppm, the correction is negative, and approximately −3.05 ppm maps to 0x02. If a fixture wrote 0x01 for both cases, Epson identifies it as off. Check code interpretation before replacing a part. Explicitly separate sign conversion from register lookup. An operator can confirm “clock fast” or “clock slow,” while the device record saves both the signed measured error and intended correction. One selection must not silently represent both directions.

Real errors may fall between steps. Define how the offset is rounded, how midpoint cases are handled and whether an out-of-range request fails or goes to further review. Do not silently clamp to the maximum and release a device merely to record completion. Consider measurement uncertainty. If adjacent steps are close to the system acceptance boundary, extend the observation or improve the reference rather than inferring a code from a stray one-second difference in a brief test. Room-temperature adjustment does not prove long-term accuracy across the required operating-temperature range.

Readback is the first check; actual rate is the second

Record the unadjusted rate, write and read back the planned code, then repeat an accumulated-time measurement with the same reference and comparable observation window. Digital adjustment affects accumulated timekeeping. Do not directly subtract absolute errors obtained from different starting offsets. Isolate this test from setting the clock, network synchronization or reinitialization so a deliberate time step is not counted as rate improvement. Epson says the setting does not affect the 32.768 kHz FOUT signal, so a frequency counter on that output alone cannot prove that a digital-offset write succeeded or failed.

Another engineer should be able to reconstruct the decision. Record the manual revision, bench reference, measured error, intended correction, byte and final measured rate. Repeat explicit direction test cases after hardware or software changes. Do not save the action “add one step” without the actual code, or it will be difficult to tell which conversion a deployed fixture used.

Add a rollback record for service. Restore the unadjusted setting and verify it by readback, then separately address the product's requirements for absolute time and ongoing rate. Returning to default does not restore past lost or gained time. If the device also runs an external synchronization service, state which reference is used during testing, so two corrections do not mask one another. Leave production a test sheet covering off and both directions rather than putting only one commonly used code in the fixture.

Compare three ways of reaching the same code table: entering a correction manually, importing a calibration file and restoring an older configuration with a service tool. Compare the actual bytes produced, not the UI strings. If an archive saves only a step count, determine whether its sign represented measured error or intended correction. Do not apply the new convention without that evidence. Begin reconciliation with a known off code and readback, then verify the two smallest steps and respective rate directions. If the report mixes decimal and hexadecimal, label them explicitly rather than directly parsing and sending a printed number. A raw capture can help place the error at operator input, fixture encoding, or a correct write followed by an unsuitable measurement. Reserve “calibration passed” for units that actually meet the project's rate requirement.

Frequently asked questions

Can 0x01 serve as the smallest positive correction?

No. Epson's table marks it off. Approximately +3.05 ppm is 0x7F. Use 0x00 for the unused setting specified in the register description.

Does 0x7F guarantee that the final clock is fast by 3.05 ppm?

No. It selects a positive correction step. The final rate compared with the reference still depends on the original error, environment and measurement conditions. Verify readback and measure the resulting rate separately.

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.