Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
GNU/Linux Rapid Embedded Programming

You're reading from   GNU/Linux Rapid Embedded Programming Your one-stop solution to embedded programming on GNU/Linux

Arrow left icon
Product type Paperback
Published in Mar 2017
Publisher Packt
ISBN-13 9781786461803
Length 732 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Rodolfo Giometti Rodolfo Giometti
Author Profile Icon Rodolfo Giometti
Rodolfo Giometti
Arrow right icon
View More author details
Toc

Table of Contents (26) Chapters Close

GNU/Linux Rapid Embedded Programming
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Installing the Developing System FREE CHAPTER Managing the System Console C Compiler, Device Drivers, and Useful Developing Techniques Quick Programming with Scripts and System Daemons Setting Up an Embedded OS General Purposes Input Output signals – GPIO Serial Ports and TTY Devices - TTY Universal Serial Bus - USB Inter-Integrated Circuits - I2C Serial Peripheral Interface - SPI 1-Wire - W1 Ethernet Network Device - ETH Wireless Network Device - WLAN Controller Area Network - CAN Sound Devices - SND Video devices - V4L Analog-to-Digital Converters - ADC Pulse-Width Modulation - PWM Miscellaneous Devices

What is the Inter-Integrated Circuit bus?


The Inter-Integrated Circuit (I2C) is a multi-master, multi-slave, serial computer bus invented in order to simplify the board schematics. Thanks to the fact that it needs two wires only (apart the GND) to do its job, it's widely used into embedded computers to connect on-board sensor/actuators chips to the main CPU.

Despite the fact that the I2C bus is multi-master, a typical configuration is a single master device (the CPU) connected to several slave devices (the sensors/actuators) where, as for the USB bus, the master directs all transfers. However just a main difference should be outlined: a I2C device can have a dedicated interrupt line to the CPU that can be used to signal that a message must be read by the master (in the USB bus the interrupt messages go over the bus too!). So, a simple I2C connections need two wires only while, in case of interrupt lines, they need three or more lines.

Note

For further reading on the working of I2C bus the reader...

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
Visually different images