SPI Register Read
R2026bRead data from SPI peripheral device register
Libraries:
Simulink Coder Support Package for BeagleBone Blue Hardware /
Communication
Description
Add-On Required: This feature requires the Simulink Coder Support Package for BeagleBone Blue Hardware add-on.
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 BeagleBone® board, click the View pin map button.
Ports
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"bbblueCommlib/SPI Register Read"
Example: add_block("bbblueCommlib/SPI Register Read","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2018b