-
Notifications
You must be signed in to change notification settings - Fork 7.6k
LAN8720 Packet loss of ESP32 external crystal #10362
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
Comments
#define ETH_ADDR 1 |
ETH.begin(ETH_ADDR, ETH_POWER_PIN, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_TYPE, ETH_CLK_MODE); |
Hey, I used the Internet (Internet of Things), but I didn't lose the packet, but I lost the packet with LAN ping. |
What board do you use? |
Just some other idea, inspired by this PR for Olimex boards: #9623 |
I use the external 50Mhz crystal calibrator to provide the GPIO0 and LAN8720 < ETH _ CLOCK _ GPIO0 _ in > with the crystal calibrator at the same time. The communication is good in the network cable mode, but it will enter the download mode randomly when it is powered on. How to deal with this?It is found that the power-on probability may fail to obtain the chip or the URL by using the ETH _ CLOCK _ GPIO0 _ OUT, the ETH _ CLOCK _ GPIO16 _ OUT, and the ETH _ CLOCK _ GPIO17 _ OUT |
Ah that's a different problem. |
Thank you for your reply. It's a little embarrassing. I don't know where to start. Now there are only IO ports GPIO1 (TX), GPIO3 (RX) and GPIO36 and GPIO39. Of course, there is a red light (GPIO17) that can switch with GPIO1 (TX), but I don't know how to decouple GPIO0.Can you be more specific? |
Thank you very much |
Closing since not an issue from Arduino core. |
Board
ESP32
Device Description
When I used the network cable mode and the external crystal oscillator, I found that the LAN8720 inch was losing packets.
The internal ETH _ CLOCK _ GPIO17 _ OUT crystal oscillator is normal, while the external crystal oscillator is connected to the network cable smoothly. The internal crystal oscillator may not be connected to the network cable easily
Is there any way to process the external crystal oscillator with software
Hardware Configuration
LAN8720 using external crystal and using GPIO17 have two different performances, one is the connection problem, the other is the packet loss problem
Version
latest master (checkout manually)
IDE Name
Platformio
Operating System
Mac0S
Flash frequency
40Mhz
PSRAM enabled
yes
Upload speed
115200
Description
LAN8720 using external crystal and using GPIO17 have two different performances, one is the connection problem, the other is the packet loss problem
Sketch
ping 192.168.18.60
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: