LAY-18 No keep-out under the antenna or around the crystal¶
| Severity | Status | Implementation |
|---|---|---|
| suggestion | planned | hard, depends on TOOL-3 |
Looks at. Antenna and crystal footprints, copper and parts around them.
What it catches. Copper, tracks or parts under or near a PCB or chip antenna (or a module's antenna area), and signals routed under or next to a crystal.
Why it matters. Copper near an antenna detunes it and takes most of the range. A crystal is a high-impedance, low-level oscillator: fast signals near it couple into the oscillation (jitter, frequency shift, or failure to start), and the crystal's own pins radiate if the loop is large.
Example. An ESP32 module with its PCB antenna over the base board's ground pour: range drops by a large factor. Espressif recommends placing the antenna outside the base board or cutting the board away under it, and a clearance of at least 15 mm in all directions inside the housing; for the crystal, a gap of at least 2.7 mm to the chip's clock pin and no signal traces under it.
How to check. For antenna footprints (and module footprints with an antenna area), look for copper on any layer inside the keep-out area; for crystals, look for tracks of other nets under the crystal and its load capacitors and within a set distance of the crystal traces.
Fix. Keep-out rule areas on all layers under the antenna; a ground guard ring around the crystal and its capacitors, nothing routed under them.
References. ESP32 HW guide "PCB Layout Design", sections "Crystal", "RF" and "General Principles of PCB Layout for Modules"; AN2867 §7.1 (PCB design guidelines: guard ring, dedicated ground under the oscillator, no signals near it).