ESP32-S3 with external LAN7850

mateuszm
Posts: 1
Joined: Thu May 04, 2023 11:36 am

ESP32-S3 with external LAN7850

Postby mateuszm » Thu May 04, 2023 2:16 pm

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

ESP_Sprite
Posts: 9619
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-S3 with external LAN7850

Postby ESP_Sprite » Fri May 05, 2023 1:53 am

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.

ESP_ondrej
Posts: 202
Joined: Fri May 07, 2021 10:35 am

Re: ESP32-S3 with external LAN7850

Postby ESP_ondrej » Tue May 09, 2023 9:42 am

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.

Who is online

Users browsing this forum: No registered users and 97 guests