Skip to content

SC card and ethernet issues on Lilygo T-ETH Lite (ESP32-S3) #17943

Answered by MrTinkerman
MrTinkerman asked this question in ESP32
Discussion options

You must be logged in to vote

Ok, the solution is actually not that complicated:

nic = network.LAN(phy_type=network.PHY_W5500,
                  spi=eth_spi, cs=eth_cs,
                  int=Pin(13), phy_addr=0)

if nic.active():
    nic.active(False)
    sms(200)

nic.active(True)
nic.ifconfig('dhcp')

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@scruss
Comment options

Answer selected by MrTinkerman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
2 participants