on-internet
← Community

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

Stack Overflow ·

I have an Arduino KR WiFi 1010, which has an ARM Cortex-M0+ processor, and I try to implement sleep correctly. An interrupt is registered, and __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 clock can trigger an interru

Comments

Sign in or sign up to comment and upvote.

No comments yet.