Issues with enabling SPI

Hi, I’m trying to enable the SPI device using the instructions provided here (image used was the most recent[2020-08-10] Debian one), but I keep getting “Error initialising SPI bus” errors. The device is showing up as ‘/dev/spidev2.0’ though. Is there anything I might be missing in the “uEnv.txt” file?

For SPI setting, check https://wiki.radxa.com/RockpiS/Debian#SPI.

Thank you so much!

It seems like the issue ended up being much simpler - The pinout colour coding (which I was using to identify the SPI pins) was reversed, and using the pins indicated on the website showed that SPI was working fine.

1 Like