wt32-eth01 micropython 1.20 LAN Port not function #11446
Replies: 2 comments 7 replies
-
I actually managed to make it work: import network Two crucial things: |
Beta Was this translation helpful? Give feedback.
-
So this is almost the same issue but different, didn't know for sure to open a new discussion or to revive this one. I have installed 1.25 and also build the newest 1.26-master (using idf-5.4.1) but i have issues with this board.
When I also add the options ref_clk and ref_clk_mode then it gets initialized:
But using: ref_clk_mode=machine.Pin.IN
The thing is that when it gets initialized correctly then i have no ip connectivity accept when i ground io0, then i can see dhcp messages coming in using tcpdump. When using the same board with tasmota it works like a charm, when loading an arduino sketch it works fine so why does it not work with micropython? I have been breaking my head over this one for more then 2 days.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
wt32-eth01 (V1.4 PCB) Lan Error
import network
import time
import machine
from machine import UART
from machine import Pin
lan = network.LAN(mdc = machine.Pin(23), mdio = machine.Pin(18), power = None, phy_type = network.PHY_LAN8720, phy_addr=0)
lan.active(1)
print('ifconfig :', lan.ifconfig())
print('status : ', lan.status())
print('isconnected : ', lan.isconnected())
print('active : ', lan.active())
OSError: esp_eth_set_default_handlers failed (invalid parameter)
Beta Was this translation helpful? Give feedback.
All reactions