Lpc12xx pll

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

Lpc12xx pll

859件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by arielcai on Fri Jul 29 08:02:46 MST 2011
I want to run the LPC1226 at 24 Mhz using the rc clock.
I have been trying to do this whitout success.
Please a need a simple code example to do it work.

Thanks
0 件の賞賛
返信
2 返答(返信)

848件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by arielcai on Fri Jul 29 14:07:25 MST 2011
Thank very much Zero[B][/B]
:)
0 件の賞賛
返信

848件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Jul 29 08:34:26 MST 2011
In cr_startup_lpcxx.c in your source folder System_Init() in system_LPCxxxx.c is called.

There you can find your PLL setting:

1. Change SYSPLLCLKSEL:

#define SYSPLLCLKSEL_Val 0x00000000

Now IRC is selected :)

2. Set 24MHz

#define SYSPLLCTRL_Val 0x00000041

See: Table 54. PLL configuration examples

That's all :eek:
0 件の賞賛
返信