Skip to main content
Graduate II
July 12, 2021
Question

I am trying to use the usb fat driver on cube mx... I am not able to get APPLICATION READY as a state.. I am just able to get APPLICATION_START and APPLICATION _DISCONNECT.. What could be wrong ? Thanks a lot

  • July 12, 2021
  • 3 replies
  • 899 views
static void USBH_UserProcess (USBH_HandleTypeDef *phost, uint8_t id)
{
 /* USER CODE BEGIN CALL_BACK_1 */
 switch(id)
 {
 case HOST_USER_SELECT_CONFIGURATION:
 break;
 
 case HOST_USER_DISCONNECTION:
 Appli_state = APPLICATION_DISCONNECT;
 break;
 
 case HOST_USER_CLASS_ACTIVE:
 Appli_state = APPLICATION_READY;
 break;
 
 case HOST_USER_CONNECTION:
 Appli_state = APPLICATION_START;
 break;
 
 default:
 break;
 }
 /* USER CODE END CALL_BACK_1 */
}

    This topic has been closed for replies.

    3 replies

    Technical Moderator
    July 12, 2021

    Hi @SGasp.1​ ,

    Can you confirm on which platform you are working ?

    I have a doubt related to "STM32 MPUs" topic you have selected ..

    Thx

    Olivier

    SGasp.1Author
    Graduate II
    July 12, 2021

    Hi Olivier... I am working with STM32F746,,,, If you need other info let me know...

    Technical Moderator
    July 12, 2021

    Ok thanks,

    I reassigned your post to STM32 MCU, STM32F7 and USB topics where I'm sure you will reach a skilled audience for your issue.

    Olivier

    SGasp.1Author
    Graduate II
    July 12, 2021

    Thanks Olivier