ETHERNET PROBLEM IN MK66

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ETHERNET PROBLEM IN MK66

543件の閲覧回数
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 ..,

ラベル(2)
0 件の賞賛
返信
1 返信

413件の閲覧回数
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 件の賞賛
返信