USB_CONNECT in nxpUSBlib

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

USB_CONNECT in nxpUSBlib

640件の閲覧回数
lpcware
NXP Employee
NXP Employee
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>

ラベル(1)
0 件の賞賛
返信
0 返答(返信)