Chip to Chip Communication Over Ethernet MDI

ethernet

Does anyone have any experience with the inter-processor communication over Ethernet MDI interface.
Normally, I would connect two devices with the RJ45 connectors(with RJ45 ethernet cable) and then communicate with socket. My two chips are on the same board, can I just communicate through Ethernet MDI?

The architecture looks like:

Processor0(MAC) – Ethernet PHY — Ethernet PHY – (MAC)Processor1

Does it work. If it does not, could you let me know why.

Any suggestion will be appreciated.

Best Answer

Your operating system - I'll take Linux as an example, but it can well be any proprietary system - should be able to detect the physical ethernet devices, instantiate them in the kernel and start their device drivers. Eventually these devices will show up as, say, "eth0" and "eth1". From that point on, the networking stack will just work as usual (e.g. you can assign IP addresses to them). It makes no difference whether the devices are connected over RJ45 cables or by lines on the PCB or backplane.

Related Topic