eth2ap gets ethernet link down and up repeatedly

biterror
Posts: 30
Joined: Thu Apr 30, 2020 11:00 am

Re: eth2ap gets ethernet link down and up repeatedly

Postby biterror » Sat Jan 13, 2024 6:28 pm

I'm afraid I have run into this same problem, see viewtopic.php?f=13&t=37757

I'm using a LAN8710A PHY and get the PHY clock from GPIO17. Has anyone found a solution to this problem? I have several hundred boards out there - didn't notice the problem before because we were using Ethernet only (no WIFI). Can't change the hardware now. :(

second.string
Posts: 1
Joined: Sat Feb 10, 2024 5:15 pm

Re: eth2ap gets ethernet link down and up repeatedly

Postby second.string » Sat Feb 10, 2024 5:19 pm

I know this is not an active thread, and i know it's related to the simultaneous use of wifi + ethernet, but I wanted to drop a different solution here in case anyone else was having the same problem as me.

I also was seeing odd behaviour with link up / down repeatedly. When connected directly to a computer ethernet port, after 2 or 3 link up/down cycles, it would remain up and there would be a bit of traffic from the laptop sending a bunch of discovery packets. When connected to a router, it would go up/down forever. I could never get an IP assigned, and setting a static IP helped get incomplete TCP packets to a laptop but nothing actually working. Clock was sourced from the LAN8720 using a 25MHz oscillator, and fed into the ESP32 through IO0.

My issue was that I was using a 12R1 bias resistor for the LAN8720A instead of a 12k1 resistor. This was causing VDDCR, the internal voltage regulator level, to be at 1V8 on the output pin. Once I swapped to the correct resistor, everything works flawlessly.

Only mentioning here in case someone else is as frustrated as I have been, since I haven't seen this mentioned anywhere else.

Who is online

Users browsing this forum: Ethapus and 208 guests