i.MX8M Mini RMII REF_CLK

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

i.MX8M Mini RMII REF_CLK

2,105 次查看
nikz1402
Contributor II

Hi,

I am using i.MX8M Mini processor (MIMX8MM4CVTKZAA) in one project having industrial surveillance application.

In datasheet, i am not able to identify behavior of ENET0_TD2 pin in RMII and RGMII mode. There may be some typo error i think (not sure about this). Refer attachment.

For your information, we want to use RMII mode.

As per my understanding, for RMII mode, this pin has two options; one for generating 50MHz clock and second for receiving 50MHz clock. And these two options are software configurable. Please confirm if i am right. If not, please help me to understand this.

Thanks in advance,

Nikhil

标签 (1)
0 项奖励
回复
5 回复数

2,082 次查看
Yuri
NXP Employee
NXP Employee

@nikz1402 
Hello,

  Your understanding is correct - ENET0_TD2 pin in RMII is used as reference clock,
input or output, depending on IOMUXC_GPR_GPR1.

Regards,
Yuri.

2,077 次查看
nikz1402
Contributor II

@Yuri 

 

Thanks for for confirmation.

Regards,

Nikhil 

1,845 次查看
kl4m4
Contributor II

Hi! Did you manage to get that RMII output clock working? I need the same setup, but m ENET1_TD2 pad outputs 125 MHz, and only after I manually set bit13 in IOMUXC_GPR_GPR1 at runtime.

Any luck?

Cheers,

Mateusz

0 项奖励
回复

1,828 次查看
nikz1402
Contributor II

Hi,

I managed to get 50MHz RMII clock output from ENET_TD2 (Processor pin# AG25) pad.

Please check your schematic connection once or share schematic pdf here so that i can check.

If your schematic is okay, then there must be something missing/misinterpreted in code.

Regards,

Nikhil 

1,821 次查看
kl4m4
Contributor II

Hi Nikhil,

I got my imx8mm on a SODIMM module (that one). Vendor does not provide schematic for it, but specified that certain sodimm pin is directly connected to AG25 procesor pad. And I have that pin connected to XI input of my PHY chip. There is not much more to it. Could you share a piece of your device tree with FEC relate pin configuration?

fsl,pins = <
MX8MM_IOMUXC_ENET_ ...
...
>;

  And the fragment that descibes FEC config itself

fec1: ethernet@30be0000 {
    compatible = "fsl,imx8mm-fec", "fsl,imx8mq-fec", "fsl,imx6sx-fec";
    ......
}

 

Have a nice day!

Mateusz

0 项奖励
回复