Skip to main content
September 25, 2021
Question

Use of USB FS I want to Design Application

  • September 25, 2021
  • 2 replies
  • 658 views

Hi!

With the use of USB FS I want to design application & emwin on board stm32h743i-eval. When usb is attached, the function of enumeration does not work. Function USBH_Get_DevDesc get back as USBH_BUSY always and USB is found in condition of ENUM_IDLE. In case if I give remarks that function GUI_Init enumeration works good and some of the usb descriptors can be seen on uart terminal. Something stopping usb that is taking place in GUI_Ini .It’s strange that USB (HS) Host camera device working well with or without GUI_Init.

Following code functions well:

SystemClock_Config();

__HAL_RCC_CRC_CLK_ENABLE();

//GUI_Init();

USBH_Init(&usb_storage_handle, usb_storage_process , USB_STORAGE_ID);

USBH_RegisterClass(&usb_storage_handle, USBH_MSC_CLASS);

USBH_Start(&usb_storage_handle);

while (1) {

USBH_Process(&usb_storage_handle);

}

But USB stops working If I make changes in

//GUI_Init();

on

GUI_Init();

Kindly help me in this issue.

Thanks

    This topic has been closed for replies.

    2 replies

    Visitor II
    October 6, 2021

    Hello @LElla.1​ ,

    From what I understood you have an application that uses stmwin with USB and you faced problem of enumeration.

    Can you please share more details about your issue?

    Thanks in advance.

    BeST Regards,

    Walid

    Visitor II
    October 12, 2021

    Hello @LElla.1​ 

    Are there any news concerning this issue from your side?

    BeST Regards,

    Walid