Close

Ethernet connections for an amnesic Telecom. Engineer

A project log for Unnamed crazy mini-cluster motherboard

Raspberry Pi Compute module-like cluster Motherboard

ekaitz-zrragaEkaitz Zárraga 08/18/2018 at 15:340 Comments

Yo!


Don't worry, the title is for *me*. I'm a Telecom Engineer but I spent most of my career working with software and I almost forgot the signal+electronics part.

Let's take a look to all this thing.

If we simplify, we can say the motherboard here is just a switch with some connections to computers, everything well routed in a PCB. Nothing else.

So, the connections with the Switch are made via Ethernet. I chose a switch from Micrel (now part of Microchip) called KS8999. The switch is a 9 port switch, 8 with PHY and the other with MII.

First of all, what does that mean?

It means 8 of those ports are PHY-sical and the other one is a Media-Independent Interface. The MII interface is supposed to be the connection to the WAN (the external connection) and the others are supposed to be to connect the computers of the cluster to them.

The difference between them both lays on the abstraction level they have (directly related with the OSI model). The PHY ports directly handle all the media specific details, they are oriented to signals more than to the Data. The MII interface is supposed to need a PHY device to handle the low-level and media-dependent parts of the connection while they strictly handle the data interchange with that device.

As this project aims to connect devices via PCB and not cable, some considerations must be take in account, the connection between devices must fulfill the conditions imposed by PHY devices. They expect some impedance and stuff, if we change that, the reflections and stuff will destroy our signals and the PHY devices are going to be unable to extract any data from them.

All of this stuff has any sense?

Going to the detail, "normal" ETH connections have a cable in there with some RJ-45 connectors being the interface between the PCB and the cable itself, right? The RJ-45 connectors and the standard configuration has some transformers to provide isolation. But in the PCB we are not going to use them. Also, the cable and the connectors have specific inpedance and attenuation requirements. We have to take them in consideration for the PCB layout and connection.

We are going to make simple connection with some capacitors and resistors.

There's a good application note by Micrel for that:

ww1.microchip.com/downloads/en/AppNotes/Capacitive Coupling Ethernet Transceivers without Using Transformers.pdf

The MII interface, which will be used for the external connection will be made in the standard way with an RJ-45 connector because it's supposed to be connected to a router or something.

This AN is also interesting for the signal routing:

http://ww1.microchip.com/downloads/en/AppNotes/General%20PCB%20Design%20and%20Layout%20Guidelines.pdf

From the side of the Compute Modules, they are probably connected via USB because they don't have any ETH port. We can use a USB to ETH device for that, like the Microchip LAN9512 or similar.

Discussions