how to use two ethernet port with one mac ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-27 1:09 AM
we were developed iot using stm32f746 with single ethernet port using lan8742 .now we are in need of 2 ethernet ports in a same design.kindly tell me the possibilities.
- Labels:
-
Ethernet
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-27 5:15 AM
There are dual port PHYs e.g. KSZ8863RLL (I assume you need the RMII variant) which I have used with a non-STM MPU.
It has an integrated 3 way switch, 2 ports facing ethernet connectors, and the third one is a "backwards" RMII facing the MCU.
By default it would act as a switch, forwarding packets between interfaces as needed. It can be reconfigured through its I2C port to act as two independent ethernet interfaces having distinct MAC addresses, somehow tagging each packets source/destination. I have used it in switch mode only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-27 2:20 PM
Or simply use VLANs.
-- pa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-29 1:41 AM
WHEN WE USE IT IN SWITCH MODE,IN 2 ETHERNET PORT IF ONE IS CONNECTED WITH SERVER,MAY I GET THE MODBUS TCP INPUT FROM EXTERNAL DEVICE THROUGH 2ND PORT??IS IT POSSIBLE??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-29 1:43 AM
WILL YOU GIVE ME ANY LINKS OR REFERENCE REGARDING VLAN??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-29 2:11 AM
It would behave exactly like a simple ethernet switch. As long as the IP address/subnet/netmask combination allows it, it will work with anything.
Take the existing device and a common ethernet switch. Connect your device to one port, the server to another, and the modbus thing to a third port. Does it work? Then it should work with the KSZ8863 too.
Do not worry about straight or crossover ethernet cabling, the KSZ8863 should figure that out too, like most switches do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-29 6:07 AM
may i get any schematic reference or eval board reference for that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-29 6:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-29 7:58 AM
There are some on the homepage I have linked.
