← back to legend
Physical / electrical concepts

Bus contention / collision

When two push-pull outputs try to drive the same wire in opposite directions. Shorts VCC to GND. The reason SPI can't be multi-drop.

How it looks

Drawing
TWO PUSH-PULL OUTPUTS ON ONE WIREsupply straight into ground
One chip pushes high while the other pulls low: a short through both chips.

How it works

  1. Chip A drives the wire HIGH; chip B drives it LOW at the same moment.
  2. Current rushes from A's supply through the wire into B's ground: a short circuit through both outputs. The level is undefined and the chips heat up.
  3. That is why SPI gives each chip its own select line, and why shared lines use open-drain or Hi-Z.

Where it fits

The safe alternative is wire-OR on an open-drain bus.

← back to legend