2024-11-05 10:01 PM - last edited on 2024-11-07 11:56 AM by SofLit
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?
2024-11-07 11:55 AM - edited 2024-11-07 12:01 PM
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.
2024-11-11 09:54 AM
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.
2024-11-12 05:47 AM
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
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.