Has anyone faced packet loss on LAN8720 if you ping from your computer? I have made an internet clock where I have used both LAN and WiFi of ESP32. Ping seems to work fine for Wi-Fi but there seems to be regular packet loss for the ethernet port.
Loss is typically less than 20%. Here is a sample:
Although this loss is not an issue for a clock the client is complaining about it.Ping statistics for 192.168.10.189:
Packets: Sent = 602, Received = 512, Lost = 90 (14% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 15ms, Average = 0ms
Here is my configuration for the LAN8720 example code:
I have originally followed a tutorial from "https://sautter.com/blog/ethernet-on-es ... g-lan8720/". Internet works fine. I just need to solve the ping issue. Can anyone point me in the direction of a solution?#define ETH_CLK_MODE ETH_CLOCK_GPIO0_OUT
// Pin# of the enable signal for the external crystal oscillator (-1 to disable for internal APLL source)
#define ETH_POWER_PIN 17
// Type of the Ethernet PHY (LAN8720 or TLK110)
#define ETH_TYPE ETH_PHY_LAN8720
// I²C-address of Ethernet PHY (0 or 1 for LAN8720, 31 for TLK110)
#define ETH_ADDR 1
// Pin# of the I²C clock signal for the Ethernet PHY
#define ETH_MDC_PIN 23
// Pin# of the I²C IO signal for the Ethernet PHY
#define ETH_MDIO_PIN 18