主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

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.

精选示例