cancel
Showing results for 
Search instead for 
Did you mean: 

Reducing power while using USB

GauravK
Senior

Hello, 

USB HS is used as MSC with external PHY is running ok. Want is to reduce power, by trying low-power code gets stuck and I need help on enabling same?

3 REPLIES 3
SofLit
ST Employee

Hello,

"Power" as title doesn't mean anything, so in next time, please put a title that refletcs your thread content. I've edited the title then ..

Tips on how to post a thread: https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

Thank your for your understanding.

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.
FBL
ST Employee

Hi @GauravK 

 

Could you provide more details on how the code gets stuck and which product is being used? Additionally, please specify your hardware architecture, as it must support detecting the presence of VBUS.

Depending on your STM32 product, the OTG clock might be enabled during sleep mode, but note that some restrictions may apply.

When the OTG_HS is in a USB suspended state, the application can significantly reduce overall power consumption by shutting down all clock sources in the system. You need to follow procedure described in corresponding reference manual. It is also essential to check external PHY registers to enable low power mode for proper operation.

Don't forget to set all free or unused pins to Analog mode. For more information, please check the provided link

How to minimize the power consumption in low power... - STMicroelectronics Community

 

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.

Hello @FBL , 

Thanks for replying, the changing unused IOs to analog option got me into a issue, where by Im not able to re-program the controller F429 custom board, the debugger refuses to identify the controller, causing unable to change the program. 

also I tried reducing cpu clock to 90 mhz

GauravK_0-1731419202361.png

I tried checking swd lines and boot0 and boot1 lines, looked ok to me.

would appreciate a quick response, since a controller is un-usable.