Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning BeagleBone

You're reading from  Learning BeagleBone

Product type Book
Published in Dec 2014
Publisher
ISBN-13 9781783982905
Pages 206 pages
Edition 1st Edition
Languages
Author (1):
Hunyue Yau Hunyue Yau
Profile icon Hunyue Yau

Table of Contents (18) Chapters

Learning BeagleBone
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Introducing the Beagle Boards Software in the BeagleBone Building an LED Flasher Refining the LED Flasher Connecting the BeagleBone to Mobile Devices Recovering from the Mistakes Interfacing with the BeagleBone Advanced Software Topics Expansion Boards and Options The Boot Process Terms and Definitions
Index

I2C/SPI on the BeagleBone expansion connector


I2C and SPI are two common serial buses used to interface with many commonly used peripherals. Using these buses while interfacing is more advanced than a simple beginner's task; beginners should be aware of them. In our exercises, although we looked at I2C, we focused on what is on the board itself.

Inter-Integrated Circuit

Inter-Integrated Circuit (I2C) is a two-wire serial bus interface. This interface defines a full protocol to allow different devices on the bus to be identified with addresses. Different combinations of the states of two wires are used to identify different parts of the protocol. When using I2C to interface from the BeagleBone to an I2C device, the key things to be aware of are as follows:

  • I2C signals are open collector. This allows multiple devices to be connected in parallel. However, this requires two resistors, roughly from 1000 to 4700 Ohms that connect each of the I2C signals to 3.3V. Open collector means each device...

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 $15.99/month. Cancel anytime}