源碼在
https://github.com/greatcattw/linkit7688_spi_nor
接線如下
環境
Test, 32 byte output and 32 byte input, it is OK.
Linkit7688 linux 3.18.109 ,有個SPI的節點/dev/spidev32766.1
存取這個節點,就可以存取SPI設備, 最多一次半雙工存取32 byte input and 32 byte output,
也就是要耗64 byte的時間, 不能跑loopback
Test, 33 byte output and 33 byte input, it is NG.