Nanopi M3

farshin
hi. how i work with  SPI at Nanopi M3 . i have sensor that  work wih SPI.
and i want to read data but i dont know how work with spi .

davef
Have a look through the Matrix code samples. 
http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_2%278_SPI_Key_TFT
might some SPI code in it.