AnsweredAssumed Answered

USB CDC host

Question asked by ra.pamod on Nov 20, 2017
Latest reply on Jan 5, 2018 by ra.pamod

Hello Clive,

 

I am implementing USB CDC host on STM32F446, it is connected to GSM module.

I have initialized the USB host, I am still exploring how to send & receive data in CDC host mode & on what event I should read buffer so that I don't end-up reading junk. 

 

USBH_StatusTypeDef  USBH_Process(USBH_HandleTypeDef *phost) function is called in while loop.

I get gstate till HOST_DEV_ATTACHED. I never receive the state HOST_ENUMERATION.

 

Is it because the device is not properly initialized that is why the enumeration is not done?

What should I check can you please suggest?

 

Regards

Pramod

Outcomes