Skip to content

LAN8720 Packet loss of ESP32 external crystal #10362

Closed
@hzhh110

Description

@hzhh110

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

64 bytes from 192.168.18.61: icmp_seq=388 ttl=255 time=2.821 ms
64 bytes from 192.168.18.61: icmp_seq=389 ttl=255 time=9.245 ms
64 bytes from 192.168.18.61: icmp_seq=390 ttl=255 time=7.420 ms
64 bytes from 192.168.18.61: icmp_seq=391 ttl=255 time=8.920 ms
64 bytes from 192.168.18.61: icmp_seq=392 ttl=255 time=2.668 ms
64 bytes from 192.168.18.61: icmp_seq=393 ttl=255 time=9.134 ms
64 bytes from 192.168.18.61: icmp_seq=394 ttl=255 time=8.936 ms
64 bytes from 192.168.18.61: icmp_seq=395 ttl=255 time=8.170 ms
64 bytes from 192.168.18.61: icmp_seq=396 ttl=255 time=9.170 ms
64 bytes from 192.168.18.61: icmp_seq=397 ttl=255 time=9.129 ms
64 bytes from 192.168.18.61: icmp_seq=398 ttl=255 time=8.786 ms
64 bytes from 192.168.18.61: icmp_seq=399 ttl=255 time=8.957 ms
64 bytes from 192.168.18.61: icmp_seq=400 ttl=255 time=2.904 ms
64 bytes from 192.168.18.61: icmp_seq=401 ttl=255 time=9.138 ms
Request timeout for icmp_seq 402

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions