Content originally posted in LPCWare by Pax on Thu Oct 11 01:39:57 MST 2012
[FONT=Arial][SIZE=2][SIZE=1]Hello All,
I am trying to get the USB HID examples from Code Red's example archive RDB1768cmsis2 to work correctly on an LPC1769 and Embedded Artists motor control board. (The example archive is included in the LPCXpresso IDE examples dir)
I have tried both the usb_hid and usb_hidmouse examples [/SIZE][/SIZE][/FONT][FONT=Arial][SIZE=2][SIZE=1](concentrating on the [/SIZE][/SIZE][/FONT][FONT=Arial][SIZE=2][SIZE=1][FONT=Arial][SIZE=2][SIZE=1]usb_hid[/SIZE][/SIZE][/FONT]), but neither enumerate the USB device correctly. I did do some initial debugging of the [FONT=Arial][SIZE=2][SIZE=1][FONT=Arial][SIZE=2][SIZE=1]usb_hid and the usbstack code it uses, and judging by the Code Red comments at least the USB I/O pins (D+, D- etc) seem to be configured correctly.
There is some interrupt activity on the device, but enumeration does not seem to progress very far at all.
Before I spend (probably much) time on debugging further, does anybody know straight off what is the issue(s) with this example code?
Thanks,
[/SIZE][/SIZE][/FONT][/SIZE][/SIZE][/FONT][/SIZE][/SIZE][/FONT]