SPI インターフェイス
BeagleBone® Black の SPI インターフェイスの使用
BeagleBone Black の SPI インターフェイスを使用してデバイスに接続し、制御します。
オブジェクト
beaglebone | Connection to BeagleBone Black hardware |
spidev | Connection to SPI device on BeagleBone Black hardware |
関数
clear | Terminate connection to BeagleBone Black hardware |
showAllPins | Show diagram of all pins |
showPins | Show diagram of GPIO pins |
enableSPI | Enable SPI interface |
writeRead | Write data to and read data from SPI device |
トピック
- Use BeagleBone Black SPI Interface to Connect to Device
Use the SPI interface on the BeagleBone Black hardware.
- BeagleBone Black SPI Interface
SPI interface on the BeagleBone Black hardware.
- BeagleBone Black Pin Map
Detailed description of BeagleBone Black pin map.
トラブルシューティング
Troubleshoot BeagleBone Black SPI Interface
SPI bus 1 shares pins with HDMI, which is enabled by default. Use
showPins to view the current pin usage. If HDMI is enabled,
disable HDMI before using enableSPI to enable this bus. For
information on how to disable HDMI, see the BeagleBone Black hardware documentation.
