cancel
Showing results for 
Search instead for 
Did you mean: 

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

SGasp.1
Senior
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 */
}

4 REPLIES 4
Olivier GALLIEN
ST Employee

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

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

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

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

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

Thanks Olivier