We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, I want to make a USB-Host work on the LPC2362. Therefore, I found Sample Code for the LPC2388(in the MCB2300-folder, refer to www.keil.com/.../rlarm_usb_host_hid_kbd.htm) that provides a Host for a HID (Keyboard). I sligthly adapted it to the LPC2362: Pinsel for USB_D+1, USB_D-1 and USB_OVRCR1. I provided 5V-Power and adapted serial interface configuration. I also let USBPortSel at reset value (to select Port1). But trying the Project in Hardware does not work. Do you know where I could start debugging? The function usbh_hid_status(0, 0) always returns zero to me. I hope that Hardware is correct, since it only has 2 wires. Is there other configuration, that I must adapt? I am not to sure what to do with clock settings, for example. Thanks for any help!
Sincerly yours, Stefan
Tsuneo,
Thank you for your reply. For some reason my application is still not working. The LM3526-L IC (overcurrent monitor)Pin-1 when I start the application is LOW which is okay so that the USB in powered, but as soon as I connect the USB device (keyboard) goes HIGH and stays HIGH.
I am using the Keil USB library and unfortunately I do not have a way to monitor the state of those pins.
Please let me know if you have any ideas.
Thanks again,
Carolina