SPI Controller Transfer
R2026bWrite data to and read data from SPI peripheral device
Libraries:
Raspberry Pi Blockset /
Communication
Description
Write data to and read data from an SPI peripheral 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 Raspberry Pi SPI Interface
Note
To generate C/C++ code for this block, you must have an Embedded Coder® license.
Ports
Input
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.
"raspberrypiCommlib/SPI Controller Transfer"
Example: add_block("raspberrypiCommlib/SPI Controller Transfer","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2017a
