- SPI uses 3 to 4 wires for sending and receiving data. One wire is a clock line that toggles up and down to drive bits being sent and received. Like with I2C only the master device can drive the clock. Another wire is MOSI, or 'master output, slave input' which is the data output from your board and sent to a connected device. Likewise a MISO wire, or 'master input, slave output', is for sending data from the device to the board receiving it. Finally most chips have a CS, or chip select, wire which is toggled to tell the chip that it should listen and respond to requests on the SPI bus.
0 commit comments