Hello, I am trying to test a digipot MCP41010 on a BeagleBone Black and I can't make it work.
I made the connections between BeagleBone and the digipot MCP41010 as below: PORT | CS0 | DO |DI |SCLK SPI0 | P9_17 | P9_21 | P9_18 | P9_22 I used the code below , from this page: https://adafruit-beaglebone-io-python.readthedocs.io/en/latest/SPI.html, to test the output of the BeagleBone: *import Adafruit_BBIO.SPI as SPI from Adafruit_BBIO.SPI import SPI # spi = SPI(bus, device) #/dev/spidev<bus>.<device> # /dev/spidev0.0 spi = SPI(0, 0) print(spi.xfer2([32, 11, 110, 22, 220])) spi.close()* The output should be: *32, 11, 110, 22, 220*; but, it is: *255, 255, 255, 255, 255*. Can anybody help me, please? Thanks for the attention -- 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/e76db12a-e6e6-4faa-aab5-3f6895ccae04%40googlegroups.com.