In the link I gave above (I think it was your advice actually) I added
these lines to /boot/uEnv.txt:

enable_uboot_overlays=1
> disable_uboot_overlay_audio=1
> enable_uboot_cape_universal=1


After rebooting with these settings, config-pin worked on pins P9.28
through P9.31 where previously it complained that universala was not
loaded.  However, this is also when the python script that tried to write
to these pins started to hang.

On Wed, May 17, 2017 at 7:59 PM, Robert Nelson <[email protected]>
wrote:

> On Wed, May 17, 2017 at 9:42 AM, Garth Webb <[email protected]> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAMK9r2VT24ctL7rv-GF-AytDs9x98vvxeg0x5LskvseWKxMNNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to