hard20 pts · first answer countsmicrocontrollerslow-powerinterrupts
Missed wake-up just before sleep
Main loop: if (!data_ready) __WFI(); An ISR sets data_ready. Rarely the device sleeps with data waiting until the next unrelated interrupt. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Why use volatileEmbedded Systems Engineer
- Keeping ISRs shortEmbedded Systems Engineer
- The interrupt vector tableEmbedded Systems Engineer
- Doing heavy work in an ISREmbedded Systems Engineer
- printf inside an interruptEmbedded Systems Engineer
- What an open-drain output can doEmbedded Systems Engineer
- Button wired to ground with pull-upEmbedded Systems Engineer
- Meaning of an NRST pinEmbedded Systems Engineer