...
This application note explains how to use the STM32H7 SPI Master mode in the FreeRTOS demo application.
1. Understanding SPI Master Mode Interfaces
1.1. FreeRTOS SPI Master Mode Implementation
The FreeRTOS BSP provides a device driver for the SPI Master mode operation. The driver is configured (enabled / disabled) at the BSP build time, using the HAL_SPI_MODULE_ENABLED
configuration option, defined in the stm32h7xx_hal_conf.h
file.
1.2. FreeRTOS SPI Master Mode C-Binding API
The SPI Master Mode driver implements the following C-binding API:
...
Command | Description | Comments |
| Read the SPI flash device ID |
|
3. Validating SPI Master Operation
Use the following step-wise procedure to validate the SPI Master mode operation:
...