I wish to create a rudimentary ethernet in/out - switch/hub where I can (sort of) daisy chain my boards. (I don't wish to use a ethernet switch/router/hub)
- One port would be acting as server
- The other would be acting as a client (and forward any messages received on the first port after some processing/modification)
I am using an STM32 Bluepill with 2 Mini w5500 Modules (adafruit) connected via SPI. Nothing else is connected to SPI. All the other GPIOs are connected to relay drivers.
I use the Ethernet library. I have made sure they are connected to different CS pins and I have tried to assign
Ethernet.init(); before doing anything with specific Ethernet modules but that keeps disconnecting and is working very unreliably.
I understand that some modification in the library might be needed (I, by no means could figure out how and what).
But no one seems to have gotten it to work. Please help.