O'Reilly logo

BeagleBone Essentials by Rodolfo Giometti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Accessing the raw bus

As for the USB and I2C buses, the SPI bus supports the raw access in order to directly send and receive messages from the SPI slaves, so it's time to show you an example on how we can do it on our BeagleBone Black.

We are going to manage a really simple device: the thermocouple to digital converter, as shown in the following image:

Accessing the raw bus

Note

The device can be purchased at (or by surfing the Internet) http://www.cosino.io/product/thermocouple-max31855.

By looking at the chip's datasheet at the URL http://datasheets.maximintegrated.com/en/ds/MAX31855.pdf, we can see that its functioning is very simple: it has one 32-bit register, where ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required