2024-01-04 04:07 AM
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.
2024-02-29 09:12 AM
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)
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)
Unfortunately, there is no official example that covers this use case
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.