Skip to content

CLK-3 Crystal NC pins may need to go to ground

Severity Status Implementation
warning runs in better_erc easy, depends on IMP-1

Data it needs: graph, part classes.

Looks at. Crystal parts and their pin roles.

What it catches. A four-pad crystal whose two non-crystal pads (lid or case pads) are left unconnected.

Why it matters. In 4-pad packages like the 3.2 × 2.5 mm ABM8, pads 2 and 4 are GND (connected to the lid; the crystal sits between 1 and 3, ABM8 outline drawing). Left open, the lid floats and couples noise into the high-impedance oscillator nodes; footprints that leave them unconnected also lose mechanical support.

Example. A KiCad 2-pin crystal symbol on a 4-pad footprint: pads 2 and 4 have no net, the DRC is happy, and the metal lid floats next to XIN.

How to check. Crystals with four pins (IMP-1) where the non-crystal pins are unconnected.

Fix. Use a 4-pin symbol and connect the GND pads to the oscillator's ground, as the datasheet shows.

References. ABM8 outline drawing; AN2867 §7.1 (ground under the oscillator).

Test schematics

Each schematic below is in test_schematics/sources. The block under it is what berc check --only CLK-3 reports on it.

clk-3_crystal_case_pads

The test schematic clk-3_crystal_case_pads The test schematic clk-3_crystal_case_pads

  warning    CLK-3 #drc     crystal Y1: Y1.2 (2) and Y1.4 (4) connect to nothing; on a 4-pad package these are the case pads, and a floating lid couples noise into the oscillator
                            part Y1, pin Y1.2, pin Y1.4
                            fix: connect the case pads to the oscillator's ground, as the datasheet shows