Closed Ddh012345dhD closed 3 years ago
Thanks for your interests in the library.
Currently, LAN8720 is not supported and I currently have no plan to add the support to it.
But if there are more requests, I certainly will spend some time on the enhancement.
Try to use the more popular W5x00 (better) or ENC28J60 (with EthernetENC library)
I just added the LAN8720 support to STM32F4 and STM32F7 for you to test, using this EthernetWebServer_STM32 library, at STM32_LAN8720.
The test examples are
LAN8720 PHY | --- | STM32F4 |
---|---|---|
TX1 | <---> | PB_13 |
TX_EN | <---> | PB_11 |
TX0 | <---> | PB_12 |
RX0 | <---> | PC_4 |
RX1 | <---> | PC_5 |
nINT/RETCLK | <---> | PA_1 |
CRS | <---> | PA_7 |
MDIO | <---> | PA_2 |
MDC | <---> | PC_1 |
GND | <---> | GND |
VCC | <---> | +3.3V |
If tested OK, I'll include them as well as more examples into the new release.
i tested but IDE warning No such file or directory functional-vlpp.h
You have to read Prerequisites then install all the dependent libraries
Arduino IDE 1.8.13+
for ArduinoArduino Core for STM32 v1.9.0+
for STM32 boards. STM32Ethernet library v1.2.0+
for built-in LAN8742A Ethernet on (Nucleo-144, Discovery). LwIP library v2.1.2+
for built-in LAN8742A Ethernet on (Nucleo-144, Discovery). Ethernet library v2.0.0+
for W5100, W5200 and W5500. EthernetLarge library v2.0.0+
for W5100, W5200 and W5500.Ethernet2 library v1.0.4+
for W5500. Ethernet3 library v1.5.5+
for W5500/WIZ550io/WIZ850io/USR-ES1 with Wiznet W5500 chip. EthernetENC library v2.0.0+
for ENC28J60. . New and BetterUIPEthernet library v2.0.9+
for ENC28J60. Compile OK for Generic ST32F4 (F407VE, VG, ZE, etc.)
The new release EthernetWebServer_STM32 v1.2.0 has been published to add support to LAN8720 for many STM32F4 and SM32F7 boards.
Have a look at HOWTO use STM32F4 with LAN8720 if you have problem.
It's working reliably and you can see at
AdvancedWebServer_LAN8720 on BLACK_F407VE, using LAN8720 Ethernet and STM32Ethernet Library
Just a note that this solved issue was inadequately mentioned in Support communication LAN8720 #1346
Thư viện này có giao tiếp được với LAN8720 không ạ.
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.