Hanging in SystemInit() while (!(LPC_SYSCON->SYSPLLCLKUEN & 0x01));

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

Hanging in SystemInit() while (!(LPC_SYSCON->SYSPLLCLKUEN & 0x01));

157件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by avass on Sun Apr 07 00:07:57 MST 2013
I am using LPC_Link to connect to my own 1115 based design via JTAG reset/swdio/swdclk. There is no external clock and the chip's VDD is 2.3V.

I am trying to run the code I had on a LPCXpresso LPC1115, but it seems that SystemInit() func is hanging at "Wait Until PLL Locked" in system_LPC11xx.c. I've tried to change the SYSPLLCTRL_Val to a couple of different values, but it still hangs. SYSPLLCLKSEL is 1.

Any ideas on either what kind of values should I try or how to debug why it's hanging.

Thanks!
0 件の賞賛
1 返信

150件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by avass on Sun Apr 07 14:11:49 MST 2013
SYSPLLCLKSEL = 0 to select the internal RC oscillator... Douh!
0 件の賞賛