Getting Started with SPI Using MSSP on PIC18
The approach in implementing the SPI communication protocol is different among the PIC18F device family of microcontrollers. While the PIC18-K40 and PIC18-Q10 product families have a Master Synchronous Serial Port (MSSP) peripheral, the PIC18-K42, PIC18-K83, PIC18-Q41, PIC18-Q43 and PIC18-Q84 product families have a dedicated Serial Peripheral Interface (SPI) peripheral. Both peripherals are serial interfaces useful for communicating with other peripherals or microcontroller devices, but there are also differences between them. The MSSP peripheral can operate in one of two modes: Serial Peripheral Interface (SPI) and Inter-Integrated Circuit (I2C), which allows the advantage of implementing both communication
protocols with the same hardware. The dedicated SPI peripheral works similarly to the MSSP, and has more features, such as Receive Only and Transmit Only modes, Double Buffering and Receive and Transmit FIFO.
SPI communication protocol, Master Synchronous Serial Port (MSSP) peripheral, Serial Peripheral Interface (SPI) peripheral, Inter-Integrated Circuit (I2C), Receive Only and Transmit Only modes, Double Buffering, Receive and Transmit FIFO.