Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / Packages and Board Assembly

A PCF2129 32.768 kHz temperature-compensated clock runs slow after reflow. Can you reuse an Epson RTC trim?

Do not reuse the register write or apply reflow compensation blindly

The PCF2129 integrates a 32.768 kHz quartz crystal and temperature-compensated oscillator. Its Aging_offset register provides a correction. NXP's application note discusses a typical shift of about −2 ppm after the specified single reflow and a possible +2 ppm adjustment. Measure the assembled product first. Not every board needs that value. Epson's RX8900CE is also a temperature-compensated RTC, but its register map and stored compensation data do not define the PCF2129 register, or vice versa.

A production site may share fixture scripts across products with similar clocks. Document the full RTC code, setting, temperature, assembly history and measurement mode. Do not apply a value from an old work order to an unidentified board revision.

How is +2 ppm encoded?

The PCF2129 Aging_offset register is at 19h with the AO[3:0] field. At the typical 25 °C mapping, 1000 is zero correction, 0110 is +2 ppm, 1010 is −2 ppm and 0010 is +6 ppm. The field is not a direct unsigned ppm number or an ordinary two's-complement value. Use the controlled table and record the readback with the measured result.

AO[3:0]Typical correction at 25 °CMeaning
10000 ppmDefault
0110+2 ppmCandidate to offset a measured −2 ppm
1010−2 ppmCandidate to offset a measured +2 ppm
0010+6 ppmNot a direct encoding of +2

A wrong code can be worse than no correction

If a unit measures −2 ppm and responds typically, adding +2 ppm should bring it close to zero. Writing 0010 instead could leave it around +4 ppm. That is about 0.3456 seconds gained per day or 10.368 seconds over 30 days at constant error. These are examples, not measurements. Verify the residual error after writing; step size and correction are stated under particular conditions.

Why measure after final assembly?

Loose parts and assembled boards have different mechanical and thermal histories. The typical −2 ppm in the application note applies to one reflow using the specified profile, not every assembly or repair. Rework and multiple cycles can produce different results. Use the final assembly as the calibration input and record its history.

Measure at a documented temperature using a suitable output mode. NXP says the default 32.768 kHz CLKOUT cannot be used to evaluate the specified timekeeping accuracy as described; choose the appropriate 16.384 kHz or lower output, or verify calendar timing against an independent reference. Set the counter to the correct nominal frequency for the chosen output. Document the reference, window and initial state.

What to compare with the Epson RX8900CE

Epson's RX8900CE application manual describes temperature correction using stored compensation data and lists stability and aging under separate conditions. Compare completed-device temperature range, frequency performance, backup requirements and supported qualification routines. Do not reuse PCF2129 address 19h and its code on the Epson device. Read the exact applicable manual and register access rules.

Accuracy at room temperature is not a temperature or backup qualification

After room-temperature trim, validate across the intended supply, temperature and backup states. A fixed adjustment for measured offset does not eliminate every temperature-dependent error. Prevent the host from masking drift by periodically setting the RTC. Record raw timekeeping and host time independently if needed. Backup timekeeping and the ability to read or observe the device in backup are separate tests.

If units drift farther after every service visit, check whether corrections are being applied twice. The PCF2129 stores a target bit code, not a command to add another two steps each time. Host display correction may be another layer. Record raw timing, device correction and displayed time separately to locate differences.

Purchasing details and trim records belong on the same worksheet

Specify full device, temperature and main/backup supply requirements rather than just a temperature-compensated 32.768 kHz clock. Record board revision, device, final assembly state, measurement method, initial and final AO and before/after values. If the error is outside the typical correction range, check instrument reference, output setting, assembly and part identity before isolating reworked units or reviewing the process. Do not write an extreme code as a substitute for qualification.

At 16.384 kHz, 1 ppm is only 0.016384 Hz. A simple integer count over a 60-second gate has roughly 0.016667 Hz per count, about one ppm. A finer measurement method can improve resolution, but reference accuracy still matters. More digits do not improve the reference. Follow the open-drain CLKOUT pull-up and receiver requirements so slow edges or inappropriate triggering do not cause missed counts. Record those conditions for repeatability.

Keep three production records: the final assembly with its initial code, the selected correction and settled result, and a repeat in another relevant temperature or supply state. Do not clone a per-board trim into the firmware image for all units. If using one production setting, label it separately from individual calibration and verify it covers the stated lots.

A one-day comparison with integer-second reads can obscure a subsecond error when readings straddle a boundary. Use a suitably longer window or hardware timing capture. Ask a service sheet to retain the before-and-after result and its time reference rather than only confirming that a trim was performed.

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.