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

Extra Counts on a 32.768 kHz Crystal Oscillator? Probe the AKER S3 at the Receiver

A low clock frequency does not imply slow edges. If a frequency counter reads 32.768 kHz at the source but the receiver occasionally counts an extra pulse, compare the threshold crossings at both ends before ordering a tighter frequency grade.

The Taiwan-based AKER S3 32.768 kHz HCMOS crystal oscillator is an example. Its electrical table specifies a maximum rise and fall time of 50 ns and a maximum output load of 15 pF. These define output requirements under stated conditions. They do not describe the remote board waveform or put a lower bound on how quickly an edge can move. For an extra-count fault, the goal is not to get another average frequency reading, but to find where one intended event became two.

Separate repetition rate from edge time

At 32.768 kHz the nominal interval between like edges is about 30.518 µs. The 50 ns edge-time limit concerns one transition and is about 0.16% of that interval. Do not use this ratio to infer transmission-line length or emissions. It only illustrates how a slowly repeating square wave can still have a fast voltage transition. Two crossings tens of nanoseconds apart are unlikely to represent two complete cycles of roughly thirty microseconds each. Check whether the receiver has re-crossed its decision region during one intended source transition.

Check the logic-level conventions as well. The S3 table gives a minimum output high of 90% of supply and a maximum output low of 10%. Duty cycle is evaluated at 50% of supply. These are output conditions, not the receiver’s switching thresholds. The input might be plain logic, Schmitt-triggered, or digitally filtered; obtain the positive and negative decision limits and pulse-width conditions for the actual pin. Even if both devices use a 3.3 V supply, the scope’s default half-amplitude threshold is not a measured receiver trip point.

The April 2024 AKER sheet for the S5 version at the same 32.768 kHz lists a 100 ns maximum edge time and a different package. That comparison shows that equal frequency does not imply equal edge specifications. It does not prove that an S5 sample will always be slower or ring less, nor does it establish mechanical compatibility. A maximum tells you how slow an edge is allowed to be. Investigate a fast-edge problem using the board waveform, interconnect, and receiver conditions.

Check what is counted, then capture the additional event

First verify what the firmware is actually counting. If the hardware counter is set to rising edges only, compare its increment with the number of reference rising edges. In a both-edge mode the same comparison can produce a steady factor-of-two error. Also check for software double accumulation, overflow-handling errors, and unsynchronized observation windows. As an initial test, disable redundant paths, read one hardware count register, and use the same start and stop times for the reference. A consistent doubling and an occasional extra count are different faults.

Next capture source and receiver on two scope channels with a common trigger. Probe close to the relevant pins with short ground connections, and record probe mode, bandwidth, and sample rate. If the source transitions once but the receiver falls back and crosses again, the trace supports investigating board reflections, crosstalk, or changes in the local ground reference. If there is an additional full pulse at both points, investigate clock switching, power, or control logic. If only the software log reports an extra event and the hardware count does not change, start with the software path. Do not erase evidence by adjusting the display threshold until the trace looks clean.

A probe can make some boards improve and others get worse. Its capacitance changes the load, and a long ground lead can introduce measurement ringing. Compare a low-capacitance probe with the original setup, and check whether the actual hardware count changes when the probe is attached. If test nodes differ, save a node sketch and each trace; traces from different nodes or bandwidth settings do not establish a lot difference. If the fault appears at wake-up, capture relevant load transitions and local supply and ground behavior too. That helps separate interconnect effects from supply disturbances.

Worked example using assumed receiver thresholds

Suppose the receiver has observable rising and falling decision points of 1.9 V and 1.4 V. These are illustrative assumptions, not AKER output specifications or universal receiver parameters. After one rising transition at the source, the far end crosses up through 1.9 V at 8 ns, down through 1.4 V at 24 ns, and up through 1.9 V at 42 ns. If the receiver can respond to those short pulses and counts only rising edges, one source transition could produce two counts. The upward crossings are only 34 ns apart, about 0.11% of a normal cycle, so they occupy a very different timescale.

Suppose that under otherwise identical board conditions the minimum of the dip rises from 1.3 V to 1.55 V, with both values measured at the input pin relative to its local ground. The second waveform does not cross the assumed 1.4 V falling threshold. Under this simplified model the second excursion need not create a new decision. Real thresholds vary, and input bandwidth or filtering may block a short pulse. Align the analog trace with the count change from the same test run before declaring an extra or missed count. A visual reading alone is not enough.

For follow-up tests, change one factor on a controlled prototype. For example, shorten a stub or evaluate an approved source-damping option at an existing test footprint. Record total loading, receiver edge shape, valid pulse width, and count result each time. The 15 pF limit should be assessed with input, trace, connector, and measurement loading in mind. A lumped capacitance estimate is not a complete transmission model for a long connection. Do not make a change mandatory for production without before-and-after evidence under comparable conditions.

If the system cannot export individual count events, add a separate marker line in test firmware that toggles when the count discrepancy is detected. Verify that the marker does not itself inject crosstalk, then use it to inspect the pre-trigger history. Do not infer nanosecond intervals from asynchronously printed timestamps.

Keep the 50 ns output limit and system waveform checks separate

LocationEvidence to retainWhat sets the acceptance condition
Crystal oscillatorExact S3 order code, revision, supply, and output loadApplicable manufacturer conditions for that part
Receiver pinInput mode, threshold limits, pulse-width conditions, and filter settingsReceiver documentation and actual mode
InterconnectSynchronized source and receiver traces, test load, and board revisionBoard-level signal validation, not the frequency grade
Counting resultStart and stop times, reference and hardware counts, and event timestampSystem limits for extra or missed counts

Procurement should retain the electrical table and the orderable grade with the revision that applies. Engineering should keep three distinct sign-offs: frequency at the source, valid decisions at the receiver, and correct software accounting. Qualification of steady-state 32.768 kHz alone does not release a receiver node where extra counts have already been observed.

Frequently asked questions

Isn’t triggering at 50% of VDD the standard approach?

That can be appropriate for checking duty cycle if the applicable specification uses that threshold. Diagnosing a repeated receiver decision requires the input conditions of that receiver. Keep the original waveform and interpret it against known thresholds and hardware counts rather than substituting a different scope-trigger percentage for the fault check.

Will a tighter oscillator grade fix the extra counts?

A tighter frequency grade reduces the normal period’s departure from its nominal value. It cannot eliminate two decisions on the same electrical edge. Revisit the frequency budget only if normal period error against the counting window is what the evidence shows. If the extra count aligns with a short repeat transition, continue with the receiver, local supplies, and interconnect.

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.