-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SAM0 will wake up with interrupted execution after deep sleep #29733
Comments
@nandojve can you take a look at this? |
Hi @MaureenHelm , I talked with @Beirdo and he will look at. |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
@alfonsotames Yeah, this issue is because the tickless timer is broken for sam0. I fixed it a while ago and posted a PR for rtc_timer.c here but after two subsequent releases I gave up trying to get it into the tree because it was ignored. Are you still using sam0? There are other issues as well with the clocks, i2c and the uart drivers. |
Thanks for your comment! No, I stopped using SAM0 since it's pointless without a proper wake up. I switched to STM32L432KC and everything looks good so far. |
It is possible to do (I have done so) but for what ever reason the zephyr team has not addressed the underlying issues. |
Hi @sslupsky ,
I think SAM0 doesn't have an active codeowner and that make things slow. If you have this ready, please, rebase and resent. Link you PR with this Issue and let fix it. |
Trying to wake up the SAM0 after a deep sleep will froze execution. The interrupt will still work but any execution will advance step by step as the interrupt is invoked. I am using an ATSAMD21G18A board.
To Reproduce
Expected behavior
Pressing SW0 should should wake up SAM0 and blink LED0 5 times, then go to deep sleep again.
Impact
SAM0 cannot properly wake up from deep sleep.
Environment:
The text was updated successfully, but these errors were encountered: