PINE64
SPI support in GPIO - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: General Discussion on ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=99)
+--- Thread: SPI support in GPIO (/showthread.php?tid=7583)



SPI support in GPIO - mr_rabbit - 06-11-2019

Hi!

I recently bought a RockPro64 with 4GB and would like to control a 1.8 LCD screen with SPI interface using the pins on the GPIO header.

The system is running ayufan's Ubuntu minimal. 

I had success in simple GPIO switching by using the RP64-GPIO library:
https://forum.frank-mankel.org/topic/292/rockpro64-rp64-gpio

However, I was not able to access SPI. I could not find any help or documentation on the internet, not even on the Wiki.

Anyone had success with this?


RE: SPI support in GPIO - ayufan - 07-05-2019

SPI is exposed by default on my builds, as you use also SPI flash.

It is very likely that there's a driver for your LCD screen, but I'm unsure if this is compiled in.