About ENET2 MDIO and MDC pins for i.MX6UL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About ENET2 MDIO and MDC pins for i.MX6UL

Jump to solution
1,432 Views
yuuki
Senior Contributor II

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

Labels (1)
0 Kudos
1 Solution
1,012 Views
durmus
Contributor IV

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

View solution in original post

2 Replies
1,012 Views
art
NXP Employee
NXP Employee

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

1,013 Views
durmus
Contributor IV

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