Page 1 of 1

ESP 32 - is it possible to use W5500 ?

Posted: Wed May 06, 2020 1:58 pm
by greg161
Is it posiible to use ethernet like WizNet 5500k on ESP32 board under micropython ?

Re: ESP 32 - is it possible to use W5500 ?

Posted: Thu May 07, 2020 3:19 am
by jimmo
greg161 wrote:
Wed May 06, 2020 1:58 pm
Is it posiible to use ethernet like WizNet 5500k on ESP32 board under micropython ?
At this stage, not that I am aware of (although it would be possible for someone to make it work). See viewtopic.php?f=2&t=5851&p=36361 for details.

Re: ESP 32 - is it possible to use W5500 ?

Posted: Thu May 07, 2020 9:26 am
by danielm
My understanding is that you can still use socket API of the Wiznet chip if you write a driver for that. It just won't be exposed to lwip. Am I right?

Re: ESP 32 - is it possible to use W5500 ?

Posted: Mon May 11, 2020 7:57 am
by greg161
So the other solution for wired connection on ESP 32 is to use LAN8720 according to https://github.com/micropython/micropython/issues/4502 ?

Re: ESP 32 - is it possible to use W5500 ?

Posted: Fri Nov 12, 2021 9:53 pm
by vinz-uts
Hi, I've done some test with a ESP32-WROVER-IE and an external SPI Wiznet5500 ethernet chip. After a lot of research on this forum and github, I've decided to try to modify a pure-python adafruit driver (developed for circuitpython) for this chip. Now it seems works, but maybe it need more test. I can share this driver if someone will try to use it, or, if someone help me to understand the right steps, I will upload it in the right folder of micropython repo.

Re: ESP 32 - is it possible to use W5500 ?

Posted: Fri Apr 15, 2022 9:38 pm
by beyonlo
vinz-uts wrote:
Fri Nov 12, 2021 9:53 pm
Hi, I've done some test with a ESP32-WROVER-IE and an external SPI Wiznet5500 ethernet chip. After a lot of research on this forum and github, I've decided to try to modify a pure-python adafruit driver (developed for circuitpython) for this chip. Now it seems works, but maybe it need more test. I can share this driver if someone will try to use it, or, if someone help me to understand the right steps, I will upload it in the right folder of micropython repo.
Hello @vinz-uts

1. Could you please share the source code Wiznet5500 driver to me test on the ESP32-S3?
2. Do you know if SSL/TLS works on sockets using the Wiznet5500?

Thank you.

Re: ESP 32 - is it possible to use W5500 ?

Posted: Sat Apr 16, 2022 2:21 am
by tepalia02
Possible with circuitpython library: https://learn.adafruit.com/ethernet-for-circuitpython

Re: ESP 32 - is it possible to use W5500 ?

Posted: Mon May 02, 2022 4:52 am
by liudr
tepalia02 wrote:
Sat Apr 16, 2022 2:21 am
Possible with circuitpython library: https://learn.adafruit.com/ethernet-for-circuitpython
Do you mean that you have used the circuitpython library and it will work? I've tested it and it didn't work entirely. Got IP address from DHCP but requests module didn't work. I was testing under circuitpython, not even micropython.

Re: ESP 32 - is it possible to use W5500 ?

Posted: Mon Aug 15, 2022 5:38 pm
by ayyoubzadeh
I have implemented ESP32+W5500 check this repo:
https://github.com/Ayyoubzadeh/ESP32-Wi ... icropython