Skip to content

SEQ-3 SD card insertion inrush

Severity Status Implementation
warning planned mid, depends on NET-7, NET-5

Looks at. SD socket, its VDD path, capacitors.

What it catches. An SD or microSD socket whose VDD comes straight from a board rail, with no power switch or series resistor; or a switch with the card's decoupling on the wrong side of it.

Why it matters. A card carries its own decoupling capacitance, and an inserted card charges it from the rail in microseconds. The rail dips, the MCU sharing it browns out or resets, and the card itself may not reach a clean power-on reset. A power switch also lets firmware power-cycle a card that hangs, which the SD protocol has no other way to recover.

Example. A microSD socket on the MCU's +3V3 with 100 nF: hot insertion of a card with ~10 µF dips +3V3 by hundreds of mV and resets the MCU. With a TPS22918-class load switch with a slow rise time and the 4.7 µF on the card side, the dip stays in the noise.

How to check. Find the socket (library class or symbol), follow its VDD pin: if it reaches a board rail through nothing but copper, report; if a switch or resistor is there, the capacitors must sit between it and the socket (card side).

Fix. A load switch with slew-rate control (or a PMOS with an RC on the gate, SEQ-6) driven by a GPIO, card decoupling after it.

References. SLVA670 §1.1 (effects of load capacitance), §2 (problems caused by inrush current), §3.3 (integrated load switches); Wikipedia, Inrush current.