Hello, I am having the same problem with two wt-eth01 modules (v1.4). After uploading the basic example of ethernet and some debugs. I am always encountering this error:
E (2211) esp.emac: emac_esp32_init(371): reset timeout
E (2211) esp_eth: esp_eth_driver_install(228): init mac failed
I tried different configurations for the clock and physical address but still having the same problem. Actually, I am starting to doubt the hardware capability
WT-ETH01 failed to initialize ethernet
Re: WT-ETH01 failed to initialize ethernet
You have problems with REF RMII CLK. Is this https://github.com/ldijkman/WT32-ETH01- ... ematic.pdf your board? If so, you need to enable external oscillator prior Ethernet init.
Re: WT-ETH01 failed to initialize ethernet
If so, you need to enable external oscillator prior Ethernet init.
Can you please provide direction as to how I would go about "Enabling" the external Oscillator? Are there programming steps, or hardware pins that need to be pulled low or high?
I would appreciate if you could provide some clarity, as I have had the exact same issues with any code that I have tried to program on m WT32-ETH01 board.
Can you please provide direction as to how I would go about "Enabling" the external Oscillator? Are there programming steps, or hardware pins that need to be pulled low or high?
I would appreciate if you could provide some clarity, as I have had the exact same issues with any code that I have tried to program on m WT32-ETH01 board.
Re: WT-ETH01 failed to initialize ethernet
User "nopnop2002" suggests to use Ethernet driver reset pin configuration, see https://github.com/espressif/esp-idf/issues/15004 It's little bit hacky but should do the job.
Clearer approach is presented at https://github.com/espressif/esp-eth-dr ... ain.c#L195. Remove everything except of GPIO setting starting at https://github.com/espressif/esp-eth-dr ... ain.c#L240
It's for different driver but the idea should be clear.
Or just set GPIO which enables the oscillator at the start of your main.
Clearer approach is presented at https://github.com/espressif/esp-eth-dr ... ain.c#L195. Remove everything except of GPIO setting starting at https://github.com/espressif/esp-eth-dr ... ain.c#L240
It's for different driver but the idea should be clear.
Or just set GPIO which enables the oscillator at the start of your main.
Who is online
Users browsing this forum: PerplexityBot, Qwantbot, YisouSpider and 8 guests
