2025-03-16 1:48 AM
Hello ,
I have used the below to go into stop mode:
PWR_SLEEPENTRY_WFI & PWR_STOPENTRY_WFI as parameter?
2025-03-16 2:15 AM
Hello @prudhvichitturi
PWR_STOPENTRY_WFI is used as a parameter of the HAL_PWR_EnterSTOPMode() function to enter STOP mode with WFI instruction. But the PWR_SLEEPENTRY_WFI should be used as a parameter for the HAL_PWR_EnterSLEEPMode() function to enter SLEEP mode with WFI instruction. More details are provided on the pages 384 and 385 of the UM1749 Rev7.
Best Regards.
STTwo-32
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.