From cddeb5f0754e42f5e50da8ccefb5c073dce61be6 Mon Sep 17 00:00:00 2001 From: Elvis Pfutzenreuter Date: Thu, 6 Jul 2023 23:50:30 -0300 Subject: docs/esp32/quickref: Add LAN example for WT32-ETH01 version 1.4. This board requires slightly different configuration to work. It is important to hard reset (cycle power) if you try to initialize LAN and it fails, before trying again with new parameters. Discussion: https://github.com/orgs/micropython/discussions/11446 AliExpress purchase link: https://pt.aliexpress.com/item/1005002023196214.html Signed-off-by: Elvis Pfutzenreuter --- docs/esp32/quickref.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/esp32') diff --git a/docs/esp32/quickref.rst b/docs/esp32/quickref.rst index f4eb9a0ce..5be737fa2 100644 --- a/docs/esp32/quickref.rst +++ b/docs/esp32/quickref.rst @@ -150,6 +150,12 @@ These are working configurations for LAN interfaces of popular boards:: lan = network.LAN(mdc=machine.Pin(23), mdio=machine.Pin(18), phy_type=network.PHY_LAN8720, phy_addr=1, power=None) + # Wireless-Tag's WT32-ETH01 v1.4 + + lan = network.LAN(mdc=machine.Pin(23), mdio=machine.Pin(18), + phy_type=network.PHY_LAN8720, phy_addr=1, + power=machine.Pin(16)) + # Espressif ESP32-Ethernet-Kit_A_V1.2 lan = network.LAN(id=0, mdc=Pin(23), mdio=Pin(18), power=Pin(5), -- cgit v1.2.3