cancel
Showing results for 
Search instead for 
Did you mean: 

Issue to wake up from stop3 mode when migrating from Zephyr version 3.2.0 to 3.6.0

mohan-ltts
Associate II

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.

With Zephyr 3.6.0 control is not coming out from STOP3 mode · zephyrproject-rtos/zephyr · Discussion #83521

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

1 REPLY 1
Sarra.S
ST Employee

Hello @mohan-ltts

This thread is a continuation of the previous discussion on: Not waking up from stop3 mode immediately after Pr... - STMicroelectronics Community 

To ensure clarity, I have moved this reply, which was not directly related to the initial post. 

To summarize, In the GitHub ticket, you mentioned that you are not using the APIs provided by Zephyr. This would complicate the support for your custom software. As Erwan mentioned, you can contact your local FAE to open a ticket in OLS.

Thank you! 

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.