Ethernet connection [Raspberry (USB-ETH) -> (ETH-SPI) ESP32] same PCB
Posted: Fri Mar 31, 2023 9:01 am
Good morning,
I would be designing a device, which has a microprocessor and a microcontroller.
I won't dwell on the reasons that make this configuration necessary, just know that the microprocessor will be a raspberry pi (zero) and the microcontroller an ESP32 WROVER-IE.
Raspberry will be able to connect to the internet via WiFi or ethernet (USB-eth conversion module).
Raspberry will act as a bridge and will share the internet towards esp32, which will be able to receive it through Wiznet: w5500.
I would like to ask for advice on this setup.
I realize that esp32 through w5500 could be directly connected to the network, the problem is that it wouldn't make sense to use two ethernet cables for the same device.
I find this solution cleaner and more efficient.
However, since the two interfaces: raspberry's USB-eth, ESP32's eth-SPI would both be designed a very short distance away, on the same PCB, I wonder if there isn't a better solution.
If you have any ideas you would help me a lot.
Thanks in advance!
I would be designing a device, which has a microprocessor and a microcontroller.
I won't dwell on the reasons that make this configuration necessary, just know that the microprocessor will be a raspberry pi (zero) and the microcontroller an ESP32 WROVER-IE.
Raspberry will be able to connect to the internet via WiFi or ethernet (USB-eth conversion module).
Raspberry will act as a bridge and will share the internet towards esp32, which will be able to receive it through Wiznet: w5500.
I would like to ask for advice on this setup.
I realize that esp32 through w5500 could be directly connected to the network, the problem is that it wouldn't make sense to use two ethernet cables for the same device.
I find this solution cleaner and more efficient.
However, since the two interfaces: raspberry's USB-eth, ESP32's eth-SPI would both be designed a very short distance away, on the same PCB, I wonder if there isn't a better solution.
If you have any ideas you would help me a lot.
Thanks in advance!