Skip to main content
SGasp.1
Associate III
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
  • 4 replies
  • 914 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.

4 replies

Olivier GALLIEN
ST 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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
SGasp.1
SGasp.1Author
Associate III
July 12, 2021

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

Olivier GALLIEN
ST 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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
SGasp.1
SGasp.1Author
Associate III
July 12, 2021

Thanks Olivier