ESP-IDF v5.3.1
I have a board with ESP32S3 that I am trying to test with the Ethernet Basic example using the W5500 over SPI. I have triple checked the SPI pins and interrupt pin with the schematic and confirmed they are configured correctly along with the SPI Ethernet selection and the correct SPI chip via the config menu. I am really trying to test the example straight out of the box with the exception of the W5500 version check function that I commented out (it's still returning 0x0 despite the most recent bug fix).
I get as far as "Ethernet Started" in the logs with no IP address being assigned, nor a link up link down message but I can observe the link LEDs on the RJ45 port are lit, indicating the connection is good. I've tested this example on multiple boards with multiple routers that I've confirmed have DHCP server enabled. My inclination is that the firmware doesn't seem to be sending a DCHP request?
I've searched a lot of forum entries with this same problem but all of them seem to have been resolved with trivial solutions but I still cannot get an IP address assigned after trying everything.
Any help would be appreciated,
Thanks
Ethernet Basic Example - W5500
Re: Ethernet Basic Example - W5500
What S3 board are you using. does it have the W5500 on it or is it external to the S3 board ?
What pins are you using to connect to the W5500 ?
What pins are you using to connect to the W5500 ?
Re: Ethernet Basic Example - W5500
INT >GPIO39
SCLK>GPIO36
MOSI>GPIO35
MISO>GPIO37
CSn >GPIO39
I've tried several different CLK speeds with no success. 18MHz all the way up to 36MHz
The W5500 is on-board, not external.
I am testing on an ESP32 stick from this project.
SCLK>GPIO36
MOSI>GPIO35
MISO>GPIO37
CSn >GPIO39
I've tried several different CLK speeds with no success. 18MHz all the way up to 36MHz
The W5500 is on-board, not external.
I am testing on an ESP32 stick from this project.
-
- Posts: 111
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: Ethernet Basic Example - W5500
I saw Schematic_esp32-S3-ETH-CAM_2023-10-23.pdf
it will look like this:
INTn IO38
MOSI IO35
MISO IO37
SCLK IO36
SCSn IO39
it will look like this:
INTn IO38
MOSI IO35
MISO IO37
SCLK IO36
SCSn IO39
Re: Ethernet Basic Example - W5500
So this is also the wrong schematic but it forced me to go back and confirm the board version I have upon which I discovered I was ALSO following the wrong schematic with incorrect SPI pins. So, once again this issue was resolved with a trivial solution. Example is working now.
Thank you for the assistance.
Thank you for the assistance.
Who is online
Users browsing this forum: Google [Bot] and 206 guests