questions about MPC5748G ENET/MAC and MCAL setting

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

questions about MPC5748G ENET/MAC and MCAL setting

821 Views
SploreLcp
Contributor II

Now I have two questions about the ENET/MAC.

MPC5748G has 2 MAC, Enet0 and Enet1. But only one set MDIO pins in Enet0.

In MPC5748G-GW EVB, Enet0-MII connect to switch firstly then to PHY, Enet1-MII connect to PHY directly, and all PHYs are controlled by Enet0-MDIO. 

Q1, Enet0 can be master or slave, Enet1 can be slave, to PHY device, is that right?

Q2, What's the relation between MDIO and MII? I guess MDIO is command link and MII is data link, is that right?

Q3, How to setup the MCAL in EB when only using Enet1? Need setup one controller or need setup both of then? Is there any guide or demo setting can share?

Thanks!

0 Kudos
2 Replies

784 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

1) On the MPC5748G-GW-RDB the ENET1 is connected to 100BASE-TX PHY where you don't have the master/slave concepts.

2) yes, MDIO (SMI) is interface for PHY device configuration, while MII is media interface (data and control pins)

3) not sure of MCAL setting, but generally there in no need to setup ENET0 if just ENET1 will be used.

A MPC5748G-GW-RDB Quick Start Package include SDK example for the ENET1. You can download it from https://www.nxp.com/design/development-boards/automotive-development-platforms/mpc57xx-mcu-platforms... 

BR, Petr

0 Kudos

405 Views
BilalKASSEM99
Contributor I

MPC5748G has 2 MAC, Enet0 and Enet1. But only one set MDIO pins in Enet0.

I intend to use ENET0 to connect it to an Ethernet T1 PHY and use ENET1 to connect it to an Ethernet TX PHY. However, both PHYs require the MDC and MDIO pins. How can I establish a connection between these two pins?

 

0 Kudos