2014-04-18 11:17 PM
Hey guys,
I'm trying to disable the USBH for the F4 board after calling the ''USBH_Init'' function. Once initialized, it interferes with a connected LCD (timing issues I believe).I have tried ''USBH_DeInit'' but with no luck. Basically, I need to disable the USB OTG, send data to the LCD, and re-enable. Sorry if this is something very simple and I am just missing it; I have been working on a project for a while now and am stumped on some things.Any help would be greatly appreciated,Thanks.2014-04-22 08:55 AM
Hi
It would help if you told us which driver software you are using? The old OTG library code has USB_OTG_BSP_DisableInterrupt() USB_OTG_BSP_EnableInterrupt() Do not know if the new Cube code generator will create these.2017-08-02 08:59 PM
Hello,
We are also facing the same problem. How to re enable USB Device and HOST after de-initialize? Code is using the HAL Library.Which function call require to make in sequence?
Chip: STM32Fxxx
Thanks and Regards,
Shail Shah
2017-10-02 03:59 AM
Hello!
Was the problem fixed? I am facing the similar problem with Usb de-initialization
2017-10-12 09:43 PM
Hello,
Kindly reinitialize the state, type and your USB class and start library once again and check it.
Call USHD_Init() and after that call this function MX_USB_DEVICE_Init once again with necessary changes.
Thanks and Regards,
Shail Shah