I have been making few custom boards in the past using Atmega2560 and w5500 with the help from this forum.
Right now for a particular requirement I need to connect to two different devices over Ethernet simultaneously. Due to the architecture of the whole system (of which, my board is a small part) I cannot use an external ethernet switch.
I want to make the board with two ethernet ports coming out of it.
What I was thinking is this:
One option can be just to make two separate chains, (ATMEGA+W5500+RJ45) x 2
Both the Atmega controllers can talk to each other via UART. This seems to be an overkill to
me .
Another option may be two somehow use two (W5500s+RJ45). Don't know how feasible this is.
Last option I can think of is using some ethernet switch IC and connect one port to the W5500 and other two to RJ45. But I do not think the Analog differential signals can be directly connected to the PHY interface of the switch ICs..
EDIT: or maybe like this : W5500->Magnetics -> Magnetics of Switch IC phy port -> switch IC
Basically I picture this like normal ethernet connection but we skip the two RJ45s and the ethernet cable.. Or is it crazy?
If anyone has any idea about how to go about it, it would be a great help.
Thanks
Ok, one suggestion is to mount everything on DIN rail inside the enclosure. Depending on your specs, the switch will be a separate module on the rail, but integrated in the enclosure.
This approach makes the most sense but I am exploring options because my module will probably be mounted along with an existing module which is taking a smaller space in the rack so I can horizontally adjust both together, but the dimension is restricted. But if there is no other way then will have to do this somehow. Will discuss this with the team tomorrow.
My module was not planned before, it is being added to solve incompatibility between three devices. One device sends serial NMEA data, two devices listen only to ethernet for GPS data(over OpenAMIP protocol).