BBB SPI device tree overlay, device number confusion

137 views
Skip to first unread message

Matt Graham

unread,
Jan 23, 2014, 12:18:57 PM1/23/14
to beagl...@googlegroups.com

I think I posted to the wrong section of the group.  Apologies for this repost.

Running the latest angstrom image, with update, upgrade.  Installing BB-SPIDEV0 seems to produce /dev/spidev1 which doesn't seem right.
I was expecting /dev/spidev0 based on this http://elinux.org/BeagleBone_Black_Enable_SPIDEV#SPI0

Any ideas on this problem?

root@beaglebone:~# find /dev -iname *spi*
root@beaglebone:~# cat /sys/devices/bone_capemgr.*/slots
 0: 54:PF---
 1: 55:PF---
 2: 56:PF---
 3: 57:PF---
 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
root@beaglebone:~# echo BB-SPIDEV0 > /sys/devices/bone_capemgr.*/slots
root@beaglebone:~# cat /sys/devices/bone_capemgr.*/slots
 0: 54:PF---
 1: 55:PF---
 2: 56:PF---
 3: 57:PF---
 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
 7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-SPIDEV0
root@beaglebone:~# find /dev -iname *spi*
/dev/spidev1.0
/dev/spidev1.1
root@beaglebone:~#

Steve French

unread,
Feb 21, 2015, 11:18:34 PM2/21/15
to beagl...@googlegroups.com
Matt,
I agree!!!  It is very confusing, especially when you are trying to figure out which pin to probe!!
-frenchy

axo...@gmail.com

unread,
Mar 6, 2015, 9:54:16 AM3/6/15
to beagl...@googlegroups.com
I see the same problems. Guys, will it work though using the pins described for spi0?

Matt Graham

unread,
Mar 6, 2015, 10:00:47 AM3/6/15
to beagl...@googlegroups.com
It's been a while since I was tinkering with this, but as I recall, the pin designations were as expected.

Is your SPI not working?

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/4IeImY8I4-g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Akos Vandra

unread,
Mar 6, 2015, 4:39:37 PM3/6/15
to beagl...@googlegroups.com

Don't know, I don't have the hardware to connect to yet

Reply all
Reply to author
Forward
0 new messages