SLAU847D October 2022 – May 2024 MSPM0L1105 , MSPM0L1106 , MSPM0L1117 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2227-Q1 , MSPM0L2228 , MSPM0L2228-Q1
The device operating mode is configured through the use of the following:
Before entering an operating mode where the CPU is disabled, make sure that the appropriate peripheral that can wake the CPU from sleep has been configured to generate a CPU interrupt on the desired event.
For a detailed description of the behavior of each operating mode, see the operating modes section.
Table 2-10 defines how to configure the relevant policy bits for each operating mode. All values are indicated in binary format. A dash (-) indicates that the particular policy bit is a don't care for the specified operating mode.
Operating Mode Policy Control | RUN | SLEEP(2) | STOP | STANDBY | SHUTDOWN | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Register | Bit | RUN0 | RUN1 | RUN2 | SLEEP0 | SLEEP1 | SLEEP2 | STOP0 | STOP1 | STOP2(3) | STANDBY0 | STANDBY1 | |
SYSOSCCFG | DISABLE(1) | 0 | 0 | 1 | 0 | 0 | 1 | - | - | (1) | - | - | - |
USE4MHZSTOP | - | - | - | - | - | - | 0 | 1 | 0 | - | - | - | |
DISABLESTOP | - | - | - | - | - | - | 0 | 0 | 1 | - | - | - | |
MCLKCFG | USELFCLK(1) | 0 | 1 | - | 0 | 1 | - | 0 | 0 | - | - | - | - |
STOPCLKSTBY | - | - | - | - | - | - | - | - | - | 0 | 1 | - | |
PMODECFG | DSLEEP | - | - | - | - | - | - | 00 | 00 | 00 | 01 | 01 | 10 |
SCR | SLEEPDEEP | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 |
Entering SLEEP mode disables the CPU, but otherwise maintains the same configuration as RUN. To enter SLEEP mode:
To enter STOP or STANDBY mode:
To enter SHUTDOWN mode: