cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to connect ONE IP Stack to TWO Interfaces (ETH_MAC and USB_OTG_FS) ?

Aahai.1
Associate

Hello,

I am working with a STM32F439 which can use a ETH_MAC and a USB_OTG_FS. Several demos and projet on github show the use of an IP-OVER-USB using a STM32 µC.

What I would like to know is :

Is it possible to connect ONE IP stack (LwIP, FreeRTOS+TCP etc.) to TWO interfaces (ONE ETH_MAC and ONE USB_OTG_FS) ?

What are the downsides of this solution ?

Thank you.

Azer

1 REPLY 1
Pavel A.
Evangelist III

Yes, LwIP supports multiple interfaces. (don't know about FreeRTOS TCP)

One downside is, of course, development complexity (= cost).