Skip to content

SPI not opening on BBB w/ Debian 4.1 and BB SPI cape #94

@chorca

Description

@chorca

Installed the library, and am currently loading BB-SPIDEV0 'cape' to enable HW SPI.

When trying to create the spi object, python appears to not be able to find the device?

debian@beaglebone:~$ ls -l /dev/spi*
crw-rw---- 1 root spi 153, 1 Apr 22 01:16 /dev/spidev1.0
crw-rw---- 1 root spi 153, 0 Apr 22 01:16 /dev/spidev1.1
debian@beaglebone:~$ sudo python
Python 2.7.9 (default, Mar  1 2015, 13:48:22) 
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from Adafruit_BBIO.SPI import SPI
>>> spi = SPI(0,0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IOError: [Errno 2] No such file or directory
>>> 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions