K20 Internal Clock FLL doesn't work

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

K20 Internal Clock FLL doesn't work

443件の閲覧回数
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 返信

314件の閲覧回数
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 件の賞賛
返信