Skip to content

CLK-5 No pull-up on a reset_n input

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

Data it needs: graph, part classes, rails, values.

Looks at. Reset pins, internal pulls.

What it catches. An active-low reset input (~RST, NRST, RESET_N, RUN, CHIP_PU) with no pull-up, where the part has no internal pull or only a weak one.

Why it matters. A floating reset puts the part in and out of reset with noise. Even where an internal pull-up exists (STM32 NRST, about 40 kΩ, AN4899 §6.7), a long trace to a debug connector or a button picks up enough to glitch it; ESP32's CHIP_PU must not float at all (ESP32 checklist).

Example. An ESP32 module's EN pin routed to a header for an auto-reset circuit and nothing else: without the programmer attached, the module resets when the cable next to it moves.

How to check. Reset-role pins (IMP-1 names, part data NET-7) with no resistor to a rail; with a known internal pull-up, downgrade to a note. A net with a pin the known-parts table gives a permanent internal pull-up (erc_analysis/src/internal_pull.rs: STM32G0B1 and G0C1 NRST, 25-55 kΩ, DS13560 rev 6 Table 60) is not reported; the same pin on a part not in the table still is. Test schematic clk-5_internal_pull (U1, U2).

Fix. 10 kΩ pull-up to the part's IO rail (with CLK-7's capacitor).

References. AN4899 §6.7; ESP32 checklist (Chip Power-up and Reset Timing); AN5096 §6.1.2.

Test schematics

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

clk-5_internal_pull

The test schematic clk-5_internal_pull The test schematic clk-5_internal_pull

  warning    CLK-5 #nc5     U2.1 (NRST) on /NRST_FIX: an active-low reset with no pull-up; only an internal pull (if the part has one) holds it out of reset
                            net /NRST_FIX, pin U2.1
                            fix: 10 kΩ to the part's IO rail, with a capacitor to ground (CLK-7)

clk-5_reset_pull_ups

The test schematic clk-5_reset_pull_ups The test schematic clk-5_reset_pull_ups

  warning    CLK-5 #we0     U3.3 (CHIP_PU) on /ESP_EN: an active-low reset with no pull-up; only an internal pull (if the part has one) holds it out of reset
                            net /ESP_EN, pin U3.3
                            fix: 10 kΩ to the part's IO rail, with a capacitor to ground (CLK-7)
  warning    CLK-5 #tc3     U1.3 (NRST) on /NRST: an active-low reset with no pull-up; only an internal pull (if the part has one) holds it out of reset
                            net /NRST, pin U1.3
                            fix: 10 kΩ to the part's IO rail, with a capacitor to ground (CLK-7)

CLK-5 also fires on the test schematics of other checks: dbg-17_swd_without_reset, i2c-10_non_equal_pull_ups, i2c-1_no_pull_ups, i2c-2_multiple_pull_ups, i2c-7_segments, i2c-9_non_standard_pull_ups.