</>EmbeddedInterview

What is ESD and how do you protect a board?

MediumElectronics & Hardware Basics

Short answer: Electrostatic discharge is a fast, high-voltage pulse (thousands of volts, nanosecond rise times, amps of peak current) when a charged person or object touches a connector or pin. It can destroy or weaken ICs immediately or cause latent damage and glitches (resets, lock-ups, corrupted registers). Protect external interfaces with TVS diodes placed right at the connector with a short path to ground, add series resistors or ferrites on signals, use proper grounding and enclosure design, and design firmware to recover from glitches.

Hardware measures

  • TVS/ESD diode arrays on every externally accessible line (USB, buttons, Ethernet, CAN, debug headers), chosen with low capacitance for fast signals (USB HS, HDMI).
  • Place protection between the connector and anything else, with a very short, wide ground connection; route the discharge current away from the MCU.
  • Series resistors (e.g. 22–100 Ω) limit current into IC pins; RC filters on slow inputs.
  • Solid ground planes, chassis ground connections at connectors, and spark gaps/shielding where required.
  • Test to IEC 61000-4-2 levels (e.g. ±8 kV contact, ±15 kV air discharge) for products.

Handling: ESD-safe work areas (wrist straps, mats, ionisers), and shipping boards in anti-static packaging.

Firmware robustness against ESD and EMC events

  • Watchdog enabled and serviced from a supervisory task.
  • Periodically re-write critical configuration registers (GPIO modes, peripheral settings) or verify them.
  • Detect and recover from communication errors (I2C bus recovery, re-initialising peripherals), and use CRCs on data.
  • Brown-out reset enabled; log reset causes to diagnose field issues.