Page 1 of 1

ESP32-S3 with external LAN7850

Posted: Thu May 04, 2023 2:16 pm
by mateuszm
Hello,
In my IoT project there is a requirement for Gigabit Ethernet.
To achive this, there is a following idea:
use ESP32-S3 which has FS USB and USB<->LAN Gigabit Ethernet Controller LAN7850.
Of course, FS USB is only 12 Mbit/s, so it will be a bottle neck for the Gigabit ethernet, but thats alright, I just want to have this "Gigabit Ethernet" onboard and stated in future IoT device description.

As far as I know, when using esp32 there are mainly two options to choose: use internal EMAC or connect external EMAC via SPI. And ESP32-S3 doesn't have this internal, so there is basically one option left. But this doesn't suit for me.

My question is:
Is it possible to connect this external Ethernet MAC LAN7850 via FS USB to ESP32-S3?
How to achive this, where to start?
I haven't found any examples or even clues for that :(

Any help will be appreciated

Re: ESP32-S3 with external LAN7850

Posted: Fri May 05, 2023 1:53 am
by ESP_Sprite
Physically, it's possible. But I don't think there's any existing drivers or other infrastructure for this yet, so you'd have to build that from scratch.

Re: ESP32-S3 with external LAN7850

Posted: Tue May 09, 2023 9:42 am
by ESP_ondrej
I don't understand why you need gigabit Ethernet. Even if the USB was not bottleneck, you probably would't be able to process such amount of data anyway.

In any case, one of our colleagues works on example of connecting USB Ethernet. It is not ready yet and I cannot provide you any time frame... However, you can check this PR https://github.com/espressif/idf-extra- ... s/pull/154 It could help you in your effort.