K64F Must use external 50MHz Ethernet clock?

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

K64F Must use external 50MHz Ethernet clock?

跳至解决方案
1,527 次查看
joelk
Contributor II

Is the K64F MCU capable of generating the 50MHz clock for RMII Ethernet?

I'm trying to avoid adding a crystal to generate this clock in the PHY.

标签 (1)
0 项奖励
回复
1 解答
804 次查看
mjbcswitzerland
Specialist V

Joel

You "need" to have a 50MHz clock signal on CLKIN, which is internally connected to the MII clock line, in order to use Ethernet in RMII mode.

There is however no need to have two crystals/clocks due to this - just choose a PHY that accepts a 25MHz crystal and supplies the 50MHz clock to the K64 input (eg. KSZ8081RNA).

You just need to allow the PHY to come out of reset so that it can start up and supply the Kinetis clock,

I have worked on several K60, K64, K61, K70 products using this strategy and there are no problems - and the only crystal required is the one at the PHY.

If you have to avoid generating the clock at the PHY you can also use an external 50MHz oscillator - with a PHY requiring the clock as input (as is done on the K60 tower kit). It is important that the same oscillator source is used for both (synchronised).

Regards

Mark

Kinetis: µTasker Kinetis support

K64: µTasker Kinetis FRDM-K64F support  / µTasker Kinetis TWR-K64F120M support  / µTasker Kinetis TWR-K65F180M support

For the complete "out-of-the-box" Kinetis experience and faster time to market

在原帖中查看解决方案

1 回复
805 次查看
mjbcswitzerland
Specialist V

Joel

You "need" to have a 50MHz clock signal on CLKIN, which is internally connected to the MII clock line, in order to use Ethernet in RMII mode.

There is however no need to have two crystals/clocks due to this - just choose a PHY that accepts a 25MHz crystal and supplies the 50MHz clock to the K64 input (eg. KSZ8081RNA).

You just need to allow the PHY to come out of reset so that it can start up and supply the Kinetis clock,

I have worked on several K60, K64, K61, K70 products using this strategy and there are no problems - and the only crystal required is the one at the PHY.

If you have to avoid generating the clock at the PHY you can also use an external 50MHz oscillator - with a PHY requiring the clock as input (as is done on the K60 tower kit). It is important that the same oscillator source is used for both (synchronised).

Regards

Mark

Kinetis: µTasker Kinetis support

K64: µTasker Kinetis FRDM-K64F support  / µTasker Kinetis TWR-K64F120M support  / µTasker Kinetis TWR-K65F180M support

For the complete "out-of-the-box" Kinetis experience and faster time to market