Dear all,
We want to use Dual Etherent with i.MX6UL2.
However, MDIO and MDCpin for ENET2 conflict with ENET1
- enet2_MDIO = GPIO1_IO06:ALT1(=>enet1_MDIO) or ENET1_TXD1:ALT4(=>enet1_TX_DATA1)
- enet2_MDC = GPIO1_IO07:ALT1(=>enet1_MDC) or ENET1_TX_EN:ALT4(=>enet1_TX_EN)
When both ENET1 and ENET2 are used, how should we set MDIO and MDC for ENET2?
May I have advice?
Best Regards,
Yuuki
Solved! Go to Solution.
Hi Yuuki,
MDIO and MDC are for PHY management. I don't think you need separate lines for two PHYs. You can connect both PHYs at the same MDIO/MDC. However, you should configure PHY addresses differently (just like I2C interface).
If you look at the iMX6UL reference board, Freescale does the same thing.
Kind regards.
Durmus
MDC and MDIO are the clock and data I/O signals of the RMII PHY management
interface. They are common for both ENET modules. The PHY management interface
can handle up to 32 PHYs simultaneously (the PHYs physical addresses should be
configured differently in this case).
Have a great day,
Artur
Hi Yuuki,
MDIO and MDC are for PHY management. I don't think you need separate lines for two PHYs. You can connect both PHYs at the same MDIO/MDC. However, you should configure PHY addresses differently (just like I2C interface).
If you look at the iMX6UL reference board, Freescale does the same thing.
Kind regards.
Durmus