K20 Internal Clock FLL doesn't work

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

K20 Internal Clock FLL doesn't work

868 次查看
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 项奖励
回复
1 回复

739 次查看
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 项奖励
回复