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

An S-35390A crystal runs 75 ppm fast: choose between 20- and 60-second correction modes

Clock calibration depends on both step size and total adjustment range. The S-35390A's longer interval has finer resolution but a narrower range. Measure the uncorrected clock rate and choose a mode that can cover the error first.

Read the range and step size separately for each interval

Japan-based ABLIC's S-35390A is a two-wire real-time clock (RTC). It adjusts pulses in the divider to correct the calendar rate; it does not retune the external 32.768 kHz crystal itself. The manufacturer's correction table lists two modes. With correction register bit B0 at 0, correction occurs every 20 s, with an approximately 3.052 ppm step and a range of −195.3 to +192.2 ppm. With B0 at 1, correction occurs every 60 s, with an approximately 1.017 ppm step and a range of −65.1 to +64.1 ppm. These values apply to the specified function on this part, not to RTC correction codes in general.

Consider the sign as well as the magnitude. A clock that runs fast needs negative rate correction; a slow clock needs positive correction. Writing “about ±65 ppm” can lead to an incorrect decision near the limit. Enter the positive and negative limits separately in the material or qualification record, along with the step size for each mode. Do not pair one mode's widest range with the other mode's finest step to create a specification that does not exist.

Worked example: check coverage before estimating residual error

Suppose a battery logger uses the same revisions of crystal and RTC across the build. At the specified temperature and supply, production requires corrected average rate error within ±2 ppm. With existing correction disabled as specified, a first article measures +75 ppm against an independent reference: the clock is fast. This is a hypothetical example, not a measurement distribution or a production guarantee for the S-35390A or any crystal.

In 60 s mode, the largest negative correction is about −65.1 ppm. Adding the values using a small-error approximation leaves about +9.9 ppm even at the limit. That misses ±2 ppm, so a different rounding strategy within that mode will not help. In 20 s mode, the required negative adjustment is within range. Using the nominal 3.052 ppm step gives approximately 73.248 ppm for 24 steps, leaving about +1.752 ppm. This is only an approximate calculation. Compute and program the actual register value using the manual, read it back and remeasure on the bench. Estimated margin is no substitute for uncertainty analysis and production validation.

Uncorrected boardCandidate modeWhat the result supports
+75 ppm fast60 s, largest negative correction about −65.1 ppmAdjustment range is insufficient; about +9.9 ppm remains even in the idealized case
+75 ppm fast20 s, estimated 24 negative stepsRange is adequate; approximate residual +1.752 ppm, pending programming and retest
Another board +15 ppm fastEvaluate 60 s firstRange is adequate and the step is finer; margin still needs verification

Continue with the hypothetical ±2 ppm target. If the uncorrected clock runs faster at a colder condition, a mode that passes at room temperature may no longer cover the error. Measure the required temperature range before deciding whether to program individual boards, vary correction with temperature or choose a crystal solution with better temperature behavior. A fixed mode and programmed value do not track changes due to temperature, supply or aging automatically.

Production also needs to decide whether different boards may use different modes. If they can, agree who records the initial error, how the selected mode is tied to the board ID and whether measurement must be repeated after crystal replacement. If all units use one fixed firmware setting, review measured extremes from fast and slow boards. An average unit is not evidence that every unit can be corrected. Keep rapid room-temperature sampling separate from claims covering the full operating temperature range.

Use an observation window that includes the correction events

Correction is applied on a 20 s or 60 s cadence. One short measurement after programming may not include enough correction events to establish the average rate. Use the calendar or an appropriate output as allowed by the specification. Compare against an independent reference for multiple complete correction intervals. Logs from the controller that wrote the register are not an independent time reference if it shares the clock or automatically synchronizes in a way that hides some error.

Separate running rate from time already gained or lost. Changing a correction value improves the future average rate; it does not automatically remove an existing offset. Record initial error and compare the difference between start and finish. If the existing calendar must also be set to the correct date and time, handle synchronization separately and record when it happened. Do not credit a manual reset as improved timekeeping by the device.

Also verify settings after reset or power restoration. A debug command may successfully set correction on a first article, while production initialization later writes the disabled value or switches modes. Record the initial configuration after boot and test normal resets, power recovery and any required exit from backup. Determine whether firmware intentionally restores a value, the device retains it or the conditions do not permit that behavior. One bench setting is not proof of what units will do after delivery.

Evidence for procurement and engineering

CheckEvidence to retainDecision basis
RTC and crystalFull order information, applicable manual, crystal and board IDDo not carry over another device's encoding
Raw errorUncorrected rate, direction, temperature and supplyCompare against both ends of the candidate range
Programmed modeB0, remaining settings, readback and firmware revisionSeparate calculated settings from active settings
Calibration retestIndependent reference, window, differences and measurement uncertaintyVerify the average rate against the limit
Production coverageTemperature, lots, settings after power recovery and acceptance rulesDo not rely on a single room-temperature board

When a supplier quotes only a crystal's initial tolerance, that number can help screen whether the range might cover the initial error. Loaded error, thermal drift and supported aging still belong in the system budget. If 60 s mode is selected, retain evidence that it covers both fast and slow cases under project conditions. Finer steps do not make it a better choice without enough range.

Use a known small-error board as a control when practical. Program each mode separately and follow several observation intervals. The point is not to find an unusually accurate sample, but to verify that the test can resolve differences between settings. If both outcomes fall within measurement uncertainty, improve resolution or extend the observation rather than ranking them. Keep theoretical coverage, predicted residual and verified clock rate distinct. If the crystal, board load or temperature range changes later, the reviewer can see which condition needs a new test.

Frequently asked questions

Can I set 60 s mode to its limit and then increase the register value a little more?

Do not assume out-of-range data gives more correction. Use the valid codes and range in the controlled specification. If more negative adjustment is needed, evaluate the wider mode or reduce the system's uncorrected error.

Is the 20 s mode too coarse to meet ±2 ppm?

Not necessarily. Compare available settings near the measured uncorrected rate, estimate the residual and retest across complete intervals. Some boards will pass; others may not have enough margin.

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.