Write data to and read data from SPI slave device
Simulink Support Package for Raspberry Pi Hardware / Communication
Write data to and read data from an SPI slave device. To open the pin map of the Raspberry Pi board, click the View pin map button.
For more information on SPI communication refer to Support SPI Communication and The Raspberry Pi SPI Interface