Other Parts Discussed in Thread: OMAP-L138
Hi,
www.ti.com.cn/.../PROCESSOR-SDK-RTOS-OMAPL138
When the customer runs USB_DevMsc_lcdkOMAPL138_armExampleProject, there is a problem that the interrupt of USB endpoint 0 cannot be triggered. The following code is not executed:
/* Handle end point 0 interrupts. */
if(musb->epIrqStatus & USB_INTEP_0)
{
debug_printf("USB_INTEP_0 \n");
debug_printf(".\n");
musb->ulUSBEP0IntCount++;
usbMusbDcdEp0EvntHandler(musb);
}
Only triggered four times USB reset interrupts:
/* Received a reset from the host. */
if(ulStatus & USB_INTCTRL_RESET)
{
debug_printf(".\n");
musb->ulUSBRstCount++;
usbMusbDcdRstEvntHandler(musb);
return 0;
}
This causes the USB device not to be recognized.
Please help check.