2018-08-02 06:31 AM
STM32l475 USB host USBH_UserProcess() not progressing to HOST_USER_CLASS_ACTIVE
2018-08-03 01:50 AM
These are now in USBH_Conf.c
USBH_LL_Init(phost);
USBH_LL_Start(phost);
Still no enumeration
2018-08-03 07:34 AM
Have you probed the voltage on USB connector to the device? Got 5V there?
-- pa
2018-08-06 05:49 AM
Yes I have 5V at the device.
I have been tracing the code and I find SOH packets coming from the device in response to the USBH_Get_DevDesc().
Does not get past:
/* Check for enumeration status */
if ( USBH_HandleEnum(phost) == USBH_OK)
It is just repeatedly getting here:
if (__HAL_HCD_GET_FLAG(hhcd, USB_OTG_GINTSTS_SOF)) in HAL_HCD_IRQHandler()
2018-08-06 01:46 PM
> I find SOH packets coming from the device in response to the USBH_Get_DevDesc(). Does not get past: .........
It still looks that the attached device is not alive and first requests to the device won't pass (address assignment...). The SOF interrupts are generated by the host itself.
-- pa