USB PLL cannot be locked in lpc11u14

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB PLL cannot be locked in lpc11u14

723 次查看
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)
0 项奖励
回复
1 回复

667 次查看
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 项奖励
回复