Skip to main content
Visitor II
January 4, 2024
Question

to make controller entering into the sleep mode and coming out of sleep mode using USB

  • January 4, 2024
  • 1 reply
  • 947 views

Hi all,

i want to implement the sleep mode using USB as the source to put the device in to sleep mode and waking the device from the sleep mode. The controller im using is STM32U585. My quarry is, is it possible to do it.? i have implemented the same using UART it working perfectly fine, the same i want to using USB, is it possible. is yes, any suggestions for the same will be helpful.

    This topic has been closed for replies.

    1 reply

    ST Employee
    February 29, 2024

    Hello @meghasb 

    It is possible, in sleep mode, only the CPU is stopped. All peripherals continue to operate and can
    wake up the CPU when an interrupt/event occurs.

    The peripherals that are still active in sleep mode are shown  in the below table (From product datasheet)

    SarraS_0-1709225997058.png

     

    Please note that OTG_FS and USB are functional in voltage scaling range 1, 2, and 3. OTG_HS is functional in voltage scaling range 1 and 2 as shown in the below picture (From RM) 

    SarraS_1-1709226181249.png

    Unfortunately, there is no official example  that covers this use case