Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: How to awake the MCU from LPM3?

$
0
0
Your current code will get stuck at line# 274. The CPU will sleep in LPM3 most of the time. Occasionally, an ISR may be executed. But since none of your ISRs has a "__bic_SR_register_on_exit(LPM3_bits);"instruction inside, the CPU will go back to line# 247 and sleep again. In a sense, you are lucky that no ISR tries to wake up the CPU. Because line# 247 is at the end of the road (main), if one of the ISRs wakes up the CPU, it will roll off the end of road (main) and fall into a cliff. Your line# 276 is the end. Beyond that, there are only comments and the CPU will not do anything for you.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>