Difference between revisions of "SPI"

From OpenCircuits
Jump to navigation Jump to search
(fill in a few details, etc.)
(link to more general article)
 
Line 17: Line 17:
  
 
== Further reading ==
 
== Further reading ==
 +
 +
* [[Microcontroller Serial Communications Articles]]
  
 
[http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus Serial Peripheral Interface Bus]
 
[http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus Serial Peripheral Interface Bus]
 
* [https://www.sparkfun.com/spi_signal_names a redefinition of SPI signal names: "A REDEFINTION OF SPI SIGNAL NAMES"] by Nathan Seidle, founder of SparkFun Electronics.
 
* [https://www.sparkfun.com/spi_signal_names a redefinition of SPI signal names: "A REDEFINTION OF SPI SIGNAL NAMES"] by Nathan Seidle, founder of SparkFun Electronics.

Latest revision as of 12:32, 23 February 2024

Serial Peripheral Interface Bus (SPI bus) Connects circuitry with few wires over serial protocol.

SPI supports an unlimited number of peripherals, which may all be identical.

Daisy-chained SPI connects all the devices on a SPI bus in a loop. In a daisy-chain SPI loop, the serial data out pin (SDO) of each device connected to the serial data in pin (SDI) of the next device in the loop. A daisy-chained SPI bus uses 4 GPIO pins on the microcontroller, no matter how many SPI peripherals are attached.


Chip-select SPI uses an additional dedicated chip-select pin for each SPI peripheral.


(Other protocols, such as I2C, require each peripheral on the bus to have a different (unique) address).


Further reading[edit]

Serial Peripheral Interface Bus