© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
H. WardIntroductory Programs with the 32-bit PIC Microcontrollerhttps://doi.org/10.1007/978-1-4842-9051-4_6

6. Communication

Hubert Ward1  
(1)
Leigh, UK
 
In this chapter, we will look at how the PIC can communicate with different devices, such as another PIC, some extra EEPROM, a terminal device, a Real-Time Clock (RTC), and many others. There are three main methods for communicating with these devices that PICs use and they are
  • SPI, Serial Peripheral Interface

  • I2C or IIC which stands for Inter-Integrated Circuit

  • UART, Universal Asynchronous Receiver/Transmitter system

In this chapter, we will study how we can use the SPI module, within the PIC, to communicate ...

Get Introductory Programs with the 32-bit PIC Microcontroller: A Line-by-Line Code Analysis and Reference Guide for Embedded Programming in C now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.