Electrical – Short circuit between Vdd and Vss after high current through microcontroller clamping diode

component-failurediodespowershort

When hotplugging a connector on my PCB, my microcontroller gets hot and a short circuit is formed between Vss and Vdd. One pin of the connector is the power supply ground, another is connected to an IO pin, but is driven at ground potential. When this IO pin makes contact before power supply ground, a high current flows trough internal clamping diode D1, destroying it. Is it possible that this shorts the other clamping diode D2, causing a short between Vdd and Vss?

enter image description here

I have already found a way to prevent this from happening, but I am interested to find out how the short circuit is formed.

Best Answer

By connecting an IO pin before connecting ground you caused an unknown (but clearly destructive) voltage to appear between the IO pin and the microcontroller's own ground voltage. If you intend to hot plug the microcontroller you need to protect the connections, preferably by connecting ground and power before the IO signals and also adding components to limit the voltage on the IO lines.

You have catastrophically damaged the microcontroller, so a short from Vdd to Vss would not be surprising. It could happen in several ways. Without knowing the exact structure of the microcontroller's input protection circuitry you would only be guessing at what happened. If you really want to know you will have to pay a failure analysis lab to investigate.

Related Topic