USB PLL cannot be locked in lpc11u14

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

USB PLL cannot be locked in lpc11u14

747件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nickuse on Fri Sep 07 10:02:05 MST 2012
Dear All,
I download example code that is AN11232.
I try to running the HID+MSC+CDC example on LPC11U14.
but , it's always stop at SystemInit().


In function SystemInit()
  ....
  LPC_SYSCON->USBPLLCLKUEN  = 0x01;               /* Update Clock Source      */
  LPC_SYSCON->USBPLLCLKUEN  = 0x00;               /* Toggle Update Register   */
  LPC_SYSCON->USBPLLCLKUEN  = 0x01;
  while (!(LPC_SYSCON->USBPLLCLKUEN & 0x01));     /* Wait Until Updated       */
  LPC_SYSCON->USBPLLCTRL    = USBPLLCTRL_Val;
  while (!(LPC_SYSCON->USBPLLSTAT   & 0x01));     /* Wait Until PLL Locked    */  <------ stop there

  ....
 
The program always stop there, seems USB PLL cannot be locked.

Could you help me to solve this problem?
ラベル(1)
  • USB

0 件の賞賛
返信
1 返信

691件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tom-gds on Wed Jan 09 10:25:12 MST 2013
Did you ever solve this issue? I'm now getting the same problem on an LPC4357 M4 core. The examples still seem to work for me but running the same code in my own program comes across this issue
0 件の賞賛
返信