メインコンテンツ

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.

注目の例