WARNING: internal 10|100 PHY requires magjack hardware! - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: Rock64 Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=89) +--- Thread: WARNING: internal 10|100 PHY requires magjack hardware! (/showthread.php?tid=4724) |
WARNING: internal 10|100 PHY requires magjack hardware! - MarkHaysHarris777 - 07-09-2017 WARNING: RK3328 internal 10|100 PHY requires magjack hardware for operation. The RK3328 internal PHY for the 10|100 ethernet link requires additional hardware to function. While this is obvious to many of our number, it may not be clear to all of you, including me. The 10|100 ethernet connection requires not only the internal PHY on the RK3328 chip, but also requires what is called a "magjack" (the RJ45 connector jack) which includes a fairly sophisticated isolation transformer "inside" the jack housing ! The magjack is relatively inexpensive and may be obtained from various sources; the Pine store carries a DAC board for the Rock64 which contains a correct magjack, so if you will be using the DAC the magjack tails along for the ride! Below I have listed a couple of examples from some suppliers including Sparkfun and Digikey; as well I have included a sample datasheet so that you can see the internal schematic of a typical magjack. The two that I am highlighting have built-in LED(s) for link and speed which are optional but very handy. DO NOT try to wire Rx+ Rx- Tx+ Tx- differential pairs directly to the RK3328 Rock64 board without the isolation transformer found in the magjack ! Magjack from Digikey Magjack from Sparkfun Datasheet for the Digikey Magjack Rock64 DAC with Magjack Rock64 DAC Schematic (shows magjack connections) RE: WARNING: internal 10|100 PHY requires magjack hardware! - fire219 - 07-09-2017 Also a tip from personal experience: Unless you consider yourself highly skilled at soldering, don't just buy the magjack alone. The pins on most models of these are too short for wire jumpers to make solid contact, and it is very difficult to solder deadbug style (wires direct to pins of the connector). The smarter (and cleaner looking) way of doing it would be to purchase an RJ45 breakout board. Such a board is available from Sparkfun, as is the board with the connector presoldered. RE: WARNING: internal 10|100 PHY requires magjack hardware! - MarkHaysHarris777 - 07-09-2017 (07-09-2017, 07:44 PM)fire219 Wrote: The smarter (and cleaner looking) way of doing it would be to purchase an RJ45 breakout board. Such a board is available from Sparkfun, as is the board with the connector presoldered. Thanks fire ! I actually ordered that pre-soldered breakout; very nice... I'll keep yous guys posted on the success of this little project. RE: WARNING: internal 10|100 PHY requires magjack hardware! - pfeerick - 07-10-2017 Attached is the datasheet for the actual magjack used on the Rock64 DAC board RE: WARNING: internal 10|100 PHY requires magjack hardware! - MarkHaysHarris777 - 07-10-2017 (07-10-2017, 03:40 AM)pfeerick Wrote: Attached is the datasheet for the actual magjack used on the Rock64 DAC board Thanks Pete! I got that datasheet late last evening from tllim and have been comparing it to the digikey datasheets for available magjacks; we're going to have to try a couple of these to see what the differences are (if any) and which ones actually work for the price. It seems the magjack on the DAC is consistent with the digikey datasheet here except that the DAC does not have the optional link and speed LED(s). RE: WARNING: internal 10|100 PHY requires magjack hardware! - kingsajz - 10-27-2017 As the datasheets shows it should be easy to connect tx's and rx's, but I wonder what about LED's. Any idea where to connect Magjack's LED's ? RE: WARNING: internal 10|100 PHY requires magjack hardware! - dkryder - 10-27-2017 if you mean the one attached by pfeerick, there appears to be no led leads. RE: WARNING: internal 10|100 PHY requires magjack hardware! - kingsajz - 10-29-2017 I think I found it, but correct me if I'm wrong. On Pi P5+ Bus layout pins 21 nad 22 as positive and ground as negative. RE: WARNING: internal 10|100 PHY requires magjack hardware! - mikedhoore - 11-05-2017 Hii, I'm ordering the magjack from Sparkfun Is this the correct way to connect or I'm I forgetting things? I don't need the leds Thx in advance RE: WARNING: internal 10|100 PHY requires magjack hardware! - psychedup - 04-06-2018 I'd like to know if anyone has gotten this to work yet. I bought the magjack breakout from Sparkfun here: https://www.sparkfun.com/products/13021 Then I made these connections: Pi5 pin 17 (RD+) -> P7 Pi5 pin 18 (RD-) -> P8 Pi5 pin 19 (TX+) -> P1 Pi5 pin 20 (TX-) -> P2 I downloaded and installed ayufan's latest release xenial-minimal-rock64-0.6.31-209-arm64.img.xz. (*I realize this is experimental but the 0.5.15 release didn't seem to have the phy enabled). The latest images have the phy disabled in the device tree so I used this command to enable it: Code: sudo enable_dtoverlay eth1 ethernet@ff550000 okay After that I see messages about eth1 in dmesg: Code: [ 56.015672] rk_gmac-dwmac ff550000.ethernet: Looking up phy-supply from device tree But it doesn't seem connected to anything: Code: rock64@rock64:~$ sudo dhclient -v eth1 Also my switch doesn't show a link. I'm not sure if (a) my wiring is wrong, (b) I need to do something else to enable/configure it completely, or © the adapter is defective. One thing that seemed odd to me, when I was checking my wiring with my multimeter set for continuity testing, I discovered that pins 1 and 2 on the magjack breakout are connected to each other. At first I thought that was my fault but it seems that they are connected inside the magjack. I looked at the datasheet and it seems that might be correct, but I'm not sure (I don't know much about transformers or ethernet at that level). I'd appreciate any feedback on what I may be doing wrong. Thanks, Chris |