We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest! Update Here
Stay in the loop with the latest from Microchip! Update your profile while you are at it. Update Here
Complete your profile to access more resources.Update Here!

Industry-Leading SPI Peripherals Products


What is SPI?

Serial Peripheral Interface (SPI) is a synchronous serial communication protocol that you can use for short-distance and high-speed synchronous data transfer between embedded systems. SPI is a three or four-wire bus and SPI devices communicate in full-duplex mode with a dedicated channel for transmitting data and a separate channel for receiving data.

SPI contains the following wires:

  • Serial Data Out (SDO) for host to target communication
  • Serial Data In (SDI) for target to host communication
  • Serial Clock (SCK)
  • Chip/Serial Select (SS) to select which host to communicate with

Why Use SPI?


SPI utilizes separate clock and data lines to ensure synchronicity between both the host and client. The oscillating clock signal tells the receiver when to read bits on the data line. Since both data and clock signals are in sync, there is no need to specify clock speed. SPI offers faster throughput speeds compared to asynchronous serial protocols and can support multiple target/client devices (with multiple Serial Selects) so that one host device can read various sensor data. 

Peripheral Support


The following peripherals support SPI communication on 8-bit devices:

  • SPI
  • Master Synchronous Serial Port (MSSP)

Application Uses


You can use SPI in many applications such as sensors, control devices, communications, memory, real-time clocks and many more. One popular application for SPI communications is an SPI to Wi-Fi® module. We offer a complete line of Wi-Fi module products to serve today’s need for advanced network capabilities.

Documentation


Title
Getting Started with SPI Using MSSP on PIC18 Download
Serial Peripheral Interface (SPI) Communications on 8-Bit PIC Microcontrollers Download
AVR151: Setup and use of the SPI on tinyAVR and megaAVR devices Download

Products


What Is Serial Peripheral Interface (SPI) ?

Our technical team shares a high-level, industry view of SPI, including what it is, what the pieces of the SPI communication packet are and where to apply it.