Electronic – PCB design for RJ45 jack

ethernetpcbpcb-designrj45

I'm designing a PCB to host an Applanix APX15 GPS/inertial navigation device. The hardware integration manual (which seems not to be publicly available) shows that a 10/100 BaseT Ethernet is supported via four pins on the board and explains that the magnetics are on the APX15, but little else.

Pinout

Ethernet note

Is it really just as simple as connecting these four lines to the RJ45 jack? Are other components required? How about trace widths/lengths and impedance? Grounding? Are there any gotchas with respect to e.g., routing TD to RD and vice versa? (I'm having difficulty finding schematics or explanations of this topic suitable to a novice like me.)

Note: I have tried naively connecting these pins to an RJ45 jack with no magnetics, but it doesn't work. Ethernet works fine with the test board (which has its own magnetics identical to those on the APX15) that came with the device.

Edit: There is a Pulse HX1188FNL chip (magnetics) on the board. Link goes to a datasheet with a schematic that reflects the APX documentation, with the addition of connections of the remaining pins to chassis ground via a resistor and capacitor.

Edit 2: Found layout guidelines for the magnetics on the APX. For now I'll assume that this 4-lead connection will work, but my impedances are messed up.

Edit 3: It has been suggested that this is an MDI-MDIX problem. If I'm connecting a straight-through (not cross-over) ethernet cable from my computer to the device (which works on the test board), the device should behave as the Hub MDI-X device in this image:

MDI - MDI-X

I had connected pin 1 to TD+ but perhaps I should be connecting pin 1 to RD+, etc.

Edit 4: It turns out the four leads do have to be reversed, which is equivalent to using a cross-over cable. So RD+ goes to TD+, and RD- to TD-, etc. Then, everything works as expected.

Best Answer

Like the note says, the magnetics are implemented on board. So a simple 8P8C (RJ45) connector should work. Also, you need specific impedance which can be achieved with correctly sized traces and grounding. There are plenty of application notes from different manufacturers how to design an Ethernet interface, and how to calculate trace width and spacing to get a certain impedance. Ethernet uses 100 ohms differential impedance.