Replies: 1 comment
-
I am using phys_addr=1 even thought I can't recall the reason. What is the IP address of the computer you're using to ping your W5500? Are you connecting everything with a home wifi router? Are you sure the router permits traffic between ethernet ports and your computer that might be on WiFi. You can put a second computer on ethernet and ping the second computer with the first computer. If you get ping, then you CAN ping an ethernet port device with a wifi. Otherwise you can't. Also, you didn't set mac address before activating your W5500. I don't believe W5500 has an assigned MAC address. You need to derive one from your ESP32C3. On traditional ESP32, it is base address +3 (base address is for wifi). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
W5500 with ESP32C3 is initialized successfully, but not connected.
code as below:
test
1: sta_if.status() is 5, means "GOT IP" ,
2: sta_if.isconnected() return True.
3:sta_if.config('mac') got b'\xd8;\xda\x12\x90o'
As seen, W5500 should be drived ok.
BUT, ping no response. Anyone has the solution?
Beta Was this translation helpful? Give feedback.
All reactions