USB - no Connect Changed status interrupt

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by jhall0819 on Mon Oct 20 08:23:53 MST 2014

I have an existing product with an LPC2148 and am adding a USB mass storage device. I have started with an IAR-LPC-214X sample project for SPIO Mass Storage.

When I connect to a host I do not see the Connect Change status interrupt. I do see Suspend Change status interrupts. It seems the connect interrupt is necessary to move the USB state on to do packet processing.

My board is self powered and does not have the P0.31 soft connect switch on the 1.5 K pull-up. The host does see the device plug-in and sends the Setup sequence. My device sees the Setup packet but is not in a state to processes it. After several In/NAK exchanges my device issues a Stall packet. 

Any help, hints will be greatly appreciated.