Other Parts Discussed in Thread: MSP430FR5725, MSP430G2452
That title seems to suggest that it is the mcu's fault, but really I can't figure out a certain part. Right now, I'm using the G2553 on a launchpad, controlling a separate IC. By default, I'm putting the IC into a power down mode via a PDN pin. I am controlling this pin from the microcontroller using the timer's PWM functionality, so I can save power. I have port interrupts set up to listen for a signal from the IC when it is on (when the PWM is high). If the port interrupt is triggered, the IC will remain on for 5 seconds. After the 5 seconds, the system will return to its PWM sleep state. My problem is that my system is not entering LPM. The pin I'm controlling the IC with seems to always be powering it. My "wakeup" and timeout works. I am using two external LEDs to see which state it is in (LPM or timeout). I've already taken current measurements without them, so they're not causing my unexpected current draw. My code is linked below.