This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RE: Changing NXP USB HOST lite for HID class for mouse

Post a reply here, because the original thread is read-only
http://www.keil.com/forum/20246/
13-May-2012 11:51 GMT, Author: Adam Taciak

> I wanted to do something similar, modify NXP Host Lite for typical USB mouse support. But unfortunately I have a problem during very early stage, when Host sends SETUP Packet, mouse does not respond.

I believe your mouse is a low-speed device.
NXP USBHostLite doesn't count in low-speed device.

a) At initialization (Host_Init()), HcLSThreshold is set to 0x628
b) At USB_IRQHandler(), HcRhPortStatusN.LSDA (LowSpeedDeviceAttached) of a route hub indicates connection of low-speed device, when HcRhPortStatusN.CCS (CurrentConnectStatus) is '1'.
c) Speed bit of each Endpoint descriptor is set to '1' (low speed)

Tsuneo

0