Main Content

SPI 接口

使用 BeagleBone® Black SPI 接口

使用 BeagleBone Black SPI 接口连接和控制设备

对象

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

函数

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

主题

疑难解答

Troubleshoot BeagleBone Black SPI Interface

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