ESP32-EVB-IND ETHERNET on MicroPyhon problem

Started by nedoskiv, January 16, 2024, 03:52:09 PM

Previous topic - Next topic

nedoskiv

Hello,

we buy 10 x ESP32-EVB-IND, now we decide to use them with micropython, can you provide some assistance (example) how to initialize LAN8720 on Micropython. Standart ways produce an error.

Can you provide a working example for any of the standart micropython build?



LubOlimex

We provide demos only for ESP-IDF and Arduino for ESP32. These can be found at our GitHub and used as basis.

Make sure that your config fits ESP32-EVB (it is different than ESP32-POE, ESP32-GATEWAY, and so on). It has Ethernet clock on GPIO0. Meaning config before compiling firmware should be something like:

CONFIG_ETH_PHY_INTERFACE_RMII=y
CONFIG_ETH_RMII_CLK_OUT_GPIO=0
CONFIG_LWIP_LOCAL_HOSTNAME="ESP32_EVB"

Microphyton community is familiar with Olimex boards:

https://github.com/micropython/micropython/issues/4502
Technical support and documentation manager at Olimex