I am sending the UART data with the following function. Wake up is from interrupt after tx finish. After last sent byte system is set to LPM4. for(i = 0; i < txLength; i++) { EUSCI_A_UART_transmitData(EUSCI_A1_BASE, txVect[i]); __bis_SR_register(LPM0_bits + GIE); } According to the datasheet SMCLK in LPM0 consumes 166µA at 1MHz and 342µA at 8MHz. I will try setting SMCLK to 1MHz for UART but I need to set it back to 8MHz for SPI.
↧