SDK Config Tools: ENET MII configuration option

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

SDK Config Tools: ENET MII configuration option

1,639 Views
TomaszOzon
Contributor I

Hello,

I'm trying to configure ENET interface in MII mode for MK64FX512VLQ12 controller.

There is no choice between RMII and MII. Why? How can I select MII?

kind regards,

TomaszOzon_1-1653389916429.png

 

 

 

0 Kudos
7 Replies

1,622 Views
TomaszOzon
Contributor I

Hi @CarlosGarabito ,

I have created new project, configured Ethernet pins for MII, added LwIP and then added an interface based od ENET using + button. I have tried to remove interface and add it again, but still only RMII option is visible.

Is the MII interface option emabled by some other settings, that must be correctly set? I.e. clock? Pins?

(MCUXpresso IDE v11.5.1 [Build 7266] [2022-04-13])

0 Kudos

1,603 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport

The Ethernet clocking option you can find it on RM Chapter 3.9.1.1 were says: An externally-supplied 25 MHz MII clock or 50 MHz RMII clock. This clock is used as the timing reference for the external MII or RMII interface.

 

0 Kudos

1,600 Views
TomaszOzon
Contributor I

Hi @CarlosGarabito 

> This clock is used as the timing reference for the external MII or RMII interface.

OK, so what I need to configure to enable MII/RMII selection? For MII I don't need any external clock, only MII_TXCLK and MII_RXCLK from PHY to MAC. They are already configured and I still can't select MII.

 

0 Kudos

1,583 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport

Hi @TomaszOzon on MCUXpresso, on config tools, you can help you with this.

CarlosGarabito_0-1654194192320.png

I hope this help you

0 Kudos

1,556 Views
TomaszOzon
Contributor I

Hi @CarlosGarabito 

I think my pins configuration is fine (and it was before). Please have a look.

Maybe you could create a project for this microcontroller with MII pins configured and then check if MII option is available for LwIP+ENET?

TomaszOzon_0-1654767302306.png

 

0 Kudos

1,513 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport

Thats right, in MCUXpress you can select the example

 

CarlosGarabito_0-1655327697718.png

 

Go to config tool, modify

 

CarlosGarabito_1-1655327717209.png

So, you can find it

 

CarlosGarabito_2-1655327738798.png

 

 

And test it

 

 

 

 

 

0 Kudos

1,625 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport

Hi @TomaszOzon Could you explain the steps that you took to arrive at this point?

0 Kudos