The SPI protocol is a preferred protocol for short-distance communication between microcontrollers and peripherals. This reference covers the signals, the four SPI modes, multi-device wiring, timing, and real-world integration challenges you need to know to use it well.