Wednesday 28 May 2014

what is spi?

SPI (Serial Peripheral Interface)

The Serial Peripheral Interface or SPI bus is a synchronous serial data link, a de facto standard, named byMotorola, that operates in full duplex mode. It is used for short distance, single master communication, for example in embedded systems, sensors, and SD cards.Devices communicate in master/slave mode where the master device initiates the data frame. Multiple slave devices are allowed with individual slave select lines. Sometimes SPI is called a four-wire serial bus, contrasting with three-,two-, and one-wire serial buses. SPI is often referred to as SSI (Synchronous Serial Interface).

The SPI bus specifies four logic signals:

  • SCLK : Serial Clock (output from master).
  • MOSI : Master Output, Slave Input (output from master).
  • MISO : Master Input, Slave Output (output from slave).
  • SS : Slave Select (active low, output from master).

No comments: