I am trying to set up the W5100 Ethernet module on a Controllino MAXI. I have tried uploading the examples that come with the Arduino IDE as Controllino doesn’t offer such code. I tried the “ChatServer” and the “DhcpAddressPrinter” examples and both tell me that there is no hardware connected. I have seen on the internet that you have to set the hardware SS of the ATmega (pin 53) to OUTPUT and HIGH to make it work but according to the pinout of the MAXI this pin isn’t connected to the W5100. I have also tried putting a delay in void setup() of the examples to give the W5100 some time to “boot”. Didn’t help either.
Furthermore, I had a look at the Macros defined for the MAXI and found this line:
#define CONTROLLINO_ETHERNET_CHIP_SELECT 70
So I tried to set pin 70 HIGH but that just turned on D8, R1, R3 and R7. Is that a bug or did I miss something?
Is the wiring of the Controllino for this part any different than the standard setup for an Ethernet shield or am I missing something in the code?
EDIT: I plugged in an ethernet cable which is connected to the network. The orange LED on the Ethernet connector is glowing continously and the green led is flashing