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 ..,
Hi
The K66 reference manual shows Ethernet module clock generation:
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!
-----------------------------------------------------------------------------------------------------------------------