ETHERNET PROBLEM IN MK66

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ETHERNET PROBLEM IN MK66

621 Views
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 Kudos
Reply
1 Reply

491 Views
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 Kudos
Reply