LPC1114 bypassing the system oscillator

cancel
Showing results for 
Search instead for 
Did you mean: 

LPC1114 bypassing the system oscillator

417 Views
heaton_1991
Contributor I

I have a question regarding bypassing the system oscillator in LPC1114. If I enable the system oscillator bypass enable (set bit 0 of SYSOSCCTRL to be 1), I could connect an external clock source to XTALIN pin as the external clock source. However, from the following figure, I don't really know how this XTALIN pin is connected to the clock generation unit. Does anyone have any idea about this? 

pastedImage_1.png

To be more specific, if the system oscillator is bypass enabled and I connect a new clock source referred as CLK to the XTALIN pin, where is CLK connected to the above figure? Does it just replace the system oscillator?

Labels (1)
0 Kudos
3 Replies

211 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Haohao Liao,

About "I don't really know how this XTALIN pin is connected to the clock generation unit. ",

-> This is internal connect of chip, PLL input (sys_osc_clok) is fed directly from XTALIN pin, you can just regard it as the external clock source instead of  system oscillator . Then configure "System PLL clock source select registe "r to 0x1 can select it as PLL input.

pastedImage_1.png


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

211 Views
heaton_1991
Contributor I

Hi, Alice,

Thanks a lot for your help.

So, if we choose bypass the system oscillator, and connect the external

clock source(maybe from a function generator with frequency 12 Mhz) to the

XTALIN, then this clock source will be fed directly to the PLL input. Thus,

if we choose the system PLL clock source to be the system oscillator and

configure the main clock select register to select system PLL clock out,

the main clock will be our external clock source * 4 (assume MSEL = 3 and

PSEL = 2), which is 48 Mhz. Am I right?

Alice_Yang <admin@community.nxp.com> 于2018年12月11日周二 上午12:59写道:

NXP Community

<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

Re: LPC1114 bypassing the system oscillator

reply from Alice_Yang

<https://community.nxp.com/people/Alice_Yang?et=watches.email.thread> in *LPC

Microcontrollers* - View the full discussion

<https://community.nxp.com/message/1090105?commentID=1090105&et=watches.email.thread#comment-1090105>

0 Kudos

211 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Haohao,

Yes, you are right.

pastedImage_1.png


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos