32.768 kHz Quartz does not oscillate

Why is my 32,768 kHz crystal not resonating?

Root cause analysis and solutions for the most common problem in embedded development

The problem that every developer knows

The circuit is fully assembled, the microcontroller boots - but the real-time clock does not run. The 32,768 kHz crystal does not oscillate. Or even worse: sometimes it oscillates and sometimes not. Or it swings on, but then stops sporadically.

This problem is one of the most frequent and at the same time most frustrating error patterns in embedded development. The 32,768 kHz clock crystal is an electrically sensitive component that works in conjunction with a weak oscillator circuit - and this interaction can be disrupted by numerous factors.

This article systematically analyses the most common causes of oscillation problems with 32,768 kHz quartz crystals and provides specific practical solutions.

1. the ESR of the quartz is too high for the oscillator circuit

Frequency: Very high - the No. 1 cause

The ESR (Equivalent Series Resistance) is the effective series resistance of the crystal at the resonant frequency. It is the most important - and most frequently underestimated - parameter when selecting a 32.768 kHz crystal.

The oscillator circuit in the microcontroller must generate enough energy to make the quartz oscillate. The value of the negative resistance (|-R|) of the oscillator circuit must be significantly greater than the ESR of the crystal. This ratio is known as the oscillation margin:

Oscillation Margin = |-R| / ESR

This factor should be at least 5, preferably 10 or higher. If it is below 3, the oscillation is unsafe. In the automotive sector, an SF >=10 is generally required.

Why is this particularly critical at 32,768 kHz?

In contrast to MHz crystals (typical ESR: 20-60 Ω), 32.768 kHz crystals have an ESR in the kiloohm range:

Housing size

Type. ESR (max.)

Rating

3.2 x 1.5 mm / 2-pad

70 kΩ

Uncritical for most MCUs

2.0 x 1.2 mm / 2-pad

80 kΩ

Limiting for weak drivers

1.6 x 1.0 mm / 2-pad

90 kΩ

Critical - only for MCUs with strong drivers

1.2 x 1.0 mm / 2-pad

100 kΩ

Very critical - carefully check the swing-back safety

At the same time, the 32,768 kHz oscillator stages in modern MCUs are deliberately optimised for minimum power consumption. The typical negative resistance in many low-power MCUs is only 200-500 kΩ.

Solution:

Use a crystal with the lowest possible ESR. Prefer the 3.2 x 1.5 mm housing with max. 50 kΩ. LRT resonant crystals (Low ESR Resonator Technology) offer significantly lower ESR values than standard crystals, even in smaller housings.

2. incorrect load capacity (load capacity mismatch)

Frequency: Very high

Each 32,768 kHz crystal is specified for a certain load capacitance (CL) - typically 4 pF, 6 pF, 7 pF, 9 pF, 12.5 pF or 18 pF. Mismatching is one of the most common causes of transient response problems.

The load capacitance is the total capacitance that the crystal "sees" at its terminals:

CL = (C1 × C2) / (C1 + C2) + Cstray

Where C1, C2 are the external load capacitors (if present) and Cstray is the parasitic capacitance (PCB leads, IC pins, typically 1-5 pF).

  • Load capacitance too low: The crystal does not receive sufficient energy feedback → oscillation can fail.
  • Load capacitance too high: The oscillation amplitude is damped, the frequency shifts downwards and the power consumption increases.

Solution:

Use a crystal with exactly the CL value recommended in the MCU data sheet. Calculate external load capacitors: C_external = 2 × (CL - Cstray). Example: CL = 7 pF, Cstray = 2 pF → C_external = 10 pF per side. (Calculation:102/20+2=10pF per C_ext.).

3. PCB layout error

Frequency: High - and often difficult to diagnose

The 32,768 kHz quartz operates with extremely low currents (nanoampere range). Any parasitic capacitance and any coupled interference can affect the oscillation.

  • Traces that are too long: Every millimetre adds parasitic capacitance (approx. 0.5-1 pF/cm).
  • Digital signals in the vicinity: Clock lines or SPI buses couple in interference.
  • Ground plane directly under the crystal: Increases the parasitic capacitance in multilayer PCBs.
  • Vias in the crystal area: Act as interference antennas.
  • Flux residues and moisture: Cause leakage currents - increased at low temperatures.

Solution:

Quartz directly next to the MCU pins (max. 5 mm), short symmetrical conductor tracks, guard ring with ground recess under the quartz, no signal lines between the quartz pins, clean PCB thoroughly after soldering.

4. missing or incorrect feedback resistor

