© Armstrong Subero 2018
Armstrong SuberoProgramming PIC Microcontrollers with XC8https://doi.org/10.1007/978-1-4842-3273-6_9

9. USART, SPI, and I2C: Serial Communication Protocols

Armstrong Subero
(1)
Moruga, Trinidad and Tobago
 
In this chapter, we look at using serial communication protocols. The most ubiquitous of these are USART, SPI, and I2C, which I will be explaining in this chapter. This is one chapter you do not want to skip, as we cover using sensors, GPS, GSM, and a host of other things. So, grab a bottle of water and sit down. This will be a long one.

Using USART (Universal Synchronous Asynchronous Receiver Transmitter)

The Universal Synchronous Asynchronous Receiver Transmitter (USART) is my favorite communication protocol. The reason ...

Get Programming PIC Microcontrollers with XC8 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.