5 Replies Latest reply on Dec 12, 2016 4:22 PM by Intel Corporation

    SPI, MRAA and Ubuntu 16.04.1 LTS




      I updated the BIOS, installed Ubuntu 16.04.1 LTS, and installed MRAA from (github.com/intel-iot-devkit/mraa) on my on the Intel Joule 570X Development Board.
      I can set GPIO pins, but I cannot initialize the SPI. Is there someone that can help me please?



      System setup:

      - Intel Joule 570X Development Kit

      - Operating System:

      $ uname -a

      Linux joule 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

      $ lsb_release -a

      No LSB modules are available.

      Distributor ID: Ubuntu

      Description: Ubuntu 16.04.1 LTS

      Release: 16.04

      Codename: xenial

      - MRAA:

      $ mraa-gpio version
      Version v1.5.1 on Intel GT Tuchuck


      Reproducing the issue:

      $ ./mraa/build/examples/spi_max7219

      Initialization of spi failed, check syslog for details, exit...



      Dec  9 15:06:14 joule libmraa[6098]: libmraa version v1.5.1-11-gc1017bb initialised by user 'chiara' with EUID 1000

      Dec  9 15:06:14 joule libmraa[6098]: joule: Failed to detect i2c buses, making wild assumptions!

      Dec  9 15:06:14 joule libmraa[6098]: libmraa initialised for platform 'Intel GT Tuchuck' of type 13

      Dec  9 15:06:14 joule libmraa[6098]: spi: Failed opening SPI Device. bus:/dev/spidev32766.0. Error 2 No such file or directory