Many MCU oscillator circuits require a high-impedance feedback resistor (Rf) in parallel with the crystal (typically 5-15 MΩ). It biases the inverter stage into its linear operating range. Some MCUs have this resistor internally (STM32, nRF52, ESP32), others require it externally (some MSP430 variants, certain 8-bit MCUs).

Solution:

Check the MCU data sheet to see whether an external Rf is required. If yes: typically 10 MΩ parallel to the quartz. If oscillation is problematic despite internal Rf: try external 15 MΩ.

5. overload of the quartz (drive level too high)

The 32,768 kHz tuning fork crystal is specified for a maximum drive power of typically 0.5-1.0 µW. Exceeding this leads to frequency drift, accelerated ageing and, in extreme cases, mechanical breakage of the resonator.

In practice, overloading occurs if there is no series resistor (Rd) for limitation.

Solution:

Check whether the MCU data sheet recommends a series resistance (Rd) (typically 47-470 kΩ). Measure the oscillation amplitude: it should be 200-600 mV peak-to-peak. Caution: Use 10:1 probes (10 MΩ) or better 100:1 - a 1:1 probe loads the oscillator so much that it can stop!

6. quartz was damaged during soldering

32.768 kHz tuning fork crystals are temperature-sensitive. If the soldering temperature is too high or the soldering time too long, the ESR can deteriorate, change the resonator frequency or cause the housing to lose its hermeticity.

Solution:

Strictly adhere to the soldering profile: Peak temperature max. 260 °C for max. 10 seconds (IPC/JEDEC J-STD-020). Hand soldering: max. 3 seconds at 350 °C, not directly on the housing. Do not exert any mechanical pressure on the quartz.

7 Incorrect software configuration

Frequency: High - especially when changing the MCU or during initial commissioning

With many modern MCUs, the 32.768 kHz oscillator is not automatically active after the reset.

  • Oscillator not activated: The LSE (Low Speed External) was not switched on in the clock tree.
  • Incorrect pin configuration: Pins configured as GPIO instead of oscillator inputs.
  • Timeout too short: The crystal can take 2-5 seconds to oscillate - especially at low temperatures.
  • Internal capacitances not configured: MCUs with internal trimming capacitances have not been set.
  • Incorrect oscillator mode: Crystal mode vs. external clock mode mixed up.

Solution:

Activate LSE oscillator correctly, set startup timeout generously (≥ 3 seconds), implement fallback to internal LSI. Use MCU configuration tools (STM32CubeMX, nRF Connect, Simplicity Studio).

8. temperature problems

The ESR of a 32,768 kHz quartz crystal is temperature-dependent and increases at low temperatures. A quartz crystal that reliably oscillates at room temperature can fail at -20 °C or -40 °C.

Solution:

Test the swing-on safety at the lowest operating temperature - not just at 25 °C. Use LRT crystals with low ESR. If in doubt: choose a larger housing (3.2 x 1.5 mm) that still offers sufficient reserve even at -40 °C.

9. mechanical damage or contamination

32,768 kHz tuning fork crystals have an extremely thin resonator. Mechanical shocks, excessive placement pressure during pick-and-place or ultrasonic cleaning can lead to microcracks.

Solution:

No mechanical pressure on the quartz housing.

10. the quartz is OK - but the measurement simulates a problem

Frequency: Very high when troubleshooting!

A standard 10:1 probe has 10-15 pF input capacitance. With a crystal with 6 pF load capacitance, this doubles to triples the load capacitance - enough to stop the oscillator.

Solution:

Do not measure directly on the quartz! Instead: Check the LSE ready flag in the software. If oscilloscope measurement necessary: Use 100:1 probe or active FET probe (< 1 pF). Alternatively: Configure MCU timer with 32.768 kHz clock and measure GPIO output.

Summary: The most common causes at a glance

#CauseFrequencySolution (short version)
1ESR of the quartz too highVery highQuartz with lower ESR (LRT), larger housing
2Incorrect load capacitanceVery highAdapt CL value to MCU requirement
3PCB layout errorHighShort lines, guard ring, no sources of interference
4Incorrect software configurationHighActivate LSE, extend timeout, configure pins
5Missing feedback resistorMediumRf according to MCU data sheet (typically 10 MΩ)
6Solder damage to the quartzMediumMaintain soldering profile, avoid mechanical stress
7Overload (drive level)MediumUse series resistor (Rd)
8Temperature problemsMediumWorst-case test at Tmin, allow for ESR reserve
9Measurement error (probe)Very high*Measure indirectly, use 100:1 sample
10Mechanical damageLowObserve handling instructions

*When troubleshooting - not as the cause of the actual problem

Prevention is better than troubleshooting: five design guidelines

Rule 1 - Allow for ESR reserve: Select a crystal with ESR significantly below the MCU maximum value. Swing safety factor ≥ 5.

