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

USB Host HID usbDeviceError

Hi
I have made a simple program for LPC4337 Device, this is my code for initiating the HID mouse that I have connected to my board. The problem is that I got this error usbDeviceError

and my USB function initialize Ok

int main(void)
{
   osKernelInitialize (); // initialize RTOS kernel
   osKernelStart ();                              // start kernel with job2 execution

   usbStatus  usbst;

   usbst=USBH_Initialize(0);               // USB Host 0 Initialize

   while(1)
   {
       usbst=USBH_HID_GetDeviceStatus (0U); // Get HID device status
   }
}

Parents Reply Children
No data