2
\$\begingroup\$

I am designing a custom board. I have a USB to Ethernet converter which has 10/100 PHY and I want to connect that PHY to the gigabit Ethernet PHY. I have researched about that problem and found a Microchip topic which I shared below.

Link: https://microchipsupport.force.com/s/article/Using-an-Ethernet-Gigabit-Port-for-Only-100-and-10-Mbps-Speeds

On the Microchip site they suggest that I can connect two differential pair of 10/100 Mbps to MDI differential pairs A, B and leave the C, D pairs unconnected.

But I don't want to use a transformer when I connect them. I found an image in an Intel application note which I shared below to connect them without transformer, but it is about connecting two 10/100 Mbps PHYs. Do you have any suggestion on how to connect a 10/100 Mbps Ethernet PHY to a Gigabit Ethernet PHY?

enter image description here

\$\endgroup\$
7
  • \$\begingroup\$ Can I ask why you don't want to use the normal ethernet methods? No cables or sockets? \$\endgroup\$
    – jonathanjo
    Commented Sep 27, 2022 at 13:54
  • \$\begingroup\$ There are many reasons to want to do something like this, one of which is adding an extra USB port when no USB peripherals are left. What does knowing the reason contribute to the solution of the problem? \$\endgroup\$
    – Anas Malas
    Commented Sep 27, 2022 at 13:56
  • \$\begingroup\$ Becuse of the project requirements. \$\endgroup\$
    – vision34
    Commented Sep 27, 2022 at 13:57
  • \$\begingroup\$ @AnasMalas to understand how long the cables are, principally, and where the constraints are. \$\endgroup\$
    – jonathanjo
    Commented Sep 27, 2022 at 14:14
  • 1
    \$\begingroup\$ Yes capacitive coupling is possible in general and this has been asked before, the problem is, you need to read documentation of both PHYs you have, in order to know if the specific PHYs you have support capacitive coupling at all, and if they do, in which way they need to be connected for it to work. \$\endgroup\$
    – Justme
    Commented Sep 27, 2022 at 16:06

2 Answers 2

3
\$\begingroup\$

What you are proposing generally looks good.

I can confirm that 100Mbps Ethernet uses pairs A+/A- (RJ45 pins 1/2) for transmit and B+/B- (RJ45 pins 3 and 6) for receive. Pairs C and D are unused. Wire TX on one side to RX on the other side and vice versa.

Using capacitors instead of a transformer should be OK for parts on the same board, of if you have a good ground reference between them. It shouldn't matter if its 100Mbps, or 1Gbps.

Connecting a gigabit PHY to a 10/100 PHY should be OK provided that the gigabit PHY also supports the 10/100 speed (which many do). You would need to make sure that auto negotiation is enabled in the MII management registers on both sides (which is usually the default), or else program the MII registers for both sides to be at a fixed 100Mbps speed.

\$\endgroup\$
7
  • \$\begingroup\$ Did you mean that TX+/TX- pins of 100 Mbps ethernet PHY should be connected to the B+/B- pins of gigabit PHY and RX+/RX- pins of 100 Mbps ethernet PHY should be connected to the A+/A- pins of gigabit PHY? \$\endgroup\$
    – vision34
    Commented Sep 27, 2022 at 14:28
  • \$\begingroup\$ Yes. The TX pins on the 100Mbps PHY should connect to the RX pins on the gigabit PHY (which are on the B pair). If you are wiring an RJ45 straight-through (not crossover) cable, then the TX pair would be on A+/A- (pins 1 and 2), and the RX pair would be on B+/B- (pins 3 and 6). Generally, TX on one side connects to RX on the other side. \$\endgroup\$
    – user4574
    Commented Sep 27, 2022 at 14:32
  • \$\begingroup\$ I will use two PHYs on the same board so I won't use RJ45 cable. Does what you say apply to this as well? (100Mbps TX to the B pin etc.) \$\endgroup\$
    – vision34
    Commented Sep 27, 2022 at 14:41
  • 1
    \$\begingroup\$ Yes, it still applies. TX connects to RX and vice versa. You will have to look at the datasheets for your specific chips to find out how things are labeled, and which pins they are. Also, many chips support auto MDIX, which could detect if you erroneously connected TX to TX and RX to RX and can internally swap the pairs if you got it wrong. So, you may have a bit of a safety net there (but do try and connect them the right way to begin with). \$\endgroup\$
    – user4574
    Commented Sep 27, 2022 at 14:56
  • \$\begingroup\$ @user4574 Thank you so much. \$\endgroup\$
    – vision34
    Commented Sep 27, 2022 at 15:00
1
\$\begingroup\$

First, I’ve used the RC Ethernet connection in a product (for an add-on WiFi adapter) so I can vouch for that. (I later made them do it properly with PCIe.)

Second, there’s no issue with connecting 10/100 to Gbit pairs A and B - the Gbit PHY will negotiate that.

As a sanity check, try it out by lashing up a cable with your RC networks in place of the magnetics. Yes, I did this too.

\$\endgroup\$
8
  • \$\begingroup\$ You had both ethernet chips on the same board? I confess I'm confused! \$\endgroup\$
    – jonathanjo
    Commented Sep 27, 2022 at 15:48
  • 2
    \$\begingroup\$ In my case I was repurposing an Ethernet to WiFi bridge to add WiFi capability to a DVR. The product also had an embedded Ethernet switch. Using a separate Ethernet to WiFi adapter was the least impactful on software, and didn’t need a special FCC test as it used a pre-certified WiFi solution. Yes, it was a tinkertoy. The next gen box used Mini Card, which had an 802.11ac + Bluetooth combo using both PCIe and USB2. Getting the software team to support it took a lot of handholding along the way. \$\endgroup\$ Commented Sep 27, 2022 at 16:15
  • 2
    \$\begingroup\$ My point being, as irrational as it sounds, using Ethernet at the board level can be very convenient for development. There are lots more programmers who understand TCP/IP than who understand PCIe low-level drivers, especially if the endpoint device comes from a certain vendor who is notorious for being very closed with their documentation. \$\endgroup\$ Commented Sep 27, 2022 at 16:19
  • \$\begingroup\$ What do you think about my RC circuit which I shared above? Can I use that kind of circuit for connection between 10/100 Mbps Ethernet Phy and Gigabit Ethernet Phy? \$\endgroup\$
    – vision34
    Commented Sep 27, 2022 at 16:20
  • 1
    \$\begingroup\$ That all said, if you don’t need robust galvanic isolation for your Ethernet then there’s no reason not to use the RC approach. Automotive is moving towards this for example. \$\endgroup\$ Commented Sep 27, 2022 at 18:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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