Having trouble enabling SPI0 on BeagleBone Black

Asked by 5 months ago
So far, I have been completely unable to enable SPI0 on my BBB. I have gone through every online example I could find. I started by trying the BB-SPI0-00A0.dtbo located in /lib/firmware and adding "capemgr.enable_partno=BB-SPI0-01" to uEnv.txt. After a hard reboot, I could not find any "/dev/spi*". I tried the "echo BB-SPI0 > /sys/devices/bone_capemgr.8/slots" idea but still no /dev/spi*. I downloaded BB-SPI0-01-00A0.dts and compiled BB-SPI0-01-00A0.dtbo then located it in /lib/firmware. I then added "capemgr.enable_partno=BB-SPI0-01" to uEnv.txt. After a hard reboot still no "/dev/spi*" device available. I tried the "echo BB-SPI0-01 > /sys/devices/bone_capemgr.8/slots" idea but still no /dev/spi* I tried updating the board with the latest version of Angstrom and trying the entire sequence again but still no /dev/spi* Any thoughts on what to try next?

Your Answer

Name:
Reply:

All Answers

Answer by 5 months ago
From: "wstapleton [ at ] txstate.edu" wstapleton [ at ] txstate.edu Reply-To: beagleboard [ at ] googlegroups.com Date: Monday, February 24, 2014 at 8:55 AM To: beagleboard [ at ] googlegroups.com Subject: [beagleboard] Having trouble enabling SPI0 on BeagleBone Black Do you have spidev kernel module configured in your kernel? Regards, John
Answer by 5 months ago
I thought so but ... could you point me in the right direction to verify?
Answer by 5 months ago
Quoted message by John Syn 5 months ago
From: "wstapleton [ at ] txstate.edu" wstapleton [ at ] txstate.edu Reply-To: beagleboard [ at ] googlegroups.com Date: Monday, February 24, 2014 at 8:55 AM To: beagleboard [ at ] googlegroups.com Subject: [beagleboard] Having trouble enabling SPI0 on BeagleBone Black Do you have spidev kernel module configured in your kernel? Regards, John
From: wstapleton [ at ] txstate.edu Reply-To: beagleboard [ at ] googlegroups.com Date: Monday, February 24, 2014 at 3:07 PM To: beagleboard [ at ] googlegroups.com Subject: Re: [beagleboard] Having trouble enabling SPI0 on BeagleBone Black Please include the previous answer so everyone understands your next question. I assume you are referring to SPIDEV kernel module. You include that by using make xconfig or make menuconfig and select the SPIDEV kernel module or edit the .config file and make sure CONFIG_SPI_SPIDEV=y Rebuild the kernel and copy zImage to your SDCard. Regards, John