How SPI communication works



Communication technology

Release date:2024/2/10         

 ・In Japanese
Prerequisite knowledge
 ・Serial communication
 ・Single master
 ・Full duplex communication
 ・Shift register


■What is SPI communication?

SPI communication is a type of serial communication. It is mainly used for communication between the CPU and peripheral devices (such as ICs) mounted on the same board. Peripheral is a general term for computer peripheral equipment. The connection form is below. Single-master communication is used to communicate between a master and multiple devices (slaves), and full-duplex communication is used to send and receive data using different lines.



The characteristics of SPI communication are that it is clock synchronous and has a select terminal (SS) for communicating with multiple slaves. Additionally, by using a shift register to simultaneously transmit and receive data and store data, efficient communication is possible. The communication speed of SPI communication depends on the CPU performance, but it can be 1Mbps to 2Mbps or more than 20Mbps.











List of related articles



Communication technology