12
Serial Peripheral Interface (SPI)
In this chapter, we will learn about the Serial Peripheral Interface (SPI) protocol, another important communication protocol widely used in embedded systems.
We will start by delving into the basics of the SPI protocol, understanding its master-slave architecture, data transfer modes, and typical use cases. Next, we will examine the key registers of the SPI peripheral in STM32 microcontrollers, providing detailed insights into their configuration and usage. Finally, we will apply this knowledge to develop a bare-metal SPI driver, demonstrating practical implementation and testing.
In this chapter, we will cover the following main topics:
- Overview of the SPI protocol
- The STM32F4 SPI peripherals
- Developing ...
Get Bare-Metal Embedded C Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.