Chapter 11

I2C Bus Projects

Abstract

The I2C (or interintegrated circuit) bus was invented by Philips Semiconductor in 1982 for connecting peripheral devices and microcontrollers over short distances. The bus uses two open collector (or open drain) bidirectional lines pulled up with resistors. The SDA is the serial data line and SCL is the serial clock line. Although the bus is bidirectional, data can travel only in one direction at any time. I2C is a bus with 7-bit address space and achieves bus speeds of 100 kbits/s in standard mode and 400 kbits/s in fast mode (faster bus speeds are also available with Version 2.0 of the bus protocol). This chapter describes the basic features of the I2C bus and presents the Nucleo-F411RE GPIO pins that are compatible ...

Get ARM-based Microcontroller Projects Using mbed 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.