Anyway, there is external RMII REF CLK oscillator (Y1) which needs to be enabled. Search to which GPIO is "osc_en" connected. Once you find it, update appropriately your code. The oscillator needs to be enabled prior ESP-IDF Ethernet initialization.
The code could be something like this:
Code: Select all
// Enable external CLK
esp_rom_gpio_pad_select_gpio(EXTERNAL_CLK_EN_GPIO);
gpio_set_direction(EXTERNAL_CLK_EN_GPIO, GPIO_MODE_OUTPUT);
gpio_set_level(EXTERNAL_CLK_EN_GPIO, 1);