Based on the K20P121100SF2V2RM.pdf and Processor Expert, I can select the internal 32.768Khz clock and still use FLL.
MCG mode = FEI
SIM_SOPT2 = PLLFLLSEL(0)
SIM_SOPT1 = OSC32KSEL(2)
MCG_C1 = 0x07
MCG_C2 = 0
MCG_C4 = 0xE0
OSR_CR = 0
MCG_C7 = 1
MCG_C5 = 0
MCG_C6 = 0
MCG_S & 0x10 (IREFST) is 0, should go to 1, but doesn't. and CLKST is 3
What am I doing wrong?
Hi Mark,
I'd highly recommend you to using the clock mode configuration function that created by Processor Expert directly.
If you have any other questions, just feel free to contact with me.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------