Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Beaglebone Essentials
  • Table Of Contents Toc
  • Feedback & Rating feedback
Beaglebone Essentials

Beaglebone Essentials

By : Rodolfo Giometti
5 (2)
close
close
Beaglebone Essentials

Beaglebone Essentials

5 (2)
By: Rodolfo Giometti

Overview of this book

If you are a developer with some hardware or electrical engineering experience who wants to learn how to use embedded machine-learning capabilities and get access to a GNU/Linux device driver to collect data from a peripheral or to control a device, this is the book for you.
Table of Contents (13 chapters)
close
close
12
Index

Getting access to the SPI devices


As already stated in the previous section, there exist several SPI slaves, and since we have to choose one of them to present here, I decided to show you how to manage an LCD display.

I'm going to use the following tiny LCD display, which can be used in simple applications, because it's cheap and well supported by the BeagleBone Black's kernel:

Note

The device can be purchased at (or by surfing the Internet) http://www.cosino.io/product/color-tft-lcd-1-8-160x128.

First of all, we must do the electrical connections, so in the following table, I have reported the correspondence between the BeagleBone Black's pins and the LCD pins:

BeagleBone Black pins – label

LCD pins – label

P9.4 – VCC

9 – VCC

P9.29 – MISO

Not connected

P9.30 – MOSI

4 – MOSI

P9.31 – SCLK

3 – SCK

P9.28 – SS0

5 – TFT_CS

P9.25

7 – D/C

P9.27

8 – RESET

P8.19

1 – LITE

P9.2 – GND

10 – GND

You can note that we used the SPI dedicated pins, plus some GPIOs lines. This configuration...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Beaglebone Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon