PINE64
Using SPI - 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: Using SPI (/showthread.php?tid=7727)



Using SPI - Wom the Bat - 07-21-2019

Hi Folks,
     I'd like to attach some SPI gadgets to the Rockpro64.  The chip-select line on the PI2 bus is already consumed by the SPI flash.  Does anyone have any guidance as to how to hook up an additional CS line?

I've tried setting up a bitbanging GPIO SPI driver but it's too slow: it maxes out at around 10us per bit --- my applications need to go around 300ns per bit.  The hardware SPI controller should be able to do this; but, as I said, only one CS line is brought out, and it's already in use.

Wom the Bat.


RE: Using SPI - ayufan - 07-23-2019

Can you use extra GPIO for that?