K20 Internal Clock FLL doesn't work

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

K20 Internal Clock FLL doesn't work

444 Views
markkalior
Contributor II

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?

0 Kudos
Reply
1 Reply

315 Views
jeremyzhou
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply