This article may need to be rewritten to comply with Wikipedia's quality standards, as it reads like a guide or textbook. You can help. The talk page may contain suggestions.(March 2021)
This article appears to be slanted towards recent events. Please try to keep recent events in historical perspective and add more content related to non-recent events.(December 2023)
Serial Peripheral Interface (SPI)
Type
Serial communication bus
Production history
Designer
Motorola
Designed
Around early 1980s[note 1]
Manufacturer
various
Daisy chain
Depends on devices
Connector
Unspecified
Electrical
Max. voltage
Unspecified
Max. current
Unspecified
Data
Width
1 bit (bidirectional)
Max. devices
Multidrop limited by chip selects. Daisy chaining unlimited.
Protocol
Full-duplex serial
Pinout
MOSI
Master Out Slave In
MISO
Master In Slave Out
SCLK
Serial Clock
CS
Chip Select (one or more)
(pins may have alternative names)
Serial Peripheral Interface (SPI) is a de facto standard (with many variants) for synchronous serial communication, used primarily in embedded systems for short-distance wired communication between integrated circuits.
SPI uses a master–slave architecture, described here with the terms "main" and "sub",[note 2][1] where one[note 3] main device orchestrates communication with some number of peripheral (sub) devices by driving the clock signal and chip select signal(s).
Motorola's original specification (early 1980s) uses four wires to perform full duplex communication. It is sometimes called a four-wire serial bus to contrast with three-wire variants which are half duplex, and with the two-wire I²C and 1-Wire serial buses.
Typical applications include interfacing microcontrollers with peripheral chips for Secure Digital cards, liquid crystal displays, analog-to-digital and digital-to-analog converters, flash and EEPROM memory, and various communication chips.
SPI may be accurately described as a synchronous serial interface,[2] but it is different from the Synchronous Serial Interface (SSI) protocol.[note 4]
Cite error: There are <ref group=note> tags on this page, but the references will not show without a {{reflist|group=note}} template (see the help page).
^Dhaker, Piyu (2018). "Introduction to SPI Interface". Analog Dialogue. Archived from the original on 2023-05-25. Retrieved 2023-07-21.
^"What is Serial Synchronous Interface (SSI)?". Retrieved 2015-01-28.
and 21 Related for: Serial Peripheral Interface information
SerialPeripheralInterface (SPI) is a de facto standard (with many variants) for synchronous serial communication, used primarily in embedded systems...
under varying industrial environments. It is different from the SerialPeripheralInterface Bus (SPI): An SSI bus is differential, simplex, non-multiplexed...
(HDLC) List of device bandwidths MIL-STD-188 SerialPeripheralInterface Bus Serial port Synchronous serial communication Universal asynchronous receiver/transmitter...
to the CPU, such as the BIOS ROM (BIOS ROM was moved to the SerialPeripheralInterface (SPI) bus in 2006), "legacy" I/O devices (integrated into Super...
input/output pins are required than are available, sometimes over a SerialPeripheralInterface in daisy chain configuration, which allows any number of binary...
transferred through serial ports to devices such as modems, terminals, various peripherals, and directly between computers. While interfaces such as Ethernet...
in automotive applications. Some MC6805 models integrated a SerialPeripheralInterface (SPI). The Motorola 6809 was an updated compatible design. Galvin...
sir-deez) Serial ATA Serial attached SCSI Serial bus, e.g., I²C 1-Wire SerialPeripheralInterface Bus (SPI) UNI/O Serial cable, a cable used to transfer information...
(UART/USART) (used with RS-232, RS-485, and more) SerialPeripheralInterface Bus (SPI) Universal SerialInterface (USI): a multi-purpose hardware communication...
A Synchronous Serial Port (SSP) is a controller that supports the SerialPeripheralInterface (SPI), 4-wire Synchronous SerialInterface (SSI), and Microwire...
negotiate a bus interface mode, the usage of the numbered pins is the same for all card sizes. SPI bus mode: SerialPeripheralInterface Bus is primarily...
configurable state-machine controlled devices (e.g. through a serialperipheralinterface). Various major automotive semiconductor manufacturers offer...
designed to standardize the connection of peripherals to computers, replacing various interfaces such as serial ports, parallel ports, game ports, and ADB...
protocol MOSI, Master Out Slave In (data output from master), SerialPeripheralInterface pin and logic signal Museum of Science and Industry (MOSI), former...
System Interface (SCSI, /ˈskʌzi/ SKUZ-ee) is a set of standards for physically connecting and transferring data between computers and peripheral devices...
three-state logic. One bus that uses the chip/slave select is the SerialPeripheralInterface Bus (SPI bus). When an engineer needs to connect several devices...
package pin serial input/output such as serial ports (UARTs) other serial communications interfaces like I²C, SerialPeripheralInterface and Controller...
indeterminate. The timing diagram example on the right describes the SerialPeripheralInterface (SPI) Bus. Most SPI master nodes can set the clock polarity (CPOL)...
provide 8-bit PWM output with the analogWrite() function. SPI (SerialPeripheralInterface): pins 10 (SS), 11 (MOSI), 12 (MISO), and 13 (SCK). These pins...
(bit/s) or bytes per second (B/s). In general, parallel interfaces are quoted in B/s and serial in bit/s. The more commonly used is shown below in bold...