Skip to main content
Graduate
November 6, 2024
Question

Reducing power while using USB

  • November 6, 2024
  • 2 replies
  • 1703 views

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?

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    November 7, 2024

    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.

    Technical Moderator
    November 11, 2024

    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

     

    GauravKAuthor
    Graduate
    November 12, 2024

    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.