Description
Checks
-
I agree to follow the MicroPython Code of Conduct to ensure a safe and respectful space for everyone.
-
I've searched for existing issues matching this bug, and didn't find any.
Port, board and/or hardware
ESP32-POE-ISO Revision L
MicroPython version
MicroPython v1.22.2 on 2024-02-22; Olimex ESP32 ETH with ESP32
Reproduction
lan = network.LAN(mdc=machine.Pin(23), mdio=machine.Pin(18), power=machine.Pin(12),
phy_type=network.PHY_LAN8720, phy_addr=0,
ref_clk=machine.Pin(17), ref_clk_mode=machine.Pin.OUT)
lan.active(True)
Expected behaviour
Expected ethernet to enable
Observed behaviour
OSError: ethernet enable failed
Additional Information
I've pulled the expected working code from https://docs.micropython.org/en/latest/esp32/quickref.html#lan
I know the Ethernet on the device works, when i flash it with a example program from arduino ide, it gets an ip and works correctly.