Issue to wake up from stop3 mode when migrating from Zephyr version 3.2.0 to 3.6.0
Hello @ASEHST ,
Your fix worked for me, suspend systick before entering into STOP3 mode.
But currently I'm working with Zephyr RTOS and using STM32 HAL drivers to enter into STOP3 mode, with zephyr 3.2.0 version we got same issue as control is coming out from STOP3 mode immediately, but after suspending systick it worked fine.
we currently migrated zephyr version from 3.2.0 to 3.6.0, after migration now control is not coming out from STOP3 mode.
Since above fix worked fine with zephyr 3.2.0, we raised one ticket in zephyr forum to understand issue with zephyr 3.6.0, but we didn't get any support from them, since we are using STM32 HAL driver, and they suggested us to get help from ST. Attaching the zephyr ticket for your reference.
Can you please help me to figure out the issue. Attaching two patch file one for zephyr 3.2.0 version and one for zephyr 3.6.0, you can run this patch file on the zephyr provided LED example and monitor the serial console. In patch file i didn't add code to suspend systick, but with Suspend systick also behaviour is same in zephyr 3.6.0
Example Path: zephyr\samples\basic\blinky
Thanks,
Mohan
