Connect usb keyboard to LPC1788

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Connect usb keyboard to LPC1788

501 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hmrasa on Mon Apr 28 04:04:37 MST 2014
I have implemented the USB Host Lite on LPC1788.
With Mass Storage Devices it works fine.

Now I want to connect HID Devices like a Keyboard.

When I try to get the "Device Descriptor" from the Keyboard, I always get an error.

HOST_GET_DESCRIPTOR(USB_DESCRIPTOR_TYPE_DEVICE, 0, 8);

Error: "pHead->Control=0x5E040000"
0 Kudos
2 Replies

354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hmrasa on Mon Apr 28 23:58:11 MST 2014

Quote: arw
Hello HR

USBHostLite did not include the necessary setup to get your HID keyboard up and running quickly, however there is a new LPCOpen software package that includes Host MSC and HID examples.

Please download the software package for the Embedded Artists LPC1788 DevKit, and take a look at the USB Host samples.

http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc17xx-packages

-AW


Thanks AW,
It was very useful.
0 Kudos

354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by arw on Mon Apr 28 14:10:33 MST 2014
Hello HR

USBHostLite did not include the necessary setup to get your HID keyboard up and running quickly, however there is a new LPCOpen software package that includes Host MSC and HID examples.

Please download the software package for the Embedded Artists LPC1788 DevKit, and take a look at the USB Host samples.

http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc17xx-packages

-AW
0 Kudos