Unable to capture data from SPI pins - ROCK Pi X

Hi.

I’m having trouble with the SPI pins on the ROCK PI X.

Here are the steps I have taken so far:

  • Installed libmraa-rockpiX on Ubuntu 20.04 LTS

(Note: I have gotten the GPIO control to function. Have not tested UART or I2C)

Here I only found spidev1.0 on my local RPI X

  • Tried compiling and running the c++/spi.c example in /usr/local/share/mraa/examples
  • Tried opening /dev/spidev1.0 with a file descriptor and writing to it

So far, none of these steps have produced SPI data through the pins. I’m using a Saleae Logic Pro 8 for reading the signals out of the SPI pins

(have tested both the ISH_SPI and the SPI2 pins).

Do you guys have any further steps I can take to make this work?

1 Like