Skip to content

fix wake lockup and bus stall #46

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

Conversation

sslupsky
Copy link

The PR addresses two issues:

First, there is a problem when waking from sleep that Microchip has acknowledged. To address the case a hard fault resets the device, the SysTick interrupt must be disabled.

For more information see https://www.avrfreaks.net/forum/samd21-samd21e16b-sporadically-locks-and-does-not-wake-standby-sleep-mode

The second issue is correcting the same issue described in PR #44 that exists for the setAlarmEpoch() method.

@sslupsky
Copy link
Author

Apologies, I did not notice the tabs and forgot to remove the commented code.

@per1234 per1234 dismissed their stale review May 24, 2019 17:57

Requested changes have been resolved.

@ravelab
Copy link

ravelab commented Aug 20, 2019

@sslupsky @per1234 the first issue is critical as it sporadically resets the processor. this PR fixed my issue (I was sleeping every second, and the process resets after about 3 hours), and I think it should be merged ASAP. If there is concern about the fix for the second issue, maybe it should be separated out?

@sslupsky
Copy link
Author

sslupsky commented Oct 3, 2019

@per1234 Is this change going to be merged?

@sslupsky sslupsky closed this Sep 8, 2020
@sslupsky sslupsky deleted the fix-lockup-when-wake-from-sleep branch September 8, 2020 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants