lpcware

USB_CONNECT in nxpUSBlib

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by Ex-Zero on Thu Jan 12 12:46:49 MST 2012
I'm missing USB_CONNECT Init in nxpUSBlib. So examples didn't work with my hardware. For everyone who is trying to use this samples with USB_CONNECT don't forget to add PINSEL4 setting somewhere.

<code>
//P2.9 -> USB_CONNECT
  LPC_PINCON->PINSEL4 &= ~(3<<18);//delete bit 18:19
  LPC_PINCON->PINSEL4 |= (1<<18);//set bit 18
</code>

Outcomes