cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F446 USB host connection issues

JoshDarklyLabs
Associate II

Hi,

I am using a STM32F446 as a USB high speed host. my device is connected to a USB3300 chip to control the micro usb port, which is then connected to a camera. My code works ~90% of the time, however sometimes the connection to the camera can be unreliable. When this happens, the only way to get it to connect again is to power cycle the device. 

Does anyone have any ideas on what might be causing this issue and how I could resolve it? 

I have tried just resetting the USB if it doesn't connect after a few seconds, but I think I am missing something as this isn't working. Any workarounds like this that fix the issue would also be useful.

I have attached a screenshot of the schematic for USB, and can provide more details if necessary.

Any help or ideas is much appreciated!

JoshDarklyLabs_0-1741049534177.png

 

2 REPLIES 2
FBL
ST Employee

Hi @JoshDarklyLabs 

It could be linked to power switch and EMI interference. Check MB1162 as a reference.

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.


JoshDarklyLabs
Associate II

Hi @FBL 

 

Thanks for your response. My design looks very similar to the schematic you have provided. Could you highlight anything I should be focusing on?

 

Or is there any other ideas you have that could fix this, or at least get it to work without having to physically restart (I don't mind if it takes a little while to connect)?

 

Thanks,

Josh