IT lexicon › Hardware › Drive strength

Drive strength

Hardware På svenska → Updated: 2026-11-04

How much current an output pin can source or sink — and with it, how sharp the edges are and how much interference the board radiates.

A GPIO output is two transistors, and their size sets both the maximum current and how quickly the load gets charged. Many modern microcontrollers let firmware choose: the ESP32 offers four levels per pin, Nordic's nRF52 distinguishes standard and high drive, and the STM32 controls edge rate through a register that for historical reasons is called "output speed". There is also a limit on the total across a port or package, which is easy to miss when eight LEDs are wired straight to the pins.

The instinct to pick the maximum is wrong. Stronger drive means faster edges, and fast edges mean ringing on long traces, crosstalk and harmonics that make the board fail its EMC test. The right setting is the weakest one that still meets the signal's timing — an LED doesn't need the edges of a 40 MHz SPI clock.

← Back to the lexicon