Skip to main content

Verified electrical formulas & rules

MCU Bootstrap & Strapping Pin Checker.

Strapping pins are analog divider nodes sampled at reset release, not simple boolean checkboxes. This checker computes worst-case voltage intervals against PDF-verified VIH/VIL thresholds and models non-volatile silicon overrides so it never returns a false safe verdict.

Standard calculations

Documented electrical formulas.

1. Loaded Thevenin Interval

When an external resistor fights an internal pull, worst-case bounds are evaluated across [R_int_min, R_int_max] and R_ext * (1 +/- tol) using V = VDD * R_down / (R_up + R_down).

2. Three-Valued Logic Band

guaranteed_1 requires V_min >= VIH_min; guaranteed_0 requires V_max <= VIL_max. Any overlap with (VIL_max, VIH_min) is flagged indeterminate and forces an UNSAFE verdict.

3. Reset RC Rise Time

Computes t_rise = -R * C * ln(1 - VIH_nRST / VDD) and checks margin against the datasheet's strap hold requirement (e.g., 1 ms on ESP32 Table 3-2, p. 23).

PDF-verified reference tables

Exact datasheet citations.

  • ESP32 Series Datasheet v5.2: Tables 3-1, 3-2, 3-3 (pp. 22-23) for GPIO0, GPIO2, MTDI/GPIO12, MTDO/GPIO15, GPIO5, eFuse VDD_SDIO overrides, and 1 ms hold time; Table 5-3 (p. 53) for VIH = 0.75 * VDD and VIL = 0.25 * VDD.
  • STM32G031x4/x6/x8 Datasheet: Section 3.5 (p. 15) for PA14-BOOT0, nBOOT_SEL option bit, and empty-flash System Memory bootloader override; Table 51 (p. 71) and NRST table (p. 76) for VIH = 0.7 * VDDIO1, VIL = 0.3 * VDDIO1, and RPU/RPD = 25-55 kOhm.

Agent access

Free MCP tool: datasheetvend_check_bootstrap_pins

Available at https://datasheetvend.com/api/mcp in FREE_MCP_TOOLS (read-only, idempotent, no API key required, zero model calls).

{
  "tool": "datasheetvend_check_bootstrap_pins",
  "arguments": {
    "part_id": "esp32",
    "vdd_v": 3.3,
    "esp32_flash_voltage_v": 3.3,
    "esp32_efuse_sdio": "unprogrammed",
    "pins": [
      { "pin_id": "gpio0", "wiring": "pull_up", "resistor_kohm": 10, "tolerance_pct": 5 },
      { "pin_id": "mtdi", "wiring": "pull_up", "resistor_kohm": 4.7, "tolerance_pct": 5 }
    ]
  }
}

Cookies. Necessary ones keep you signed in and save this choice. Optional analytics (Google, Microsoft, PostHog) show how the site is used; Microsoft may also use what it records for advertising. Cookie details