NodeMCU Ethernet on a WT32-ETH01
Posted: Wed Oct 06, 2021 11:19 am
Hi all
The WT32-ETH01 seems to be a nice ESP32 device, complete with an RJ-45 connector and a LAN8720A ethernet chip. I'm trying to get ethernet connectivity working with NodeMCU.
Flashing in the OS was straightforward; I'm now trying to construct a valid eth.init() call.
The WT32-ETH01 schematic shows the mdc and mdio pins as 23 and 18. But I can't find the correct value for 'clock_mode'. The eth.init() call requires one of GPIO0, GPIO16 or GLIO17 as a clock pin and mode selection. But I can't see on the schematic which of those pins is correct, or if it is an input or output.
Does anybody have a WT32-ETH01 running NodeMCU and using Ethernet? Any and all advice welcome
Thanks
Sean
The WT32-ETH01 seems to be a nice ESP32 device, complete with an RJ-45 connector and a LAN8720A ethernet chip. I'm trying to get ethernet connectivity working with NodeMCU.
Flashing in the OS was straightforward; I'm now trying to construct a valid eth.init() call.
The WT32-ETH01 schematic shows the mdc and mdio pins as 23 and 18. But I can't find the correct value for 'clock_mode'. The eth.init() call requires one of GPIO0, GPIO16 or GLIO17 as a clock pin and mode selection. But I can't see on the schematic which of those pins is correct, or if it is an input or output.
Does anybody have a WT32-ETH01 running NodeMCU and using Ethernet? Any and all advice welcome
Thanks
Sean