Made a mistake in original post. Should read: What I've tried: * I've tried adding BB-SPIDEV1 via uEnv.txt. SPI1 now works. However, that wipes out the availability of I2C, PWMs, etc which I don't know how to repair???? * I've seen that folks say that the only way to add SPIDEV1 overlay is via /etc/rc.local (echo 'BB-SPIDEV1' > /sys/devices/platform/bone_capemgr/slots). But that didn't work at all for me (SPI1 not enabled AND it wipes out availability of I2C, PWMs etc).
On Saturday, August 20, 2016 at 2:42:12 PM UTC-7, William Wendin wrote: > > Background Info: > 1) We are using BeagleBone Black to power our robot, using it since > November. > 2) We use ADC, I2C1, I2C2, SPI0, 5 PWMs, and almost every available GPIO. > We have all these working using overlays, or config-pin, whichever is > needed. All is good. > 3) Up until now I have not had to alter the default kernel or uEnv.txt.* > 4) Upgraded to 4.4.9 a month or two ago. I am up-to-date with all > "apt-get update" and "apt-get upgrade". > 5) /boot/uEnv.txt is attached. > 6) root@beaglebone:/home/debian# uname -a > Linux beaglebone 4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC > 2016 armv7l GNU/Linux > > The problem: Now we need SPI1 (yes, we need two SPI busses). I want to > use all the IOs listed above (see #2). > > I think the best way is to use the default universal cape that comes with > 4.4.9 (see above where I use it for all my IOs with little effort), but > enable SPI1 instead of MCASP. > > What I've tried: > * I've seen that folks say that the only way to add SPIDEV1 overlay is via > /etc/rc.local (echo 'BB-SPIDEV1' > > /sys/devices/platform/bone_capemgr/slots). However, that then wipes out > the availability of I2C, PWMs, etc. > * I've also tried adding BB-SPIDEV1 via uEnv.txt but that didn't work at > all. > > I've spent a few days trying various combination and can't find it. > Looked at source code too to try and see what is up, but didn't figure it > out yet. > > I guess my idea of the "best way" is heading down the wrong path. > > Questions: > * Do I have to make a whole new universal custom cape? > * Follow on question: Anybody have a way to turn on everything I use (see > #2 above) and SPIDEV1 too? > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/353acaa9-0512-4099-a171-2b5cc0e2216c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
