Hi All,
I am currently working on a program that seems to always hang on the line right after I put the MSP430FR5969 into low-power mode. This happens regardless of the low power mode I set it to (LPM0, LPM1, etc.). It doesn't actually run the line right after the low-power mode line, it just stops there. For example, the following code will hang, I will press "pause" in CCS, and it will say it's paused on the second line (where I set P4.6). However, P4.6 isn't actually set, because if it was the LED would be on.
__bis_SR_register(LPM0_bits); // Enter LPM0 P4OUT |= BIT6; // Turn on LED connected to P4.6
I have tried setting a breakpoint on the hanging line, and it will stop there, but I can't go any further. Does this mean that the microcontroller is still in a low-power mode? What is the expected behavior of the debugger when the microcontroller is in low-power mode?
Thanks in advance for any help!
- NG