Working on MSP432 - Part 5 (Low Power Mode)

Working on MSP432 - Part 5 (Low Power Mode)

MSP432 has the following Low Power Modes:
  • LPM0
  • LPM3
  • LPM3.5
  • LPM4
  • LPM4.5
The datasheet summary indicates the current drawn by the micro controller under various power modes.


If you are planning to operate the MSP432 in LPM0 mode, the following code snippet can be used.

PCM->CTL0 = PCM_CTL0_KEY_VAL | PCM_CTL0_CPM_LPM0_LDO_VCORE0;
SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk;
SCB->SCR |= SCB_SCR_SLEEPONEXIT_Msk;
_DSB();
_WFI();

Under LPM0 mode, the flash memory and the SRAM banks are still active but the CPU doesn't  execute. Any code written beyond the LPM0 mode instructions doesn't get executed. In addition to the LPM0 mode, the following configuration has also been done.
  • DCO configured with a lowest frequency of 1.5MHz
  • All the I/O pins configured to output mode and output set to zero
With the above settings, the lowest current consumption achieved was 0.1338mA

Post a Comment

0 Comments