LAN8720 iperf test speed insufficient 100Mbps
Posted: Tue Mar 09, 2021 3:35 am
Has anyone tried to use lan8720 to connect to the Internet? I hadthree problems
(1) When using lan8720 for iperf test, the speed is only 60 Mbits / sec, which can not reach 100 Mbits / sec. Is it due to the insufficient performance of esp32? Here are the test results
(2) When LAN 8720 is used for TCP or iperf TCP test, it will occasionally reports errors:
OR
, and then the network will be disconnected. After I reset LAN8720, it will return to normal ,All functions are normal (esp32 don't restarted).I want to ask why LAN8720 will Ethernet link down OR insufficient TX buffer size?thanks.
(3) After the lan8720 is powered on, it will always output the clock signal to the GPIO 0 pin, which causes the esp32 to start to the flash download mode. Is there a solution?
(1) When using lan8720 for iperf test, the speed is only 60 Mbits / sec, which can not reach 100 Mbits / sec. Is it due to the insufficient performance of esp32? Here are the test results
Code: Select all
mode=tcp-client sip=20.18.22.22:5001, dip=20.18.22.21:5001, interval=3, time=10
Interval Bandwidth
0- 3 sec 59.07 Mbits/sec
3- 6 sec 59.90 Mbits/sec
6- 9 sec 59.90 Mbits/sec
9- 12 sec 59.77 Mbits/sec
0- 10 sec 59.66 Mbits/sec
(2) When LAN 8720 is used for TCP or iperf TCP test, it will occasionally reports errors:
Code: Select all
eth: Ethernet link down
Code: Select all
emac_esp32: emac_esp32_transmit(223): insufficient TX buffer size
(3) After the lan8720 is powered on, it will always output the clock signal to the GPIO 0 pin, which causes the esp32 to start to the flash download mode. Is there a solution?