In the previous chapter, you worked with the I2C bus to communicate with an FRAM device that requires far more complex communications than that of the simple on/off digital communications used by GPIOs. I2C is very powerful and flexible, but it can be quite slow.
In this chapter, you will learn how to write an Android app that uses the BBB's SPI capabilities to retrieve environmental data from a high-speed sensor. We will cover the following topics:
Understanding SPI
Multiplexing for SPI on the BBB
Representing SPI devices in the Linux kernel
Building an SPI interface circuit
Exploring the SPI sensor example app