i.MX8MPlus RMII_REF_CLK

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

i.MX8MPlus RMII_REF_CLK

2,234 Views
lw1
Contributor III

The i.MX 8M Plus Applications Processor Data Sheet states, that the SAI1_MCLK pad can be used as RMII reference clock, but the Processor Reference Manual does not provide any information on how to accomplish this.

According to the latter, the SAI1_MCLK pad can be configured as ENET1_TX_CLK and GPR1 Bit 13 should control the direction of the pin, but I could not get any signal out of this pad.

Furthermore the GPR1 description for this bit has a note:

SOI bit for the pad(iomuxc_sw_input_on_pad_enet_td2) should be set also;

which is probably a copy/paste error from the description of Bit 20.

I can only output the RMII_REF_CLK via pad GPIO1_IO00 as ALT1_CCM_ENET_PHY_REF_CLK_ROOT.

 

Is there any way to get SAI1_MCLK to output a 50MHz RMII clock, or is there an error in the Processor Datasheet?

0 Kudos
Reply
4 Replies

2,204 Views
lw1
Contributor III

I read what's written in the docs, BUT THAT APPARENTLY DOESN'T MATCH THE REALITY!

The documentation lists the ALT4 function of the SAI1_MCLK pad as ENET1_TX_CLK which usually refers to the RGMII TXC signal and not the RMII REF_CLK.

As stated before THERE IS NO SIGNAL on the SAI1_MCLK pad when configured as ALT4.

0 Kudos
Reply

2,182 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Please create a new config tools project to see that the SAI1_MCLK pin has the TX_CLK function while the TXC used by the RGMII function is taken by another pin.

josephlinares_0-1679595350033.png

Regards

0 Kudos
Reply

2,177 Views
lw1
Contributor III

OK, that produces exactly the same values that I had configured manually, but DOES NOT PRODUCE ANY SIGNAL on the pad!

Can you measure a 50MHz clock on the SAI1_MCLK pad when configured as ENET1_TX_CLK?

 

Tags (1)
0 Kudos
Reply

2,218 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

As seen on the 8.1 Table it is possible, it is possible and it may be an ALT MODE, in ENET1 section on page 1334 is mentioned SAI1_MCLK as the pad for the REF_CLK.

See that ALT4 in ENET1 section uses SAI pads, so it is possible.

Thank you

0 Kudos
Reply