MarshallMCH Posted November 23, 2017 Share Posted November 23, 2017 I'm looking to add two ENC28J60 Ethernet interfaces to my OPI, does it have two SPI interfaces available? From my reading, it appears the onboard NAND flash takes up one SPI interface, but I cannot find any information on whether there is 1 or 2 other SPI interfaces available? Link to comment Share on other sites More sharing options...
chwe Posted November 23, 2017 Share Posted November 23, 2017 https://linux-sunxi.org/Orange_Pi_PC#Expansion_Port Link to comment Share on other sites More sharing options...
MarshallMCH Posted November 23, 2017 Author Share Posted November 23, 2017 So it looks like SPI0 has 4 pins, but SPI1 only has 2 pins? Can you clarify if both are available, or if SPI1 is already assigned to NAND? Link to comment Share on other sites More sharing options...
chwe Posted November 23, 2017 Share Posted November 23, 2017 MOSI and MISO of SPI1 are used for other purposes... But since SPI is a bus you might use 2 different CS pins to use your SPI devices on the same bus. Read through this things might help a little bit. http://linux-sunxi.org/SPIdev Link to comment Share on other sites More sharing options...
Recommended Posts