How SPI communication works

87
The basic architecture of SPI communication is based on four signal lines: SCLK (Serial Clock), MOSI (Master Out Slave In), MISO (Master In Slave Out) and SS (Slave Select). Among them, SCLK is required, and the other three lines can be cut according to actual conditions.