1 What is the SPI Peripheral Library (PLIB)?

The Serial Peripheral Interface (SPI) module is a serial interface that manages the inter-peripheral or microcontroller (MCU) communication. These peripheral devices may be serial EEPROMs, Shift registers, display drivers, Analog-to-Digital(A/D) converters, etc.

The SPI interface supports the following operating modes

  • Host mode
  • Client mode

The driver operation can be configured as

  • Polling
  • Interrupt