SPI (Serial Peripheral Interface)
What is SPI ? SPI (Serial Peripheral Interface) is a synchronous , full-duplex communication protocol used to transfer data between a master (e.g., microcontroller) and one or more slaves (e.g., sensors, memory chips). SPI uses 4 main lines : Line Full Name Direction Purpose MOSI Master Out Slave In Master → Slave Master sends data to slave MISO Master In Slave Out Slave → Master Slave sends data to master SCLK Serial Clock Master → Slave Clock signal generated by master SS Slave Select Master → Slave Selects which slave to talk to SPI Communication Cha...