Main Content
SPI Register Read
Read data from SPI peripheral device register
Add-On Required: This feature requires the Simulink Support Package for Raspberry Pi Hardware add-on.
Libraries:
Simulink Support Package for Raspberry Pi Hardware /
Communication
Description
The SPI Register Read block initiates an SPI read operation from an SPI peripheral register. You can specify the data type and data length to get data from the peripheral registers. 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 Raspberry Pi SPI Interface
Ports
Output
Parameters
Version History
Introduced in R2017a