AnsweredAssumed Answered

use lpcusblib in LPC1788 chip

Question asked by chao li on May 18, 2017
Latest reply on May 30, 2017 by Carlos_Mendoza

I use lpcusblib debugging usbhost found that the program will stop in the WaitForTransferComplete

 

In enumdevice get devicedescription stop   waitTransferComlete 

 

static HCD_STATUS WaitForTransferComplete(uint8_t EdIdx)
{
#ifndef __TEST__ //
while ( HcdED(EdIdx)->status == HCD_STATUS_TRANSFER_QUEUED ) {}   //while in this
return (HCD_STATUS) HcdED(EdIdx)->status;
#else
return HCD_STATUS_OK;
#endif
}

Outcomes