EasyManua.ls Logo

Espressif Systems ESP - Is There any Impact on Ethernet Functionality if Replacing the Module of ESP32-Ethernet-Kit with ESP32-WROOM-32 D; When Using ESP32 to Design a Self-Developed Ethernet Board, after Downloaded the Official Esp-Idf;Examples;Ethernet Example, Errors Are Reported as Follows, What Is the Reason

Default Icon
191 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4. Software framework
{
...
esp_netif_config_t cfg = ESP_NETIF_DEFAULT_ETH();
esp_netif_t *eth_netif = esp_netif_new(&cfg);
// Set default handlers to process TCP/IP stuffs
ESP_ERROR_CHECK(esp_eth_set_default_handlers(eth_netif));
...
char* ip= "192.168.5.241";
char* gateway = "192.168.5.1";
char* netmask = "255.255.255.0";
esp_netif_ip_info_t info_t;
memset(&info_t, 0, sizeof(esp_netif_ip_info_t));
if (eth_netif)
{
ESP_ERROR_CHECK(esp_netif_dhcpc_stop(eth_netif));
info_t.ip.addr = esp_ip4addr_aton((const char *)ip);
info_t.netmask.addr = esp_ip4addr_aton((const char *)netmask);
info_t.gw.addr = esp_ip4addr_aton((const char *)gateway);
esp_netif_set_ip_info(eth_netif, &info_t);
}
...
}
4.2.5 Is there any impact on Ethernet functionality if replacing the module of ESP32-
Ethernet-Kit with ESP32-WROOM-32D?
The ESP32-WROVER-B of ESP32-Ethernet-Kit can be replaced with ESP32-WROOM-32D, and its Ether-
net functionality will not be a󰝗ected.
The main di󰝗erence between ESP32-WROOM and ESP32-WROVER module series: ESP32-WROVER
modules have a 4 MB PSRAM while ESP32-WROOM modules do not have any PSRAM by default. Please
refer to:
ESP32-WROOM-32D Datasheet
ESP32-WROVER-B Datasheet
The ESP32-WROOM and ESP32-WROVER modules all use the ESP32 chip as their core, which supports
Ethernet. For more information, please refer to ESP32 Datasheet.
Related document: ESP32-Ethernet-Kit Getting Started Guide.
4.2.6 When using ESP32 to design a self-developed Ethernet board, after downloaded
the ocial esp-idf/examples/ethernet example, errors are reported as follows, what
is the reason?
E (5556) emac: Timed out waiting for PHY rdgister 0x2 to have value
,0x0022 (mask 0xffff). Current value 0xffff
E (6556) emac: Timed out waiting for PHY register 0x3 to have value
,0x1430 (mask 0xfff0). Current value 0xffff
This error indicates something is wrong with your hardware circuit. The RMII clock is not working
normally with the PHY, causing the PHY failed to read registers. For the more information about
RMII clock, please refer to Instructions.
Espressif Systems 59
Submit Document Feedback
Release master

Table of Contents