questions about MPC5748G ENET/MAC and MCAL setting

cancel
Showing results for 
Search instead for 
Did you mean: 

questions about MPC5748G ENET/MAC and MCAL setting

247 Views
changpingliu
Contributor I

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
1 Reply

210 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