O'Reilly logo

ARM-based Microcontroller Projects Using mbed by Dogan Ibrahim

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

Chapter 12

SPI Bus Projects

Abstract

The SPI (Serial Peripheral Interface) bus is one of the commonly used protocols to connect sensors and many other devices to microcontrollers. The SPI bus is a master-slave-type bus protocol. In this protocol, one device (the microcontroller) is designated as the master, and one or more other devices (usually sensors) are designated as slaves. In a minimum bus configuration there is one master and only one slave. The master establishes communication with the slaves and controls all the activity on the bus. This chapter presents the Nucleo-F411RE development board SPI bus GPIO pins. An SPI bus-based project is given in the chapter using a digital-to-analog converter chip.

Keywords

SPI; Mbed SPI functions; Nucleo-F411RE ...

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