I have an MSP430 Assignment which I’m doing in assembly, and the final part states to do this:
Then the microcontroller is put to sleep in mode 4. Another game will start by pushing the RESET button.
I can’t find any way of putting it into sleep and after that, i have no idea how to get it out of sleep either. This is all I’m missing to finish my assignment, so any help would be awesome.
Thanks!
Low power mode 4: SCG1=1, SCG0=1, OscOff=1, CPUOff=1:
You can wake from LPM4 with an interrupt. If your reset button is connected to a pin that has an external interrupt associated with it, pressing it will wake your processor.