Hello Stuart, I've been using BBB to communicate with another Analog
Devices device (ADE7753) , and I can confirm you that it works.
Have you tried to do a loopback test before connecting the ADXL275?
Just use a wire in the BBB to join DI and DO in P9, and run this
program:
from Adafruit_BBIO.SPI import SPI
spi = SPI(0,0)
spi.mode=2
spi.msh=2000000
spi.open(0,0)
print spi.xfer2([32, 11, 110, 22, 220])
spi.close()
You should see 32,11,110,22,220 in your terminal as it's returned by
the spi instruction.
You don't need
spi.cshigh = low
because that's its default value.
If the loopback test works, then you can try with the device. I can
confirm you that using ADE7753 and adafruit python library I have need
some time to get it working, until I found out the trick.
Regards.
José L.
> --
> 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...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.