Thanks for your interest in the Intel® Joule Platform.
We have looked at this other thread: https://communities.intel.com/message/436901#436901, there is a discussion regarding MRAA and Ubuntu 16.04.1 LTS, we’d recommend you to read that, it could be helpful.
Additionally, Ubuntu is still in beta, so there might be issues while using it. We’d suggest you to contact Ubuntu support for any Ubuntu questions on Joule, please refer to: https://developer.ubuntu.com/en/snappy/start/intel-joule/.
@Yermi, this feels a little unsatisfactory. Could you give some hints why you feel an SPI problem using mraa is a problem for Ubuntu support?
thanks for your answer. I already read this post, but it does not address SPI issues.
The other thread on MRAA (MRAA and Ubuntu 16.04.1 LTS ) was specifically about avoiding having to run programs accessing the GPIOs via MRAA as root. However, it assumed you ALREADY had access to the GPIOs when running as root.
Therefore, the first thing I would do for SPI (and I2C...) is try to access these devices with a program run using sudo or as root. Once you have THAT working, then you can probably the approach in the above thread to make things *easier* to access from userspace.
I assume you are trying some of the test programs included with MRAA for SPI? What happens when you run those as root? Note also that the sample programs provided are for specific devices, though.
This message was posted on behalf of Intel Corporation
Ubuntu is still in beta and we’re working on finalizing the documentation, is for that reason we suggested the Ubuntu support.