cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F747NG MCU USB OTG HS issue (Intermittent disconnection)

Bluemelony
Associate II

Hi !

We are developing F746 MCU.

This issue occurred while developing the USB OTG HS USB Mass Storage function by referring to the example file in F7 CUBE.

It is normal to connect USB to MCU that operates as HOST and create new files with FATFS-based file system.

However, if connect or disconnect USB repeatedly, intermittent disconnection occurs.

And if the above issue occur, the Timer value of the USBH_HandleTypeDef structure stops as shown in the picture.

0693W00000AN9fnQAD.png(+ The HAL_HCD_SOF_Callback(hcd) function in the file stm32f7xx_hal_hcd.c is not calledback.)

Repeating the USB reconnect until the MCU reboots does not return to its original state.

Please give me some advice to solve this problem and cause of this problem. :sad_but_relieved_face:

2 REPLIES 2

Hello @Bluemelony​ ,

Can you provide us with the version of the package.

Moreover, if you have modified the example, can you provide us with the modifications?

Thank you advance.

BeST Regards,

Walid

Hello @Bluemelony​,

If you are using your own board you need to check the electrical part HS chirp sequence.

Otherwise, it is normal that host Timer stopped as this is based on HS SOF, HS SOF are generated only if host completed the chirp HS sequence.

BeST Regards,

Walid