Is it possible to connect ONE IP Stack to TWO Interfaces (ETH_MAC and USB_OTG_FS) ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-12-03 5:41 AM
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
Labels:
- Labels:
-
Ethernet
-
STM32F4 Series
-
USB
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-12-04 12:55 PM
Yes, LwIP supports multiple interfaces. (don't know about FreeRTOS TCP)
One downside is, of course, development complexity (= cost).
