Chapter 7

Starting with Serial Communication

Abstract

This chapter introduces the main concepts of serial data communication, including Master, Slave, clock, and the shift register. It distinguishes between synchronous and asynchronous serial forms. It introduces the features of a serial peripheral interface (SPI) link, and how this can be applied using two mbeds communicating with each other. As an advance on SPI, the inter-integrated circuit bus (I2C) is introduced. Again, the principles are illustrated by linking two mbeds. The advantages and disadvantages of SPI and I2C are evaluated. Concepts of asynchronous serial communication are introduced, and an asynchronous data link between the universal asynchronous receiver/transmitter (UART) ports ...

Get Fast and Effective Embedded Systems Design, 2nd Edition 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.