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
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Exploring BeagleBone

You're reading from   Exploring BeagleBone Tools and Techniques for Building with Embedded Linux

Arrow left icon
Product type Paperback
Published in Mar 2019
Publisher Wiley
ISBN-13 9781119533160
Length 800 pages
Edition 2nd Edition
Arrow right icon
Author (1):
Arrow left icon
Derek Molloy Derek Molloy
Author Profile Icon Derek Molloy
Derek Molloy
Arrow right icon
View More author details
Toc

CHAPTER 8
Interfacing to the Beagle Board Buses

This chapter describes bus communication in detail, explaining and comparing the different bus types that are available on the Beagle boards. It describes how you can configure them for use, and how you can communicate with and control I2C, SPI, and UART devices, using both Linux tools and custom-developed C/C++ code. Practical examples are provided using different low-cost bus devices, such as a real-time clock, an accelerometer, a serial shift register with a seven-segment display, a USB-to-TTL 3.3V cable, and a GPS receiver. Finally, the AM335x DCAN controller is used to send and receive messages to and from a CAN Bus using Linux SocketCAN. After reading this chapter, you should have the skills necessary to begin interfacing almost any type of bus device to the Beagle boards.

EQUIPMENT REQUIRED FOR THIS CHAPTER:

  • Any Beagle board
  • A real-time clock on a breakout board (e.g., the DS3231)
  • ADXL345 accelerometer on an I2C/SPI breakout board...
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