-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LAN8720 with ESP32 : Timed out waiting for PHY #2907
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
This stale issue has been automatically closed. Thank you for your contributions. |
My issue is fixed after removing VT2 (GPIO0 transistor) from "DOIT ESP32 Devkit V1" board |
Hi, thank you for your answer :) Today i'm giving a new try after updating my esp32 firmware to esp32-idf3-20191224-v1.12-5-g42e45bd69.bin (support LAN and PPP but not bluetooth) So, how did you do to success?
This is a lot of questions ^^ Sorry ! |
Hello. I repeated the steps you done and it worked for me. I'm using: ESP32 (the "yellow" development board) too, the similar LAN8720 ETH adapter, the wires I used are 20 cm long, and I changed the ETH_LAN8720_internal_clock sketch the same way you done. Below I show the wire up and sketch. Anything I can help, please contact me.
|
I still have to emphasize 50MHz signals will not work reliable with such long cables flying in the breeze. |
Hi guys.
|
I take a timeout. PCB lan8720 is defective. When 3.3 volts is turned on, the green LED should light up. |
This web page really helped me. |
With the above connection diagram, do we have Modbus TCP communication sample code. Thank you. |
I have the same issue as @AH-007. But i'm having a different Board and don't know what Pin is GPIO00 and what is GPIO 17? |
I think i solved something. My Serial Monitor is now printing ETH Started and ETH Connected without any Errormessage of power failure or something. |
I too faceing same issue not able to print ip adress |
Hi,
I'm trying to connect my ESP32 (the "yellow" development board) to my Ethernet network (without Wifi) through a LAN8720 board. But I'm stuck at the classic error :
emac: Timed out waiting for PHY register 0x2 to have value 0x0007 (mask 0xffff). Current value 0xffff emac: Timed out waiting for PHY register 0x3 to have value 0xc0f0 (mask 0xfff0). Current value 0xffff
What I have done:
I modified my LAN8720 Board ($2 board from aliexpress) using this: https://sautter.com/blog/ethernet-on-esp32-using-lan8720/
The disposition on my LAN8720 is a little different so I adapted:
EDIT: After reading that the lenght of wires can be an issue at 50MHz, I wired it with 10cm wires (instead of 20cm on the photo), still the same.
I wired it again like written on https://sautter.com/blog/ethernet-on-esp32-using-lan8720/:
And finally with the arduino IDE 1.8.6 I uploaded the "Exemple->Wifi->ETH_LAN8720_internal_clock" sketch after modifying
ETH_ADDR 0 to 1
define ETH_MDC_PIN 15 to 23
define ETH_MDIO_PIN 2 to 18
The full sketch:
I know this is probably not an issue, but something I missed or am doing wrong.
So if I ask on the wrong place, please tell me where I could ask, so I can move it.
I also find this https://esp32.com/viewtopic.php?t=5732 but before removing the crystal I prefer to be sure I'm not missing something else.
Sorry for my terrible English.
The text was updated successfully, but these errors were encountered: