This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430FR2433: trouble entering low power mode

Part Number: MSP430FR2433

Tool/software: Code Composer Studio

Hello, I am trying to use the msp430fr2433 in lpm3 mode. I currently am having issues with not being able to include the VLO Library in my program. The end goal is to see if I can replicate the current specs from the data sheet on my launchpad. I do not think that I am entering lpm3 with the code that I have shown below. Any advice on how to enter lpm3 and how to wake up from lpm3 would be greatly appreciated. I have attached the code that has been created below.

#include <driverlib.h>
#include <VLO_Library.h>

void main(void)
{
WDT_A_hold(WDT_A_BASE);

GPIO_setAsOutputPin(GPIO_PORT_P1, GPIO_PIN0);
GPIO_setOutputLowOnPin(GPIO_PORT_P1, GPIO_PIN0);

PMM_unlockLPM5();
P1DIR |= 0x11; // set pins as output
BCSCTL3 |= LFXT1S_2;

P1IE |= BIT3; // enable P1.3 interrupt
while (1){
__enable_interrupt();
_BIS_SR(LPM3_bits + GIE); // Enter LPM3 w/interrupt
// P1OUT ^= 0x01; // turn LED on
GPIO_toggleOutputOnPin(GPIO_PORT_P1, GPIO_PIN0);

// GPIO_toggleOutputOnPin()
}

}

#pragma vector=PORT1_VECTOR
__interrupt void Port_1(void)
{
//wdtCounter = 0; // reset watchdog timer counter

P1IFG = 0x0;
_BIC_SR(LPM3_EXIT); // wake up from low power mode

}

Any help is greatly appreciated! Thank you for your time.

**Attention** This is a public forum