Select Git revision
stm32f4x.cfg
Forked from
Per Lindgren / e7020e_2019
Source project has a limited visibility.
spi.tex 606 B
\subsection{SPI - Serial Peripheral Interface}
\label{sec:components-SPI}
The UWB (see Section~\ref{sec:components-UWB}) uses SPI to communicate with the microcontroller unit (MCU).
Units communicating are arranged as one \emph{master} and several \emph{slaves}.
In this project, only the UWB requires SPI, which simplifies the protocol.
Thus, the MCU is set up as master with the radio as slave.
The SPI should be configured in full duplex mode, allowing for one MOSI (Master Out Slave In) and one MISO (Master Out Slave In) channel.
This SPI configuration requires four GPIO pins with SPI functionality.