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