LAN8720

From ElectroDragon Wiki
Revision as of 19:03, 24 April 2023 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LAN8720 Ethernet with ESP Setup

  • Make menu config animation see here.

http://www.electrodragon.com/w/File:Makemenu_lan8720.gif Jumper setup

  • ESP32 IO0 to CLK pin - default closed (connected)
  • 10K pull up to CLK pin - default open
  • ESP32 IO17 three-way jumper - default open (not used)


Description Connection Devkitc-left side Devkitc-right side Connection Description
- 3.3V 3.3V GND2 - -
- - EN IO23 MDC -
- - SVP IO22 TXD1 -
- - SVN TXD0 - -
- - IO34 RXD0 - -
- - IO35 IO21 TX_EN -
- - IO32 GND3 GND -
- - IO33 IO19 TXD0 -
- RXD0 IO25 IO18 MDIO -
- RXD1 IO26 IO5 - -
- CRS_DV IO27 IO17 PHY_PWR control the ON/OFF of the crystal power
- - IO14 IO16 - -
- - IO12 IO4 - -
- GND GND IO0 CLK crystal clock pin
- - IO13 IO2 - -
- - SD2 IO15 - -
- - SD3 SD1 - -
- - CMD SD0 - -
- - 5V CLK - -

Schematic


Demo code

Important Note

  • If you can not get MAC or IP address, please use a new better quality ethernet cable, it is a problem of the cable.

Demo video