Skip to main content
Explorer II
April 19, 2024
Question

STM32U5 sleep

  • April 19, 2024
  • 2 replies
  • 2306 views

hi all,

i am developing a project using stm32u585 microcontroller which can connect to the external devices using ethernet and USB protocols.

i need to put the controller in sleep or any low power mode when ever a sleep command is reached through the USB communication and its need to be wake up when any command through the USB. i am new to the controller sleep part .is it possible to implement this if so can anyone please give some reference regarding the same.

and am using azure RTOS environment for the development(threadx,netx,usbx).

the same needs to implement on ethernet side as well since i am using an external chip for the ethernet and its using and external interrupt for transmitting and receiving data i can use that in case of ethernet.   

but in case of USB i didn't got any reference to work with any low power mode of the controller. (need to use the commands send through USB for put into sleep as well as wakeup from sleep).

any reference regarding it will be a great help.

with regards 

sabarinath

 

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    April 26, 2024

    Hello @sabari1 

    In the STM32Cube firmware U5, you will find examples demonstrating the process of putting the system into sleep mode and subsequently waking it up. Please consult this example for guidance.

    Graduate II
    June 24, 2025

    Yes, there are examples, with physical buttons... but not with USBX and Azure RTOS. So it doesn't help.

    Graduate II
    June 24, 2025

    Did you have further updates, regarding this issue? I am having a similar problem, I want to wake up from sleep through any USB data coming in.