I can't get this W5500 ethernet module working with Teensy. I'm hoping I just setup something wrong. Can anyone spot a problem? I've tried it with the WebServer example and the TimeNTP example, and both can't find the adapter, nor do any of the LEDs on the W5500 light up. I've tried adding the following initialization code to the beginning of setup in both programs, and I get the same result:
I also tried adding a call to Ethernet.init(10) before Ethernet.begin(), but it still doesn't work.
In the case of WebServer, Ethernet.hardwareStatus() returns EthernetNoHardware, which triggers the error. For TimeNTP, Ethernet.begin() returns 0.
Code:
pinMode(9, OUTPUT);
digitalWrite(9, LOW); // begin reset the WIZ820io
pinMode(10, OUTPUT);
digitalWrite(10, HIGH); // de-select WIZ820io
pinMode(4, OUTPUT);
digitalWrite(4, HIGH); // de-select the SD Card
digitalWrite(9, HIGH); // end reset pulse
I also tried adding a call to Ethernet.init(10) before Ethernet.begin(), but it still doesn't work.
In the case of WebServer, Ethernet.hardwareStatus() returns EthernetNoHardware, which triggers the error. For TimeNTP, Ethernet.begin() returns 0.