Rule 2 - Match load capacitance exactly: Adopt CL value from MCU data sheet, take parasitic capacitance into account.

Rule 3 - PCB layout with care: Quartz directly next to MCU pins, short symmetrical lines, remove flux residues.

Rule 4 - Worst-case testing: Check oscillation at lowest temperature and lowest supply voltage.

Rule 5 - If in doubt, choose larger: The 3.2 x 1.5 mm ceramic quartz with 50 kΩ ESR costs less and is more reliable than smaller alternatives.

Problems with swinging? We can help.

Our frequency experts will carry out transient response analyses and recommend the optimum crystal for your application. Contact us - we will analyse your circuit and find the right solution.

All product designations and brand names mentioned are the property of the respective manufacturer and serve exclusively to describe the technical context.

FAQs

Why does a 32.768 kHz crystal on the RTC of my microcontroller not oscillate?

A 32.768 kHz crystal often does not oscillate if the oscillator circuit of the microcontroller does not provide sufficient drive reserve. The ratio between the negative resistance of the MCU and the ESR of the crystal, which is referred to as the transient response safety factor, is particularly critical. If this factor is too low, the crystal does not start at all, only sporadically or stops again during operation. As clock crystals in the kHz range have a significantly higher ESR than MHz crystals, they are much more sensitive to weak drivers. To ensure stable operation, a crystal with the lowest possible ESR should therefore be selected and its suitability for the respective MCU should be specifically tested.

What role does the ESR at 32,768 kHz quartz crystals play for safe oscillation?

The ESR is the most important electrical parameter when it comes to the resonance of a 32.768 kHz quartz crystal. It describes the effective series resistance of the crystal at resonance and is typically in the kiloohm range for tuning fork crystals. The higher the ESR, the more energy the oscillator circuit must supply in order to make the crystal oscillate reliably. However, many modern low-power microcontrollers work with deliberately weak oscillator stages in order to save power. For this reason, crystals with low ESR, for example in a 3.2 x 1.5 mm design or with Low ESR Resonator Technology, are often the better choice for robust RTC designs.

How does the load capacitance CL influence the transient response of a 32.768 kHz quartz crystal?

An incorrectly tuned load capacitance is one of the most common causes of oscillation problems with 32,768 kHz quartz crystals. Each crystal is specified for a defined CL value, which the circuit must adhere to as precisely as possible. This includes not only external load capacitors, but also parasitic capacitances of traces, pins and layout. If the actual load capacitance is set too high or too low, the oscillation can become unstable or fail to occur altogether. Therefore, the CL value recommended in the MCU data sheet should be taken into account exactly and the external capacitors should be calculated correctly using Cstray.

How important is the PCB layout for a 32,768 kHz crystal in embedded applications?

The layout is crucial for 32,768 kHz crystals because these components operate with extremely low currents in the nanoampere range. Even small parasitic capacitances, asymmetrical conductor paths or coupled interference can impair the oscillation or interrupt the oscillation. The crystal should therefore be placed as close as possible to the oscillator pins of the microcontroller, ideally less than 5 mm away. Short and symmetrical conductor paths and the avoidance of signal lines between the crystal connections significantly improve stability. A clean PCB without flux residue also helps, as contamination can also be problematic with these high-impedance circuits.

When are feedback resistor and series resistor necessary for a 32.768 kHz crystal?

A feedback resistor in parallel with the crystal is required if the oscillator circuit of the microcontroller does not have an internal bias resistor. It ensures that the inverter stage is operated in the linear operating range and that the crystal can oscillate at all. Typical values are 5 to 15 MΩ, although 10 MΩ is often used. A series resistor, on the other hand, serves to limit the drive power of the crystal and prevent overloading. As tuning fork crystals are only specified for very low power levels, the oscillation amplitude should also be checked and a high-impedance 10:1 or better 100:1 probe should be used for measurements.

Why PETERMANN-TECHNIK for oscillation problems with 32,768 kHz crystals?

PETERMANN-TECHNIK is the right address when it comes to the selection and reliable use of 32,768 kHz crystals in embedded systems. The company combines in-depth expertise in ESR, load capacitance, oscillator margins and layout requirements with practical advice for industrial applications. Especially with sensitive RTC circuits, this experience helps to systematically limit sources of error and reliably select suitable crystals. PETERMANN-TECHNIK supports developers with technical understanding of microcontroller oscillators, low-power designs and robust series solutions. As a result, customers receive not just a component, but a well-founded solution for stable and vibration-proof real-time clock applications.

Telephone contact

Our frequency experts are there for you

Call now

Write to us

Send us an e-mail - we will be happy to help you

Write an e-mail now
Webshop