SPI Controller Transfer
Write data to and read data from SPI peripheral devices
Libraries:
Embedded Coder Support Package for STMicroelectronics Discovery Boards /
STM32F769I-Discovery
Embedded Coder Support Package for STMicroelectronics Discovery Boards /
STM32F746G-Discovery
Description
The SPI controller Transfer block writes data to and reads data from a peripheral devices over the Serial Peripheral Interface (SPI) interface. The block outputs an array of the same size and data type as the input values. You can use this block with Byte Pack and Byte Unpack blocks to support heterogeneous data type transfers.
Using this block, you can access an SPI device to measure quantities such as temperature, pressure.
For more information on SPI communication, see Support SPI Communication.
Ports
Input
Output
Parameters
Version History
Introduced in R2018a