CLK checks¶
The CLK checks of the check catalogue. Each check has a page of its own: what it catches, why it matters, an example, how better_erc finds it, the usual fix and where to read more, with the test schematics that show it firing.
References used throughout:
- AN2867 · ST, Guidelines for oscillator design on STM8AF/AL/S and STM32 MCUs/MPUs, Rev 24 (2026). Load capacitance (§3.3), gain margin gm/gmcrit > 5 (§3.4), drive level and the external resistor (§3.5), pullability and C0G load capacitors (§3.7), low-speed oscillators (§4.1), crystal selection (§4.2), PCB guidelines (§7.1), LSE and PC13 (§7.4), MEMS oscillators and bypass mode (§10). st.com/an2867
- AN5096 · ST, Getting started with STM32G0 MCUs hardware development, Rev 4 (2025). VBAT (§1.1.1), NRST modes and the reset pulse generator (§1.3.2), HSE and HSE bypass (§2.1), HSI16 accuracy (§2.2), HSI48 with CRS for USB (§2.3), reset in the reference design (§6.1.2). st.com/an5096
- AN4899 · ST, Guidelines for GPIO hardware settings and low-power consumption on STM32 MCUs, Rev 4 (2026): NRST internal pull-up (§6.7), VBAT-domain GPIOs limited to 3 mA (§6.8). st.com/an4899
- STM32G0B1 · ST datasheet DS13560 Rev 6 (2026): HSE 4-48 MHz (Table 42), LSE drive settings and Gmcritmax (Table 43), NRST input (§5.3.15). st.com/stm32g0b1re.pdf
- RM0008 · ST, STM32F101xx ... STM32F107xx reference manual, Rev 21 (2021): HSI 1% (§7.2.2), PLL for the 48 MHz USB clock (§7.2.3). st.com/rm0008
- RP2350 · Raspberry Pi, RP2350 Datasheet: XOSC 1-50 MHz, 5 MHz minimum for the PLL, external clock into XIN (§8.2.1). datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf
- RP2350 HW · Raspberry Pi, Hardware design with RP2350: crystal, 15 pF load capacitors, 1 kΩ series resistor (§4, §4.1). datasheets.raspberrypi.com/rp2350/hardware-design-with-rp2350.pdf
- USB 2.0 · USB-IF, Universal Serial Bus Specification, Revision 2.0 (2000), §7.1.11 Data Signaling Rate (high speed ±500 ppm, full speed ±0.25 %). usb.org/document-library/usb-20-specification
- LAN8720A · Microchip, LAN8720A/LAN8720AI datasheet, DS00002165B: clock circuit, 25 MHz crystal with a ±50 ppm budget (§5.6, Table 5-13). ww1.microchip.com/…/00002165B.pdf
- ESP32 checklist · Espressif, ESP Hardware Design Guidelines, Schematic Checklist (ESP32): Clock Source (40 MHz crystal within ±10 ppm, RTC crystal), Chip Power-up and Reset Timing. docs.espressif.com/…/schematic-checklist.html
- ABM8 · Abracon, ABM8 ceramic SMD crystal datasheet (rev. 2020): outline drawing, pads 2 and 4 are GND. abracon.com/Resonators/ABM8.pdf
- SiT8008 · SiTime, SiT8008B Low Power Programmable Oscillator datasheet: Table 2 (OE/ST/NC pin, pull-up note). sitime.com/datasheet/SiT8008
- TPS3823 · TI, TPS382x Voltage Monitor With Watchdog Timer, SLVS165O (2025): push-pull and open-drain outputs (§7.3.3), watchdog input (§7.3.4). ti.com/lit/ds/symlink/tps3823.pdf
- CDCLVC1102 · TI, CDCLVC11xx 3.3-V and 2.5-V LVCMOS High-Performance Clock Buffer Family, SCAS895B (2017): series resistor near the driver (§8.1, §9.2.1). ti.com/lit/ds/symlink/cdclvc1102.pdf
- Wikipedia, Crystal oscillator, Pierce oscillator, Power-on reset, Watchdog timer, Real-time clock · readable overviews. en.wikipedia.org/wiki/Crystal_oscillator, en.wikipedia.org/wiki/Pierce_oscillator, en.wikipedia.org/wiki/Power-on_reset, en.wikipedia.org/wiki/Watchdog_timer, en.wikipedia.org/wiki/Real-time_clock
- Johnson & Graham · High-Speed Digital Design: A Handbook of Black Magic (Prentice Hall, 1993), chapters 11 (clock distribution) and 12 (clock oscillators).