| FORUM

FEDEVEL
Platform forum

ethernet PHY problem

Sniper2 , 04-06-2024, 04:31 PM
So i made a PCB with 2 ethernet PHY s and i have 2 problems with the board bring up:
a phy 1 is recognised by MIO but does not establish a link to Ethernet
b phy 2 is not detected by MDIO at all

The MDIO buss is shared and the signals are sent from the MPU and they look good , i even reduced the pull up resistor value to try and solve the problem but it did not .
Also in a similar design it works but only sometimes as in i assembled 2 boards and 1 is fine and the other not ( rather only 1 phy works well).

In regards to impedances and length matching i was very careful and did it well , the power supply (3v3) is a buck but measured noise was 30mV pp ( with long GND probe so real is less probably, the RMS noise was like 10mV or less ) .
From what i managed to see from the registers of the working board the RX pins sense energy from my network so there seems to be no soldering problem or impedance since it works well at full speed.
I am not sure what to look / try and do when debugging this PCB. Any advice?
QDrives , 04-06-2024, 08:24 PM
Which PHY?
Sniper2 , 04-06-2024, 08:41 PM
ADIN1200
Sniper2 , 04-06-2024, 08:43 PM
same problems with KSZ8081 and W5500 (older designs that i had no idea why didnt work)
QDrives , 04-07-2024, 03:34 PM
Reset set to the correct level and done?
Sniper2 , 04-07-2024, 04:31 PM
no
Sniper2 , 04-07-2024, 04:31 PM
allready did that
Sniper2 , 04-07-2024, 04:32 PM
also i tested MDIO signals and they are sharp enough so it cant be there
Sniper2 , 04-07-2024, 04:32 PM
link is pre MII/RMII communication so that is irelevant for now
Robert Feranec , 04-07-2024, 05:02 PM
can you more describe your system? I am not really sure how it looks - it is one board with two different PHYs or two boards with two different PHYs, how the MDIO is shared etc
Sniper2 , 04-07-2024, 05:05 PM
1 board with all on it , MDIO is shared since i save pins
Sniper2 , 04-07-2024, 05:05 PM
pull ups are in the middle it is like a T
Robert Feranec , 04-08-2024, 05:46 AM
just curious, why did you use two different PHY? MDIO problem: be sure address is set correctly often it can be configured by pull ups/downs
Sniper2 , 04-08-2024, 07:09 AM
I will check again addresses.
Also to clarify it is 2 identical adin1200 on a pcb since redundancy. I have similar problems on another design that uses 2 ksz8721
Sniper2 , 04-08-2024, 07:09 AM
I hope it is clearer now
Sniper2 , 04-08-2024, 01:32 PM
Solved
Sniper2 , 04-08-2024, 01:32 PM
It was a rx line short
Sniper2 , 04-08-2024, 01:33 PM
I am blind
Sniper2 , 04-08-2024, 01:33 PM
Now back to debuging other stuff......
Use our interactive Discord forum to reply or ask new questions.
Discord invite
Discord forum link (after invitation)

Didn't find what you were looking for?