How to enable ESP-AT Ethernet¶
Overview¶
Initialises the Ethernet interface and enables it, then sends DHCP requests and tries to obtain a DHCP lease. If successful then you will be able to ping the device.
PHY Configuration¶
Use make menuconfig
to set the PHY model. These configuration items will vary depending on the hardware configuration you are using.
The default configuration is correct for Espressif’s Ethernet board with TP101 PHY. ESP32 AT supports up to four Ethernet PHY: LAN8720
, IP101
, DP83848
and RTL8201
.
TLK110
PHY is no longer supported because TI stoped production.
If you want to use other phy, follow the document to design.
Compiling¶
make menuconfig
->Serial flasher config
to configure the serial port for downloading.make menuconfig
->Component config
->AT
->AT ethernet support
to enable ethernet.make menuconfig
->Component config
->AT
->Ethernet PHY
to choose ethernet.- Recompile the
esp-at
project, download AT bin into flash.