A trim field of 00h, 01h, 40h or 41h does not necessarily represent a change in time correction. The Pericom PT7C4372A/C table lists all four seven-bit patterns as OFF. The register also contains a separate crystal-frequency selection bit, so that equivalence does not extend to the entire byte.
OFF here disables digital time correction. It does not stop the quartz crystal or shut down the RTC. A common service mistake is to store the hardware readback in a signed-integer column and then infer an adjustment directly. This device requires decoding the field using the device table before deciding whether a difference affects the required behavior.
One register contains two separate settings
The PT7C4372A/C uses an external quartz crystal. In register 07h, the lowest seven bits, F6 through F0, encode the time-trim setting. The high bit, /XSL, separately selects the nominal crystal-frequency setting. They arrive in the same bus byte but belong in separate engineering fields. Retain the original byte and then decode each field according to its own specification.
For example, saved bytes 00h and 80h both have the low-seven-bit field 00h, so time trim is OFF in both. Their highest bits differ. Recording only “trim off” cannot establish that the two boards select the same crystal-frequency setting. Conversely, when the frequency selection matches and the test only concerns whether trim is enabled, two different low fields can mean the same state. Decide what the test is checking before requiring equality of all the raw bits.
The manufacturer's table provides the hexadecimal pattern and also includes a signed number. Those are representations, not alternative units for clock correction. Change to ppm after decoding the setting. Converting hexadecimal to decimal only changes the representation of the number; it doesn't explain what the device does with it.
Why not multiply an ordinary signed integer by the step size?
For the 32.768 kHz case, the manufacturer lists 00h, 01h, 40h and 41h as OFF. Near one boundary, 02h corresponds to approximately −3.05 ppm. On the other side, 7Fh corresponds to approximately +3.05 ppm. Treating 01h as an ordinary signed count with one correction step invents an adjustment absent from the table. Converting 40h or 41h into a larger negative magnitude and multiplying by a constant compounds the error.
That does not mean any four full register bytes can be interchanged. The equivalence applies to F6 through F0; the highest bit serves another purpose. It does not erase the need to retain the readback. If a product's manufacturing standard requires a specific byte, or if service engineers need to identify which firmware wrote the value, the difference remains useful evidence. Keep the raw byte, decoded trim state and crystal selection as three fields. Functional equivalence for one check and different traceability evidence can coexist.
| Review item | Manufacturer's definition or example | What to record |
|---|---|---|
| Trim off | Seven-bit fields 00h, 01h, 40h and 41h | Map to the same trim state but retain the raw code |
| Adjacent active entries | 02h and 7Fh are different directions at 32.768 kHz | Decode the specific row, not its neighbor |
| Crystal selection | Register 07h has a separate highest bit | Decode separately and verify the fitted crystal |
| Factory byte comparison | A project may require an exact programmed value | Retain the bytes; do not rewrite automatically |
A numerical check for a service handoff
Suppose one batch of replacements reads 41h in the low field, and the repair order requires only that digital trim be inactive. The table says that is OFF. A different batch reading 02h with the applicable 32.768 kHz setup is not off. To get a sense of scale, if the average effect of −3.05 ppm is applied across a day, the correction contribution is about −0.264 seconds: −3.05 × 86,400 ÷ 1,000,000. This is a conversion, not a measured total error or a claim that every second receives the same instantaneous correction.
The exercise requires evidence of the exact device, nominal crystal frequency and applicable document. A different fitted crystal can be accompanied by a different highest bit. Do not use the illustrative comparison to declare those systems equivalent. Record whether the read took place immediately after power up, after normal initialization, or after a service tool had already written the device. An identical final byte does not tell you that the boards reached it the same way.
Make an offline control comparison too. Export the old tool's uninterpreted bytes and have the new tool display both fields and the decoded state. Compare known table entries. A file parser can be checked without writing a live unit just to test the format. If an actual device needs reprogramming, use its approved board and firmware procedure; no timing or rewrite permission is inferred from this example.
Verify the migration tool, not just the register readback
Give the tool four known inputs for the OFF patterns. Each must produce the inactive trim state while retaining the original numeric value. Add the neighboring 02h and 7Fh rows and confirm that they do not collapse into OFF. Then repeat a low field with a different highest bit; the tool should not suppress the frequency selection to make the display uniform. These checks can be run on a file-reading tool before connecting real hardware.
Write a separate expected result for each input rather than checking the screen once. A test export might contain four separate raw entries, one shared functional label and the corresponding crystal-selection field for each. A view may group entries by function, but should retain the underlying records. A reviewer should be able to recover each original byte and confirm that neither 02h nor 7Fh has been merged into the OFF group.
Keep the origin of each value too: a read-only log and an initialization script answer different questions. A readback tells you the current state, while a script demanding an exact code specifies a manufacturing step. Script compliance, readback and trim behavior can legitimately have separate verdicts. Don't compress them into one pass-or-fail result.
Do not assume another RTC uses four OFF codes even if the field name and signed representation look familiar. Keep the manufacturer reference and supported models with the acceptance record. A tool covering several devices should choose the appropriate table after identifying the device, not invent a shared default for unknown models.
On the board, separate field acceptance from timing acceptance. A correctly decoded readback does not establish that the crystal is free of temperature drift, the board has no added load, or the resulting timekeeping meets the product objective. Use an independent reference and the required observation window to check actual timing. Preserve environmental conditions and timestamps. Since the manufacturer's correction mechanism acts periodically, a single short observation does not determine the full day's result.
Two questions that can be answered incorrectly from the byte alone
Should a repair tool always rewrite an old value of 01h to 00h?
No. If the task is only to check whether correction is enabled, both appear as OFF. If a factory specification requires an exact programmed value, preserve the difference and follow its process. Decide which check is being performed before changing anything.
Does an OFF trim field confirm that 32.768 kHz was selected?
No. That requires evidence from the separate highest bit and the fitted crystal. A seven-bit trim readback alone cannot establish it. If the requirement concerns the complete timekeeping product, check the relevant system behavior as well as the two fields.
