Xinyuan-LilyGO/LilyGO-T-ETH-Series

T-ETH-Lite-S3 all examples fail

Closed this issue · 3 comments

This worked fine with the "old" ETHClass.h but none of the examples work now with ETHClass2.h

E (9) spi: spi_bus_initialize(756): SPI bus already initialized.
[   165][E][ETHClass2.cpp:452] beginSPI(): spi_bus_initialize failed
ETH start Failed!

The SPI bus is initialized twice and fails the second time - not sure if that's a problem - lines 419 and 450. I tried removing one, and the init gets further, but still fails.

The code seems... somewhat different than ETHClass.h, so I'm curious if there's just a bad commit?

Which version of ? Arduino IDE? Arduino IDE 3.0-RC1 is tested and verified based on idf 5.1.

Ok, I only tested 3.0.0-rc1 and forgot to test 2.0.15, now it’s solved

Works perfectly now. Thank you!

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbe4
load:0x403cc700,len:0x2a68
entry 0x403c98d4
ETH Started
ETH Connected
ETH MAC: 36:85:18:8F:40:24, IPv4: 192.168.8.5, FULL_DUPLEX, 100Mbps
Start UDP receiver to 3333 Port