No Voltage on ExRes1 w/ W5500
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: No Voltage on ExRes1 w/ W5500
by Eugeny ·
What does it mean? Link LED does not turn on? Switch does not see port connected?
RE: RE: No Voltage on ExRes1 w/ W5500
by Philipp K ·
All of those: Switch does not detect device, LED not on, bit in register not set.
Other than that, the PHYCFG register does not have any unexpected contents.
Furthermore I don’t see any link detection pulses from the W5500 in any mode. I think, the PHY is not working, also because of the missing voltage on the resistor…
RE: No Voltage on ExRes1 w/ W5500
by Eugeny ·
What does it have exactly when cable is connected and when it is disconnected?
RE: No Voltage on ExRes1 w/ W5500
by Philipp K ·
If I use autonegotiation, it has 0xF8, which makes sense to me:
Reset inactive, Autonegotiation all capable, duplex and speed not (yet) set, no Link.
Is there any procedure I have to follow? Right now I am doing the following:
HW Reset, wizchip_init(), setting netinfo, configuring PHY, 300ms pause, PHY reset, 300ms pause
BTW, the Wiz5500io board works with the same cable and switch setup (without anything connected to the SPI, i. e. only automatic configuration by the companion processor)
RE: RE: No Voltage on ExRes1 w/ W5500
by Eugeny ·
Link must get up even if chip is not configured. I think the only requirement is no chip reset and no PHY reset conditions.
Thus if you prove cable and switch are not issues, then there’s something wrong with your circuitry: wrong resistor soldered, small mistake in the circuit diagram, wrong pinout used for magjack etc. Sometimes removing damping resistors help; some people put 49.9 kOhm instead of 49.9 Ohm.
RE: No Voltage on ExRes1 w/ W5500
by Philipp K ·
I’ll upload my schematics in a minute, maybe you can have a quick look at it; I’ve double and triple checked most of the things (including solder connections), though and the signal from the switch gets through well, there’s just no signal coming from the W5500 pins. The missing voltage on the resistor and at the respective pin on the chip hints at something being wrong with the PHY.
Nevertheless I appreciate all suggestions and will gladly try out all of them!
RE: RE: No Voltage on ExRes1 w/ W5500
by Eugeny ·
In my understanding electrically if device senses the link it turns link LED on. Thus if switch does not light the link LED then there’s nothing from W5500, if W5500 does not light its link LED, then it does not see anything from the switch.
I do not see anything wrong in the circuit. RJ-45 pinout in the circuit is correct, please check the layout to ensure that you connect proper pins on the board level.
Note that W5500 does not support auto-MDIX:
Must work with your switch though, but you may try changing cables and try another switch to see if there will be a difference.
RE: No Voltage on ExRes1 w/ W5500
by Philipp K ·
DMXInterface.pdf (230,7 KB)
This is my schematic, the RJ45 connector footprint has been provided by the manufacturer. The missing 1M resistor on the oscillator has been added as a THT part. Let me know if you see something unusual. Thanks!
RE: No Voltage on ExRes1 w/ W5500
by Philipp K ·
Hi, thanks for checking my design!
The Layout should be okay as well, since pulses get through and furthermore the connections seem to be the way they should be when measuring them.
Maybe I didn’t esplain my problem well:
It should be sufficient if one endpoint, e. g. the switch supports auto-MDX.
The switch, not the W5500, is trying to auto-negotiate using auto-MDX, so it sends Links pulses down both wire pairs. I can only see those pulses on the board when the switch is present.
At the same time, the W5500 apparently ´doesn’t see or understand those pulses (which look good to me) nor does it send anything back on either line, so the switch does not turn its link LED on, which leads me to believe that the PHY just does not work as intended, but I don’t know why that might be.
The Wiz5500io seems to have 1.2V on the ExRes pin, while my design has 0V, other than that, the levels seem okay. Any idea what might cause this difference?
Attached you will find the Link Pulses I see on the lines.
osc.zip (5,2 KB)
I’ve already tried with different cables and endpoints (switch, router, laptop, etc…), but to no avail.
As I said, it seems to generally work with the W5500 when I use the Wiz5500io breakout board from WizNet.
I’ve also used both 33R and 0R as damping resistors, currently I am using the latter, since this seems to have worked for some people and EMV should only be a minor issue while on my desk.
RE: No Voltage on ExRes1 w/ W5500
by Eugeny ·
Ok, thank you for summary. You configure PHY using PHYCFGR, and you said it is F8. What are the states of PMODE wires? What resistors are soldered in?
Reading the datasheet:
I read it as that you must perform two writes, first one setting the PHYCFGR[5:3], and second with PHYCFGR[7] reset (and 5:3 set the same way as in previous write) to reset PHY.
RE: No Voltage on ExRes1 w/ W5500
by Philipp K ·
A while ago, I had the mode wires in Autonegotiation mode, but soldered them to 10M half duplex since I thought this would work. Didn’t help.
But the W5500 does accept the reconfiguration, which is performed according to the datasheet: After configuring and then resetting the PHY with the API functions, the Duplex and Speed LED light up accordingly and the register reflects the new values. The configuration does not seem to make any difference for the outcome though. The PHYCFG register indicates that the PHY is turned on, but there never is any reaction on the lines…
RE: RE: No Voltage on ExRes1 w/ W5500
by Eugeny ·
I am out of ideas, only guessing remains. Maybe you can post picture of the board? By the way, pin 8 of the magjack should be grounded.
RE: No Voltage on ExRes1 w/ W5500
by Philipp K ·
Same here, all I seem to know that something seems to have brought down the PHY. I’m not sure whether it’s broken, though I don’t know why that would be, but I’ve already replaced it once and I am not keen on putting in a third chip since they are not really cheap and I suppose it might harm the board, too.
I will, as soon as I am home. Or would a rendering also be sufficient?
True! I’ve used a resistor leg to solder it to the case pins a few weeks ago, but that did not make a difference. Once I figure out what the problem is here, I’ll probably make a new version where I adress the minor issues like this, too
RE: No Voltage on ExRes1 w/ W5500
by Eugeny ·
I would say not much. There’re layout guidelines, but bad layout must not cause no link. It may work badly, but not fail completely. Exactly as you said in your original post.
Then it is not a chip, but something else. This is good news…
Check L1. Is it in place? What is the voltage at 3V3A?