lpcware

USB not working on my new board (LPC1764)

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Luis Digital on Wed Aug 08 07:28:29 MST 2012
Hello,

A few days ago I completed my last board with a chip LPC1764, has:
USB, RTC, SD card, Ethernet, etc.

USB not working, and have tried several examples, always stops at:

 
BOOL USBHwInit(void)
...
...
     LPC_USB->USBClkCtrl = 0x1A;                      /* Dev clock, AHB clock enable  */
      while ((LPC_USB->USBClkSt & 0x1A) != 0x1A); // Stop here!
All hardware is properly connected.

Thanks in advance for any help.

Outcomes