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

Understanding I2C

Originally developed by Philips Semiconductor in 1982 as a bus for communicating with the ICs, the I2C protocol has become a general-use bus that is supported by a wide variety of IC manufacturers. I2C is a multimaster and multislave bus, though the most common configuration is that of a single master device and one or more slave devices on a single bus. An I2C master device sets the pace for the bus by generating a clock signal, and it initiates communication with the slave devices. Slave devices receive the master's clock signal and respond to the master's queries.

Only four wires are required to communicate via I2C:

  • One clock signal (SCL)
  • One data signal (SDA)
  • A positive supply voltage
  • A ground

Requiring only two pins (for the SCL and SDA signals) to communicate with a number of slave devices makes I2C an enticing interfacing option. One of the difficulties in hardware interfacing is effectively allocating a limited number of processor pins to best handle communicating...

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