Skip to Content
Embedded C Programming
book

Embedded C Programming

by Mark Siegesmund
September 2014
Beginner to intermediate
424 pages
10h 4m
English
Newnes
Content preview from Embedded C Programming
Chapter 21

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical C Programming

Practical C Programming

B. M. Harwani

Publisher Resources

ISBN: 9780128013144