on-internet
← Community

How can the microcontroller wake up to resume execution on an ARM Cortex M0+ processor?

Stack Overflow ·

I have an Arduino MKR Wifi 1010, which has an ARM Cortex M0+ processor, and try to implement sleep correctly. What happens is that an interrupt is registered, and then __WFI (Wait for interrupt) is called. This does correctly wake up the board from sleep, but after the interrupt handler returns, the board goes to sleep again, instead of resuming execution. The documentation from ARM on that topic is rather sparse. The relevant paragraph is this: Exiting STANDBY mode: Any peripheral able to generate an asynchronous interrupt can wake up the system. For example, a module running on a Generic clo

Comments

Sign in or sign up to comment and upvote.

No comments yet.