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

The DS3231 output frequency is correct. Why does a different pull-up fix the count?

A DS3231 derives the receiver clock from its built-in 32.768 kHz temperature-compensated crystal oscillator. A counter on short leads reports the expected frequency, but the receiver sometimes misses cycles on an assembled board. A large pull-up chosen to save energy can make the open-drain output rise slowly. Check the time during which the receiver sees a valid high state on every cycle.

Measure from the dedicated output to the receiving pin

Analog Devices specifies the DS3231 32kHz output as open drain and calls for an external pull-up. It is separate from INT/SQW. Verify enable, wiring, pull-up rail and sink-current conditions. Record main and backup supply states separately. The oscillator can run while a missing pull-up rail prevents a visible high state.

Observe the source and receiver with probes of known loading. Record receiver supply, guaranteed high and low thresholds, minimum valid time and any digital filter or synchronization. A scope width measured at half amplitude can be longer than the time above the actual receiver requirement.

Check what contributes capacitance. Fixture leads, probes, connector and inputs share the node. Compare a normal connection, a shorter one and a known added capacitor where appropriate. If the production fixture alone slows the edge, record its load before deciding whether the design needs revision. Change one item at a time to preserve the diagnostic comparison.

Calculate how much high time remains after charging

TI describes the open-drain node as an RC charging circuit. Ignoring leakage and initial low voltage, reaching 70% of the pull-up rail takes about 1.204 time constants. This is time to a stated receiver threshold. It is different from the common 10% to 90% rise-time measurement.

A 32.768 kHz period is about 30.52 μs. Suppose the actual release interval is half a cycle, or 15.26 μs. For 100 pF and 100 kΩ the time constant is 10.0 μs. Reaching 70% takes roughly 12.04 μs, leaving only about 3.22 μs above the threshold. That fails a hypothetical receiver requiring 4.0 μs of qualified high time. Confirm the actual output release width and loaded waveform rather than assuming an ideal half cycle for production.

With the same capacitance and threshold, 47 kΩ gives 4.70 μs and a crossing in 5.66 μs. Usable high time is about 9.60 μs. At 3.3 V and near-zero low voltage, low-state pull-up current increases from about 33 to 70 μA. With half a cycle low, the resistor's low-state average contribution increases by about 19 μA. Total consumption also includes charging and leakage. Verify low-state voltage and sink conditions in the device specification and measure actual system average current.

Verify both clock reception and the low-power requirement

Compare original pull-up, candidate value and maximum representative capacitance with matched captures and receiver counts. Leakage at high temperature can prevent the node from reaching the threshold even if a simplified rise-time model passes. Check whether receiver thresholds are fixed or supply dependent. Keep substitutions within the open-drain and receiver specifications. A stronger pull-up should not conceal a connection fault.

If counts still fall short, align the source trace, receiver voltage and hardware capture indication. If time over the required threshold is adequate, investigate the input function, digital filtering and synchronization. A frequency measurement using another threshold can succeed when the receiver still misses edges. Record both levels and probe load before assigning the symptom to the TCXO.

The DS3231’s built-in 32.768 kHz temperature-compensated crystal oscillator can still run on backup supply. Record clock availability at the pin, pull-up rail voltage and receiver-domain state together. If the product does not need an external clock in that mode, follow its power management requirements for output enable. Use the same pull-up, worst-case connected capacitance, pulse-width method and power measurements for the original and alternate assembly.

If the signal harness has several approved lengths, compare short, nominal and maximum versions at one resistor value. Check whether crossing time tracks the added capacitance. Reflections can also recross a threshold on a longer cable. Inspect for steps or ringing before explaining every feature with one RC time constant.

A chamber feedthrough can add more capacitance than the production harness. Record an unchanged room-temperature reference. Compare it with the approved chamber pickup, and document wiring and estimated capacitance for every setup that differs.

References

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.