Main Content

SPI Interface

Use the BeagleBone® Black SPI interface

Use BeagleBone Black SPI interface to connect to and control devices

Objects

beagleboneConnection to BeagleBone Black hardware
spidevConnection to SPI device on BeagleBone Black hardware

Functions

clearTerminate connection to BeagleBone Black hardware
showAllPinsShow diagram of all pins
showPinsShow diagram of GPIO pins
enableSPIEnable SPI interface
writeReadWrite data to and read data from SPI device

Topics

Troubleshooting

Troubleshoot BeagleBone Black SPI Interface

SPI bus 1 shares pins with HDMI, which is enabled by default.

Featured Examples