Firmware · SPI and I²C

SPI modes

An SPI device and its controller must agree on clock polarity and phase, and a mismatch produces data that looks almost right.