Does BF537 support two Ethernet interfaces? If yes, how? thanks.
Yes, BF537 can support two Ethernet interfaces. Please refer to the application note EE-310. The link is
We currently using a NationalSemiconductor PHY with flexible portSwitching(DualPort) on the standard MAC of the BF537 without any add. hardware
So we are able to control 2PHY's via one single mac. This PHY is very flexible in programming with port delivers/receive data from which port
Is this a generall option?
because PHYs could be addressed? disatvantage is that only one PHY could be served.
I am not sure what national semiconductor PHY you are using. I assume it is DP83849. This part has two MII data interfaces, each for one of its two independent PHY's. So BF537 can only connect to one of them, unless you have a switch/jumper to select either one. So from outside, you have only one ethernet port working at one time. You have only one MAC (address). Though you can write/read the PHYregisters of both PHY with the common MDC/MDIO, you have only one data path.
However, with the two interface approach of the upper post, you will have two ports (two MAC's) at the same time.
Another approach is to use an Ethernet switch, which works in PHY mode, to provide multiple ports. But in BF537, there is still only one data path through its single MAC.
Retrieving data ...