Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Android Hardware Interfacing with the BeagleBone Black

You're reading from   Android Hardware Interfacing with the BeagleBone Black Design and implement Android apps that interface with your own custom hardware circuits and the BeagleBone Black

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784392161
Length 134 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Chapter 4. Storing and Retrieving Data with I2C

In the last chapter, you used GPIOs to exchange simple digital data with the outside world. However, what about interfacing with more advanced devices that require complex sequences of bits or bytes for communication?

One of the most popular interfacing buses in use today within embedded systems is the Inter-Integrated Circuit serial bus (commonly abbreviated as IIC, I2C, or I2C). In this chapter, you will learn how to write an app that uses the BBB's I2C interface to store data to and retrieve data from a FRAM chip. We will cover the following topics:

  • Understanding I2C
  • Multiplexing for I2C on the BBB
  • Representing I2C devices in the Linux kernel
  • Building an I2C interface circuit
  • Exploring the I2C FRAM example app
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image