Contenu principal

Interface SPI

Utiliser l’interface SPI du BeagleBone® Black

Utilisez l’interface SPI du BeagleBone Black pour vous connecter à des dispositifs et les contrôler.

Objets

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

Fonctions

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

Rubriques

Résolution des problèmes

Troubleshoot BeagleBone Black SPI Interface

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

Sélection d՚exemples