I have Golang program for Raspberry Pi 3 that reads data using SPI.

I use this library to do that: https://github.com/kidoman/embd. And it works ok on Raspbian OS. I tried to port it to Ubuntu Core. And I am getting an error:

/dev/spidev0.0: no such file or directory

Is it possible to use spidev on Ubuntu Core?

I have tried enabling SPI, as I thought that was an issue. I have added spi=on to config.txt file on system-boot partition. But this didn't help. Is that an correct way?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.