O'Reilly logo

ARM-based Microcontroller Projects Using mbed by Dogan Ibrahim

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required