Hi There.
I've noticed a weird problem where the sleep current during LPM4 is much higher than it should be ....and the sleep current is rising. I've isolated the issue to the RX pin (P1.1 - UCA0RXD).
Before it goes to sleep, I disable the USCI and then set RX to input pull-high with the following code
// disable UART
UCA0CTL1 |= UCSWRST; // **DEACTIVATE USCI state machine**
IE2 = 0; // disable all USCI_A0 interrupts
P1DIR &= ~BIT1;
P1REN |= BIT1;
P1OUT |= BIT1;
P1SEL &= ~BIT1; // P1.1 = P1DIR
P1SEL2 &= ~BIT1; // P1.1 = P1DIR
Am I doing something incorrectly? The pins all have ESD diodes on them to ground (see below)
Thanks!