[SOLVED] Enable SPI
I have been trying to get a zigbee module to interface with the UPboard over SPI for some time.
I've had success across USB using the pySerial library and I am trying to convert my code to be used on SPI with the MRAA library and I have the error: "Spi bus can not be initialized".
I think my problem may be that the module is not enabled in the kernel as /dev/spidev0.0 does not appear. I've followed the instructions on the wiki page as well as the correction found here: https://forum.up-community.org/discussion/comment/8488#Comment_8488.
Before I start digging around the kernel I wanted to see if I've exhausted all my options to make spidev appear.
dev = mraa.Spi(0)
ValueError: Error initialising SPI bus
Ubuntu 16.04 LTS
- 261 All Categories
- 103 Announcements & News
- 33 Product News - New Product/Product Change Notice/ End-of-life
- 174 Welcome Developers!
- 47 Unboxing & Project Sharing
- 14 Tech Updates
- 184 UP Products
- 18 UP Squared Pro
- 100 UP Xtreme
- 746 UP Squared
- 1.3K UP Board
- 79 UP Core Plus
- 205 UP Core
- UP Xtreme Lite
- 34 UP AI Edge
- 207 Starter Kits & Peripheral