3 Replies Latest reply on Mar 27, 2017 1:18 PM by Intel Corporation

    Error initializing SPI bus

    kantr1ej

      Hi I'm having trouble initializing the SPI bus on the intel joule.  I followed the solution described in question About Inti joule's spi  and I have the most updated version of mraa, but I am still getting the "Error initializing SPI bus" error message.

       

      my interactive python result is as follows

      --------------------------------------------------------

      >>> mraa.getVersion()

      'v1.5.1'

      >>> mraa.Spi(0)

      Traceback (most recent call last):

        File "<stdin>", line 1, in <module>

        File "/usr/lib/python2.7/dist-packages/mraa.py", line 1515, in __init__

          this = _mraa.new_Spi(*args)

      ValueError: Error initialising SPI bus

      ------------------------------------------------------

       

      I also get this same error when running the Iot-devkit git hub at mraa/spi.py at master · intel-iot-devkit/mraa · GitHub

       

      I also read this discussion https://communities.intel.com/thread/109040?q=Error%20initialising%20SPI%20bus  and this does not solve my issue either.  I can get GPIO pins to work fine using sudo, but the SPI bus will not initialize regardless if sudo is used or not.

       

      thank you