oscillator is not known to declare

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

oscillator is not known to declare

1,239 Views
suraj78725
Contributor I

hi i am suraj,

i have crossed across a doubt that what crystal is been associated to what register to declare either in function wise or register wise. is the order of the clock declaration really matters or just we can delcare and initiate the program with the clock. 

i am using lpc54628 board and so the 12MHz and the EXT 25MHz frequency oscillator is the only only currently working for me and so can i use it for the other programs or couldn't i be?. 

if can please tell me how 

the flow of the order of declaring and the calling the clock is been referred by the following picture in the datasheet named LPC546XX and i've attach it here and the photo of the page for futher reference.

with regards

suraj

0 Kudos
Reply
4 Replies

1,228 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Suraj,

As you know that the LPC54628 has independent XTALIN/XTALOUT pins, they can be connected to external crystal from 1MHz to 25MHz. After you clear bit 9 in Power Configuration register 0, and clear bit3 in Power Configuration register 1, the system oscillator will work, the clk_in clock signal will be available. You can set up the System oscillator control register to select clock frequency.

For example, You can use the CLOCK_AttachClk(kEXT_CLK_to_SYS_PLL); to route the CLK_In clock signal as PLL input signal.

Hope it can help you

BR

XiangJun Rong

0 Kudos
Reply

1,217 Views
suraj78725
Contributor I

hi xiang,

is the word pll in the sentence for the clock attachment means it is for only pll operation or for all sort of usage of the external clock in the program.

BR 

suraj

0 Kudos
Reply

1,212 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Suraj,

Pls refer to the following Fig, the external crystal generates clock signal called clk_in, it can be one input source of Main clock select A, and  one input source of PLL......, in other words, the external crystal clock is NOT only for PLL.

Hope it can help you

BR

XiangJun Rong

xiangjun_rong_0-1611298963838.png

 

0 Kudos
Reply

1,206 Views
suraj78725
Contributor I

thanks for your response xiang

0 Kudos
Reply