You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am testing to see if ENC28J60(Ethernet module) works on SPI2 interface, and I am having some issues. Basically the wire connections will be:
INT - GPIO39
MISO - GPIO40
MOSI - GPIO41
SCLK - GPIO42
CE - GPIO43
I have it working with Pi zero, and SPI0 on compute module, but didn't work on SPI2 for compute module. It is always trying to access SPI0 during the bootup and therefore it wouldn't pick up the ethernet. The current enc28j60 overlay file is for SPI0 apparently, and I am wondering if I need to create my own overlay .dts file specifically tailored to SPI2, or does it already exist? If not, are there any alternatives or shortcut that allows me to access SPI2 right away instead of creating a new dts file(for example one line of change in /boot/config.txt)?
This is the boot time message and you can tell it's accessing SPI0 although I already connected my module to SPI2
Any help and insights will be appreciated
The text was updated successfully, but these errors were encountered:
I am testing to see if ENC28J60(Ethernet module) works on SPI2 interface, and I am having some issues. Basically the wire connections will be:
INT - GPIO39
MISO - GPIO40
MOSI - GPIO41
SCLK - GPIO42
CE - GPIO43
I have it working with Pi zero, and SPI0 on compute module, but didn't work on SPI2 for compute module. It is always trying to access SPI0 during the bootup and therefore it wouldn't pick up the ethernet. The current enc28j60 overlay file is for SPI0 apparently, and I am wondering if I need to create my own overlay .dts file specifically tailored to SPI2, or does it already exist? If not, are there any alternatives or shortcut that allows me to access SPI2 right away instead of creating a new dts file(for example one line of change in /boot/config.txt)?
This is the boot time message and you can tell it's accessing SPI0 although I already connected my module to SPI2
Any help and insights will be appreciated
The text was updated successfully, but these errors were encountered: