0
\$\begingroup\$

I am new to PCB routing. In one of my projects, I need to be able to exchange data between nano-computers (https://www.variscite.com/wp-content/uploads/2018/01/DART-6UL_DART-6UL-5G_Datasheet.pdf) using an Ethernet connection. I will use a simple RJ45 connector soldered on my card (https://docs-emea.rs-online.com/webdocs/0fae/0900766b80fae0ad.pdf).

My question is now : how am I suppose to route the 8 Ethernet pins to my nano-computer ?

I do not want to route differential pair all the way to the nano-computer. I have searched and read about magnetics, transformers, rmii, PHY, MAC... But it is all confused in my head and I don't know which one I should use.

Is there a classic way to achieve this PCB routing ? (at least schematic routing first)

Thank you all

\$\endgroup\$
3

3 Answers 3

6
\$\begingroup\$

I think the routing is at the moment the least of your concerns. Usually, providers of SOMs also provide schematics for a base board. The least painful way to get a working board is to copy those schematics (at least the parts you require). I would guess this information is hidden behind the customer registration item on their webpage.

In any case, the module already contains everything including MAC + PHY (KSZ...) for one ethernet port according to their description, so you probably won't need those. I would guess (according to the pin description) that you would then route the pins to a transformer (1:1 winding ratio) and then to the actual connector. If you want to save on parts, you can get a connector with integrated magnetics (typically called magjack). Again, refer to the module's vendor on how to connect them correctly. The PDF is a little bit on the low information side.

If the track between RJ45 connector and module connector is very short, you can probably (!) get away with simply routing the tracks as you like. For everything longer, you will need to match the impedance closely to 100R Differential or 50R Single-Ended. Make sure that the trace lengths match at all costs.

\$\endgroup\$
10
  • \$\begingroup\$ What would be a very short distance ? On my actual board it will be about 10 cm. It might be considered long am I right ? \$\endgroup\$ Commented Jan 3, 2019 at 11:42
  • 2
    \$\begingroup\$ Yes, that's definitely long. Why do you have issues with differential routing? \$\endgroup\$
    – Tom L.
    Commented Jan 3, 2019 at 11:44
  • \$\begingroup\$ This site : skottanselektronik.com section Differential Micro Strip gives me bad results with the following configuration : t = 0.035, h = 0.6, epsilon_r = 3.4. (h cannot be smaller) I want Z0 = 50Ohm and Zdiff = 100 Ohm To do so I need 1 mm long wires and separated by 5 mm... That's too much, I don't have this amount of space on my card. What solutions are left for me ? Do I really need to match the impedance for short distance ? (my wires are < 25mm) \$\endgroup\$ Commented Jan 8, 2019 at 13:59
  • \$\begingroup\$ That sounds wrong. Can you give us a description of your layer stackup (thickness, layers)? \$\endgroup\$
    – Tom L.
    Commented Jan 8, 2019 at 15:11
  • \$\begingroup\$ I have found the solution. Maybe you can tell me if you think it sounds right. I based my calculation on this picture : skottanselektronik.com/d_mstrip.gif I can ask for a 0.6mm thick PCB. With a 4-layer PCB, and internal ground planes 0.0175mm thick, it gives me h = 0.1883mm. t = 0.035mm and cannot change. Then if I use w = 0.25mm and s = 0.267mm, I have as a result : Z0 = 57.05 Ohm and Zdiff = 100.06 Ohm which I think is satifying enough based on the set-up of my PCB :) \$\endgroup\$ Commented Jan 9, 2019 at 8:15
2
\$\begingroup\$

You can use the onboard phy, but you would also need to supply external magnetics. You can use an external phy (like if you needed to use fiber or a different ethernet interface) on the either of the RMII interfaces supplied on the SOM.

enter image description here

It would probably be wise to use the onboard phy:

The DART-6UL/DART-6UL-5G features Micrel™ KSZ8081RNL Ethernet PHY. KSZ8081 is a single supply 10Base-T/100BaseTX Ethernet physical-layer transceiver for transmission and reception of data over standard CAT-5 unshielded twisted pair (UTP) cable.

Here is the datasheet for the KSZ8081RNL

enter image description here

Typically you place magnetics between the phy and the outside world (as per the spec), if the phy's are on the same board, you may not want to use magnetics. Read the datasheet of the KSZ8081 and follow the guidelines. I'd estimate someone who has not implemented an ethernet interface would need about 30 to 60 hours to read and understand all of the material required to correctly implement the interface. Lucky for you the phy is already on the board so using that should save you some time. You need to make sure the routing is done using impedance controlled (usually 100Ω check the datasheet) traces.

\$\endgroup\$
0
\$\begingroup\$

Ethernet PHY (physical layer) on your board is implemented with Microchip's KSZ8081 controller. Check Fig. 7-16 at page 58 of the datasheet: enter image description here Pins TXP, TXM, RXP and RXM corresponds to pins ETH_RXDP, ETH_RXDN, ETH_TXDP and ETH_TXDN at J1 connector of your board (page 19 of the datasheet you provided). I suggest you to use RJ45 connector with integrated transformer and common mode choke, as this one.

Besides RJ45 connector you need only two additional capacitors, so routing is fairly simple. Keep tracks as short as possible and the same length.

\$\endgroup\$
3
  • \$\begingroup\$ So to be clear : there will be the RJ45 connector, connected to a magnetic, which will directly be connected to the Ethernet ports on the nano-computer. Am I right ? Is there a need for a transformer ? Or are the magnetic/transformer the same thing ? Sorry I'm a bit confused but with your explanations and the reading of the datasheet it becomes clearer :) \$\endgroup\$ Commented Jan 3, 2019 at 11:37
  • \$\begingroup\$ Magnetics = Transformer \$\endgroup\$
    – Tom L.
    Commented Jan 3, 2019 at 11:44
  • \$\begingroup\$ Yes. I suggest you to use RJ45 connector with transformer, like this one. Then you can directly apply schematic from the datasheet. \$\endgroup\$
    – Davor
    Commented Jan 3, 2019 at 13:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.