Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes

TB3265

Title:
Getting Started with SPI Using MSSP on PIC18
Name:
TB3265
Date:
06/23/2020
Author:
Iustinian Bujor
Description:
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.
Keywords:
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.
 
Application Notes & Source Code
 Last Updated
Size
 
  TB3265
  08/06/2020
  369KB
Silicon Products