As I looked at the datasheet and manuals, it says that it uses USB_HOST_CONFIG_IP3516HS.
So
in usb_host_config.h, we test it by changing it as follows.:
#define USB_HOST_CONFIG_OHCI (0U)
#define USB_HOST_CONFIG_IP3516HS (1U)
After that, it'll be waiting forever at the while() statement in usb_host_ip3156hs.c as below.:
static usb_status_t USB_HostIp3516HsControllerReset(usb_host_ip3516hs_state_struct_t *usbHostState)
{
usbHostState->usbRegBase->USBCMD = USB_HOST_IP3516HS_USBCMD_HCRESET_MASK;
while (0U != (usbHostState->usbRegBase->USBCMD & USB_HOST_IP3516HS_USBCMD_HCRESET_MASK))
{
__NOP();
}
return kStatus_USB_Success;
}
The USB1 RESET command is not completed, where should I start to find bug?