Content originally posted in LPCWare by embd02161991 on Tue Apr 29 17:55:59 MST 2014
Hi,
When the device is connected to a host , a USB reset is received. The URI bit is set in the USB status register(USBSTS). If the USB reset enable(URE) bit in USB interrupt register(USBINTR) is one and the USB Reset Received bit in the USBSTS register is a one , the device controller will issue an interrupt. This interrupt is acknowledged by software clearing the USB Reset Received bit.
The USB Reset Received Bit and the interrupt can be used to determine if an active connection is established.
Thanks,
NXP Technical Support