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.

MSP430FR2355: MSP low-power microcontroller forum

Part Number: MSP430FR2355

SPO2

void LOG_waitCommand(void)
{
// wait for UART command
UCA1IE |= UCRXIE; // Enable USCI_A1 RX interrupt
__bis_SR_register(LPM0_bits | GIE); // Enter LPM0 w/ interrupts
__no_operation();
}

The System goes to sleep state when it execute this line. 

when i remove

 __bis_SR_register(LPM0_bits | GIE);  this line then the code is working

**Attention** This is a public forum