CCEMTY_INT no respond

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

CCEMTY_INT no respond

422 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by canalejose on Sat Feb 20 06:27:24 MST 2010
I'm debugging the USB examples and there hangs in the line:

while ((LPC_USB->DevIntSt & (CCEMTY_INT | DEV_STAT_INT)) == 0);

When I plug the LPC1343 USB cable the program continues and works fine but I need to initialize the USB and continue with another tasks.

It seems like the USB device only work when the usb cable is attached. When I dettach the USB cable the uC hangs again in the same while.
0 项奖励
回复
0 回复数