Chapter 7

Starting with Serial Communication

Chapter Outline

7.1 Introducing Synchronous Serial Communication

7.2 Serial Peripheral Interface

7.2.1 Introducing SPI

7.2.2 SPI on the mbed

7.2.3 Setting up an mbed SPI Master

7.2.4 Creating a SPI Data Link

7.3 Intelligent Instrumentation and a SPI Accelerometer

7.3.1 Introducing the ADXL345 Accelerometer

7.3.2 Developing a Simple ADXL345 Program

7.4 Evaluating SPI

7.5 The Inter-Integrated Circuit Bus

7.5.1 Introducing the I2C Bus

7.5.2 I2C on the mbed

7.5.3 Setting up an I2C Data Link

7.6 Communicating with an I2C Temperature Sensor

7.7 Using the SRF08 Ultrasonic Range Finder

7.8 Evaluating I2C

7.9 Asynchronous Serial Data Communication

7.9.1 Introducing Asynchronous Serial Data

7.9.2 Applying ...

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