Internal Serial Busses
Abstract
This chapter deals with the short-range buses typically used to communicate between a processor and external peripherals.
The serial peripheral interface (SPI) bus is described in detail with diagrams, schematics, and C code. The SPI discussion includes all the variations of this bus being used by peripheral manufactures.
A complete explanation if the popular I2C bus is also provided with examples. Using the PIC® as both a master and a slave is covered for both protocols. This chapter also covers the multi-drop configuration with multiple devices on the same bus.
Examples and exercises are for the popular PIC® microcontroller manufactured by Microchip.
Keywords
SPI
I2C
Master
Slave
Multi-drop ...
Get Embedded C Programming 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.