1. Open the Raspberry Pi terminal and run the following command
sudo raspi-config
[[File:Rpi5-open-spi-1.png]] 2. Choose Interfacing Options then press Enter
[[File:Rpi5-open-spi-1.png]]
Choose SPI then press Enter
[[File:Rpi5-open-spi-2.png]]
3. Choose YES SPI then press Enter
[[File:Rpi5-open-spi-3.png]]
4. Choose YES then press Enter 5. Reboot Raspberry Pi:
sudo reboot