SLAAE72 December 2022 MSPM0L1105 , MSPM0L1106 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2228 , MSPM0L2228-Q1
MSPM0Lxx series microcontroller (MCU) portfolio is a subfamily of MSPM0, which offers a wide variety of 32-bit MCUs with ultra-low-power and integrated analog and digital peripherals for sensing, measurement and control applications. Reducing power consumption while performing complex real-time applications presents a major challenge for the recent embedded applications. This article was created to build a simple framework to help developers understand the MSPM0Lxx series low-power features, how power can be optimized to meet the specific needs based on MSPM0 and how to evaluate and measure it.
EnergyTrace™ and LaunchPad™ are trademarks of Texas Instruments.
Arm® and Cortex® are registered trademarks of Arm Limited.
All trademarks are the property of their respective owners.
TI’s scalable MSPM0Lxx MCUs are based on Arm® Cortex®-M0+ core, with a maximum CPU speed of 32 MHz, which provides the basic general-purpose functions with low-power features. The MCUs are available with up to 256KB of on-chip flash and up to 32KB on-chip SRAM with extended scalable analog Integration. They also integrate an efficient power supply architecture and various power modes that helps the power consumption reduction and simplify application design. Its overall low-power performance is show in Table 1-1. For more details, refer to the device-specific data sheet.
Low-Power Mode | MSPM0Lxx |
---|---|
Run(1)(5) | 85 µA/MHz |
Sleep(2)(5) | 200 μA at 4 MHz |
Stop(3)(5) | 50 μA at 32 kHz |
Standby(4)(5) | 1.1 µA |
Shutdown(5) | 50 nA with IO wakeup capability |
This application note was created to build a simple framework to help developers understand the MSPM0Lxx series low-power features, how power can be optimized to meet the specific needs based on MSPM0, and how to evaluate and measure it. Figure 1-1 shows the design flow for a low-power design.
Table 1-2 lists the items to check during development.
Number | Classification | Item | Comment |
---|---|---|---|
1 | Hardware design | MCU power supply | Reduce MCU power supply no lower than 1.62 V. |
2 | Resistors | Choose large resistors after meeting system requirement. | |
3 | Capacitors | Choose low leakage capacitors. | |
4 | Power IC | Normally choose a linear regulator. | |
5 | Software coding | Conditional code execution | Use a conditional wake-up and code execution structure. |
6 | Nonblocking programming | Avoid blocking mode by using while loop. | |
7 | Optimize code size | Choose TI Arm Clang, Fully use compiler features and write code with good coding style. | |
8 | MSPM0 low-power feature usage | Use low-power modes | Use different power modes (RUN, SLEEP, STOP, STANDBY, and SHUTDOWN) and three lower mode policy options (XX0, XX1, XX2) according to the application requirement. |
9 | Reduce system clock and peripheral operation frequency | Only use the needed system clock frequency. Reduce peripherals operation frequency and turn them off when not used. | |
10 | I/O configuration | Leave the unused pin as default high-Z configuration. Reduce the use of internal pull-up or pull-down resistors. Pay attention to the IO-latch in low-power modes. | |
11 | Use event manager | Use event manager to realize peripherals trigger DMA or peripherals trigger peripherals to reduce the CPU usage. | |
12 | Use analog peripherals’ low-power features | Compromise between performance and low-power consumption for the ADC, COMP, OPA and GPAMP. | |
13 | Run code from RAM | Move a part of common used code from flash to RAM. |