How to enable SPI

From Geekworm Wiki
Jump to navigation Jump to search

This tutorial demonstrates how to open the SPI interface on the Raspberry Pi 5


1. Open the Raspberry Pi terminal and run the following command

sudo raspi-config

Rpi5-open-spi-1.png

2. Choose Interfacing Options then press Enter


Rpi5-open-spi-2.png

3. Choose SPI then press Enter


Rpi5-open-spi-3.png

4. Choose YES then press Enter


5. Reboot Raspberry Pi:

sudo reboot

Please make sure that the SPI interface was not used by other devices, you can check in the /boot/config.txt

Add your comment
Geekworm Wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.