1 What is the SPI Peripheral Library (PLIB)?

The Serial Peripheral Interface (SPI) module is a serial interface useful for communicating with other peripheral or microcontroller devices. 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