USB PLL cannot be locked in lpc11u14

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

USB PLL cannot be locked in lpc11u14

694 Views
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?
Labels (1)
0 Kudos
Reply
1 Reply

638 Views
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 Kudos
Reply