A quick fix is to manually load the Device Tree Overlay for SPI1:
Code: Select all
# echo ADADRFUIT-SPI1 > /sys/devices/bone_capemgr.*/slots
Then in your code:
Code: Select all
spi = SPI(0, 0)
I've tried this and it works to access a device on SPI1. The downside is that it still loads SPI0, which may not be what you want.