Main Content
spidev
Connection to SPI device on BeagleBone Black hardware
Add-On Required: This feature requires the MATLAB Support Package for BeagleBone Black Hardware add-on.
Description
This object represents a connection from the MATLAB® software to the SPI device on the BeagleBone® Black hardware. Attach an SPI device to the appropriate pins on the BeagleBone hardware. To exchange data with the SPI device, use this object with the functions listed in Object Functions.
Creation
Description
creates a connection from the MATLAB software to the SPI device on the specified BeagleBone Black hardware and the SPI channel. spi
= spidev(bbb
,channel
)
Input Arguments
Properties
Object Functions
writeRead | Write data to and read data from SPI device |
Examples
Version History
Introduced in R2015a