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 2015-05-04 at 04.27.56 PM Published on 2012-12-14 at 09.28.57 AM