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

Multiplexing for I2C on the BBB

The AM335X processor of the BBB provides three I2C buses:

  • I2C0
  • I2C1
  • I2C2

The BBB exposes the I2C1 and I2C2 buses via its P9 header, but the I2C0 bus is not easily accessible. I2C0 currently provides the communication channel between the BBB's processor and the HDMI framer chip of the built-in HDMI cape, so it should be considered unavailable for your use (unless you would like to void your warranty by soldering wires directly to the traces and chip pins on the BBB).

The I2C1 bus is available for your general use and is often the go to bus for I2C interfacing. If I2C1 is at its maximum capacity or unavailable, the I2C2 bus is also available for your use.

Connecting to I2C via the P9 header

By default, I2C1 is not muxed to any pins and I2C2 is available via the P9.19 and P9.20 pins. I2C2 provides I2C communication between the identification EEPROMs present on external cape boards and the kernel's capemgr. You can mux I2C2 to other pins, or even disable it...

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