Skip to main content
Visitor II
December 3, 2021
Question

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

  • December 3, 2021
  • 1 reply
  • 617 views

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

    This topic has been closed for replies.

    1 reply

    Super User
    December 4, 2021

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

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