Hi!
I have the i-pi smarc px30 board and i am trying to use the spi communication example code.
I installed the Debian image (LEC-PX30-IPi-SMARC-Debian10-xfce-2v7-20210219) from the website, which comes with the MRAA library pre-installed, and when i try to run the example code "spi.c" (using Geany) the code compiles, runs, but i get the message "Failed to initialize SPI" in the console and i don't know what i'm doing wrong.
I'd be glad if you help me figure out how to use the SPI or even I2C with your board.
Thank you!
PS: https://github.com/eclipse/mraa/blob/master/examples/c/spi.c
this is the code.