ETHERNET PROBLEM IN MK66

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

ETHERNET PROBLEM IN MK66

455 次查看
maheshwarreddy
Contributor I

Hi,

   I'am using the udo_echo in sdk2.0 of MK66 MCU , Its working fine whenever I choose ENET Clock source from ENET_1588_clk_in(PIN no:47), But I am trying to have Ethernet clock from XTAL(PIN NO:72).

I have done only a small change after that its not working!

Changes :

// SIM->SOPT2 |= SIM_SOPT2_RMIISRC_MASK; This line is replaced with following     
SIM->SOPT2 &= 0x7FFFF; 

Please Can anyone suggest me if any other modifications?..

Thank you ..,

0 项奖励
1 回复

325 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

The K66 reference manual shows Ethernet module clock generation:

pastedImage_1.png

So customer's code can refer below code:

SIM->SOPT2 &= ~SIM_SOPT2_RMIISRC_MASK;

SIM->SOPT2 |= SIM_SOPT2_TIMESRC(2);


Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励