summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp32
diff options
context:
space:
mode:
authorElvis Pfutzenreuter <epxx@epxx.co>2023-07-06 23:50:30 -0300
committerDamien George <damien@micropython.org>2023-07-13 12:14:42 +1000
commitcddeb5f0754e42f5e50da8ccefb5c073dce61be6 (patch)
treea10d66734c79ec9462e92f742db95bd9ce2d4022 /docs/esp32
parentdbced75b48d2fed969e4ee430a50cadf858eb4bf (diff)
downloadmicropython-cddeb5f0754e42f5e50da8ccefb5c073dce61be6.tar.gz
micropython-cddeb5f0754e42f5e50da8ccefb5c073dce61be6.zip
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 <epxx@epxx.co>
Diffstat (limited to 'docs/esp32')
-rw-r--r--docs/esp32/quickref.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/esp32/quickref.rst b/docs/esp32/quickref.rst
index f4eb9a0ce8..5be737fa2d 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),