Configuring SPI

Start by removing any blacklist for the spi module by running

sudo nano /etc/modprobe.d/raspi-blacklist.conf

And look for the line

blacklist spi-bcm2708

and put a # in front like so:

Now type in control-X Y and hit return to save the file.

reboot with sudo reboot

Next time you log in you can check that you can see the devices with

ls -l /dev/spidev*

you should see two 'devices' one for each SPI bus

Last updated on May 04, 2015 Published on Dec 14, 2012