How to get SPI module up and running

npurtschert New Member Posts: 6
edited May 2018 in UP Board Linux


I runned all the steps described here but still get no SPI devices:

14:02:50 | sisyphos@siconstratos:/opt/gps/ledpython # ls /dev/spi*
ls: cannot access '/dev/spi*': No such file or directory

I am trying to get a python program running and my guess is the SPI configuration:

14:13:40 | ... # python
Traceback (most recent call last):
File "", line 9, in
spi = mraa.Spi(0)
File "/usr/lib/python2.7/dist-packages/", line 2100, in init
this = _mraa.new_Spi(*args)
ValueError: Error initialising SPI bus

Could you please help me to get SPI running?

... uname -srv

Linux 4.10.0-42-generic #5000~upboard10-Ubuntu SMP Tue Dec 19 12:58:48 UTC 2017