I'm new in using USB host.we are using LPC2388 controller and trying to configure USB host.When USB flash drive connected to the port,the RoothubStatus interrupt is not setting.I think i'm correct i.e the interrupt is set by host controller when a device is detected.
Can anybody help in configuring the USB host for LPC2388.. Thanks in advance.
> When USB flash drive connected to the port,the RoothubStatus interrupt is not setting.I think i'm correct i.e the interrupt is set by host controller when a device is detected.
Yes, CurrentConnectStatus (HcRhPortStatus[portN].CCS) is set with detection of device connection. It causes RoothubStatus Event (interrupt). Maybe, SetGlobalPower (HcRhStatus.LPSC) is not set yet.
> Can anybody help in configuring the USB host for LPC2388..
Start with this NXP host example,
NXP USB host lite on "USB host mass storage class (MSC) example" page. www.standardics.nxp.com/.../
Tsuneo