i.MX8MPlus RMII_REF_CLK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX8MPlus RMII_REF_CLK

2,236 次查看
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 项奖励
回复
4 回复数

2,206 次查看
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 项奖励
回复

2,184 次查看
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 项奖励
回复

2,179 次查看
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?

 

标记 (1)
0 项奖励
回复

2,220 次查看
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 项奖励
回复