On Wed, May 17, 2017 at 9:42 AM, Garth Webb <garth.w...@gmail.com> wrote: > Hi, after I setup Wireless on my BBBW, I tried using the SPI interface using > this simple Python code: > > #import the library > from Adafruit_BBIO.SPI import SPI > > > spi = SPI(0,0) > spi.writebytes(5) > > When executed using sudo it runs without error. However, using a logic > analyzer, I see no activity on either of the SPI pins (spi0 or spi1). I > found the config-pin utility and tried using that to set the pins I need to > spi. That command worked for the spi0 pins but returned an error (about > univerala not being loaded) for spi1. Testing the spi0 pins that did > respond to config-pin yielded no results. > > > Finally, from an earlier conversation in this group, I followed these > instructions (minus the eMMC steps) to address loading univerala: > >> >> https://github.com/RobertCNelson/linux-stable-rcn-ee/issues/1#issuecomment-296234338 > > > After this I was able to run confi-pin on all spi pins. However when I ran > my simple test python script, I saw no output on my logic analyzer and the > command froze. I couldn't CTRL-C out of it and it would not die with a kill > -9. > > Has anyone been able to use the SPI interfaces? I need to use both at the > same time (one as a master, one as a slave) which is why I purchased the > BBBW over other boards that only have one SPI interface.
Did you disable hdmi-audio? spi1 is tied up in the audio driver.. With u-boot overlays: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays in /boot/uEnv.txt make sure to set: disable_uboot_overlay_audio=1 then reboot and retry with config-pin.. Regards, -- Robert Nelson https://rcn-ee.com/ -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYij9kWwSkNpzEuzztz_YQLBbPk8YJoyYJTdVawCBv%2BVhA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.