SLAU847D October 2022 – May 2024 MSPM0L1105 , MSPM0L1106 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2228 , MSPM0L2228-Q1
Table 2-16 lists the memory-mapped registers for the SYSCTL_L1105_L1106_L1303_L1304_L1305_L1306_L1343_L1344_L1345_L1346 registers. All register offset addresses not listed in Table 2-16 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Section |
---|---|---|---|
1020h | IIDX | SYSCTL interrupt index | Section 2.6.1 |
1028h | IMASK | SYSCTL interrupt mask | Section 2.6.2 |
1030h | RIS | SYSCTL raw interrupt status | Section 2.6.3 |
1038h | MIS | SYSCTL masked interrupt status | Section 2.6.4 |
1040h | ISET | SYSCTL interrupt set | Section 2.6.5 |
1048h | ICLR | SYSCTL interrupt clear | Section 2.6.6 |
1050h | NMIIIDX | NMI interrupt index | Section 2.6.7 |
1060h | NMIRIS | NMI raw interrupt status | Section 2.6.8 |
1070h | NMIISET | NMI interrupt set | Section 2.6.9 |
1078h | NMIICLR | NMI interrupt clear | Section 2.6.10 |
1100h | SYSOSCCFG | SYSOSC configuration | Section 2.6.11 |
1104h | MCLKCFG | Main clock (MCLK) configuration | Section 2.6.12 |
1138h | GENCLKCFG | General clock configuration | Section 2.6.13 |
113Ch | GENCLKEN | General clock enable control | Section 2.6.14 |
1140h | PMODECFG | Power mode configuration | Section 2.6.15 |
1150h | FCC | Frequency clock counter (FCC) count | Section 2.6.16 |
1168h | FLBANKSWAP | Flash MAIN bank address swap | Section 2.6.17 |
1170h | SYSOSCTRIMUSER | SYSOSC user-specified trim | Section 2.6.18 |
1178h | SYSMEMWEPROT | SRAM write protection configuration | Section 2.6.19 |
1200h | WRITELOCK | SYSCTL register write lockout | Section 2.6.20 |
1204h | CLKSTATUS | Clock module (CKM) status | Section 2.6.21 |
1208h | SYSSTATUS | System status information | Section 2.6.22 |
1220h | RSTCAUSE | Reset cause | Section 2.6.23 |
1300h | RESETLEVEL | Reset level for application-triggered reset command | Section 2.6.24 |
1304h | RESETCMD | Execute an application-triggered reset command | Section 2.6.25 |
1308h | BORTHRESHOLD | BOR threshold selection | Section 2.6.26 |
130Ch | BORCLRCMD | Set the BOR threshold | Section 2.6.27 |
1310h | SYSOSCFCLCTL | SYSOSC frequency correction loop (FCL) ROSC enable | Section 2.6.28 |
131Ch | SHDNIOREL | SHUTDOWN IO release control | Section 2.6.29 |
1320h | EXRSTPIN | Disable the reset function of the NRST pin | Section 2.6.30 |
1324h | SYSSTATUSCLR | Clear sticky bits of SYSSTATUS | Section 2.6.31 |
1328h | SWDCFG | Disable the SWD function on the SWD pins | Section 2.6.32 |
132Ch | FCCCMD | Frequency clock counter start capture | Section 2.6.33 |
1380h | PMUOPAMP | GPAMP control | Section 2.6.34 |
1400h | SHUTDNSTORE0 | Shutdown storage memory (byte 0) | Section 2.6.35 |
1404h | SHUTDNSTORE1 | Shutdown storage memory (byte 1) | Section 2.6.36 |
1408h | SHUTDNSTORE2 | Shutdown storage memory (byte 2) | Section 2.6.37 |
140Ch | SHUTDNSTORE3 | Shutdown storage memory (byte 3) | Section 2.6.38 |
Complex bit access types are encoded to fit into small table cells. Table 2-17 shows the codes that are used for access types in this section.
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
RC | R C | Read to Clear |
Write Type | ||
W | W | Write |
W1C | W 1C | Write 1 to clear |
W1S | W 1S | Write 1 to set |
Reset or Default Value | ||
-n | Value after reset or the default value |
IIDX is shown in Table 2-18.
Return to the Summary Table.
SYSCTL interrupt index
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-2 | RESERVED | R | 0h | |
1-0 | STAT | R | 0h | The SYSCTL interrupt index (IIDX) register generates a value corresponding to the highest priority pending interrupt source. This value may be used as an address offset for fast, deterministic handling in the interrupt service routine. A read of the IIDX register will clear the corresponding interrupt status in the RIS and MIS registers.
0h = No interrupt pending 1h = LFOSCGOOD interrupt pending 2h = BORLVL interrupt pending 3h = ANACLKERR interrupt pending |
IMASK is shown in Table 2-19.
Return to the Summary Table.
SYSCTL interrupt mask
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-3 | RESERVED | R | 0h | |
2 | ANACLKERR | R/W | 0h | Enable or disable the analog clocking consistency error interrupt.
0h = Interrupt disabled 1h = Interrupt enabled |
1 | BORLVL | R/W | 0h | Enable or disable the BORLVL interrupt. BORLVL indicates that a BORLVL violation has occurred. 0h = Interrupt disabled 1h = Interrupt enabled |
0 | LFOSCGOOD | R/W | 0h | Enable or disable the LFOSCGOOD interrupt. LFOSCGOOD indicates that the LFOSC has started successfully.
0h = Interrupt disabled 1h = Interrupt enabled |
RIS is shown in Table 2-20.
Return to the Summary Table.
SYSCTL raw interrupt status
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-3 | RESERVED | R | 0h | |
2 | ANACLKERR | R | 0h | Raw status of the analog clocking consistency error interrupt.
0h = No interrupt pending 1h = Interrupt pending |
1 | BORLVL | R | 0h | Raw status of the BORLVL interrupt.
0h = No interrupt pending 1h = Interrupt pending |
0 | LFOSCGOOD | R | 0h | Raw status of the LFOSCGOOD interrupt.
0h = No interrupt pending 1h = Interrupt pending |
MIS is shown in Table 2-21.
Return to the Summary Table.
SYSCTL masked interrupt status
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-3 | RESERVED | R | 0h | |
2 | ANACLKERR | R | 0h | Masked status of the analog clocking consistency error interrupt.
0h = No interrupt pending 1h = Interrupt pending |
1 | BORLVL | R | 0h | Masked status of the BORLVL interrupt.
0h = No interrupt pending 1h = Interrupt pending |
0 | LFOSCGOOD | R | 0h | Masked status of the LFOSCGOOD interrupt.
0h = No interrupt pending 1h = Interrupt pending |
ISET is shown in Table 2-22.
Return to the Summary Table.
SYSCTL interrupt set
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-3 | RESERVED | R | 0h | |
2 | ANACLKERR | W1S | 0h | Set the analog clocking consistency error interrupt. 0h = Writing 0h has no effect 1h = Set interrupt |
1 | BORLVL | W1S | 0h | Set the BORLVL interrupt. 0h = Writing 0h has no effect 1h = Set interrupt |
0 | LFOSCGOOD | W1S | 0h | Set the LFOSCGOOD interrupt. 0h = Writing 0h has no effect 1h = Set interrupt |
ICLR is shown in Table 2-23.
Return to the Summary Table.
SYSCTL interrupt clear
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-3 | RESERVED | R | 0h | |
2 | ANACLKERR | W1C | 0h | Clear the analog clocking consistency error interrupt.
0h = Writing 0h has no effect 1h = Clear interrupt |
1 | RESERVED | R | 0h | |
0 | LFOSCGOOD | W1C | 0h | Clear the LFOSCGOOD interrupt.
0h = Writing 0h has no effect 1h = Clear interrupt |
NMIIIDX is shown in Table 2-24.
Return to the Summary Table.
NMI interrupt index
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-2 | RESERVED | R | 0h | |
1-0 | STAT | R | 0h | The NMI interrupt index (NMIIIDX) register generates a value corresponding to the highest priority pending NMI source. This value may be used as an address offset for fast, deterministic handling in the NMI service routine. A read of the NMIIIDX register will clear the corresponding interrupt status in the NMIRIS register.
0h = No NMI pending 1h = BOR Threshold NMI pending 2h = 2 |
NMIRIS is shown in Table 2-25.
Return to the Summary Table.
NMI raw interrupt status
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-2 | RESERVED | R | 0h | |
1 | WWDT0 | R | 0h | Watch Dog 0 Fault
0h = 0 1h = 1 |
0 | BORLVL | R | 0h | Raw status of the BORLVL NMI
0h = No interrupt pending 1h = Interrupt pending |
NMIISET is shown in Table 2-26.
Return to the Summary Table.
NMI interrupt set
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-2 | RESERVED | R | 0h | |
1 | WWDT0 | W1S | 0h | Watch Dog 0 Fault
0h = 0 1h = 1 |
0 | BORLVL | W1S | 0h | Set the BORLVL NMI 0h = Writing 0h has no effect 1h = Set interrupt |
NMIICLR is shown in Table 2-27.
Return to the Summary Table.
NMI interrupt clear
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-2 | RESERVED | R | 0h | |
1 | WWDT0 | W1C | 0h | Watch Dog 0 Fault
0h = 0 1h = 1 |
0 | BORLVL | W1C | 0h | Clear the BORLVL NMI 0h = Writing 0h has no effect 1h = Clear interrupt |
SYSOSCCFG is shown in Table 2-28.
Return to the Summary Table.
SYSOSC configuration
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-18 | RESERVED | R | 0h | |
17 | FASTCPUEVENT | R/W | 1h | FASTCPUEVENT may be used to assert a fast clock request when an interrupt is asserted to the CPU, reducing interrupt latency.
0h = An interrupt to the CPU will not assert a fast clock request 1h = An interrupt to the CPU will assert a fast clock request |
16 | BLOCKASYNCALL | R/W | 0h | BLOCKASYNCALL may be used to mask block all asynchronous fast clock requests, preventing hardware from dynamically changing the active clock configuration when operating in a given mode.
0h = Asynchronous fast clock requests are controlled by the requesting peripheral 1h = All asynchronous fast clock requests are blocked |
15-11 | RESERVED | R | 0h | |
10 | DISABLE | R/W | 0h | DISABLE sets the SYSOSC enable/disable policy. SYSOSC may be powered off in RUN, SLEEP, and STOP modes to reduce power consumption. When SYSOSC is disabled, MCLK and ULPCLK are sourced from LFCLK.
0h = Do not disable SYSOSC 1h = Disable SYSOSC immediately and source MCLK and ULPCLK from LFCLK |
9 | DISABLESTOP | R/W | 0h | DISABLESTOP sets the SYSOSC stop mode enable/disable policy. When operating in STOP mode, the SYSOSC may be automatically disabled. When set, ULPCLK will run from LFCLK in STOP mode and SYSOSC will be disabled to reduce power consumption.
0h = Do not disable SYSOSC in STOP mode 1h = Disable SYSOSC in STOP mode and source ULPCLK from LFCLK |
8 | USE4MHZSTOP | R/W | 0h | USE4MHZSTOP sets the SYSOSC stop mode frequency policy. When entering STOP mode, the SYSOSC frequency may be automatically switched to 4MHz to reduce SYSOSC power consumption.
0h = Do not gear shift the SYSOSC to 4MHz in STOP mode 1h = Gear shift SYSOSC to 4MHz in STOP mode |
7-2 | RESERVED | R | 0h | |
1-0 | FREQ | R/W | 0h | Target operating frequency for the system oscillator (SYSOSC)
0h = Base frequency (32MHz) 1h = Low frequency (4MHz) 2h = User-trimmed frequency (16 or 24 MHz) 3h = Reserved |
MCLKCFG is shown in Table 2-29.
Return to the Summary Table.
Main clock (MCLK) configuration
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-23 | RESERVED | R | 0h | |
22 | MCLKDEADCHK | R/W | 0h | MCLKDEADCHK enables or disables the continuous MCLK dead check monitor. LFCLK must be running before MCLKDEADCHK is enabled.
0h = The MCLK dead check monitor is disabled 1h = The MCLK dead check monitor is enabled |
21 | STOPCLKSTBY | R/W | 0h | STOPCLKSTBY sets the STANDBY mode policy (STANDBY0 or STANDBY1). When set, ULPCLK and LFCLK are disabled to all peripherals in STANDBY mode, with the exception of TIMG0 and TIMG1 which continue to run. Wake-up is only possible via an asynchronous fast clock request.
0h = ULPCLK/LFCLK runs to all PD0 peripherals in STANDBY mode 1h = ULPCLK/LFCLK is disabled to all peripherals in STANDBY mode except TIMG0 and TIMG1 |
20 | USELFCLK | R/W | 0h | USELFCLK sets the MCLK source policy. Set USELFCLK to use LFCLK as the MCLK source. Note that setting USELFCLK does not disable SYSOSC, and SYSOSC remains available for direct use by analog modules.
0h = MCLK will not use the low frequency clock (LFCLK) 1h = MCLK will use the low frequency clock (LFCLK) |
19-13 | RESERVED | R | 0h | |
12 | USEMFTICK | R/W | 0h | USEMFTICK specifies whether the 4MHz constant-rate clock (MFCLK) to peripherals is enabled or disabled. When enabled, MDIV must be disabled (set to 0h=/1).
0h = The 4MHz rate MFCLK to peripherals is disabled 1h = The 4MHz rate MFCLK to peripherals is enabled. |
11-8 | FLASHWAIT | R/W | 2h | FLASHWAIT specifies the number of flash wait states when MCLK is sourced from HSCLK. FLASHWAIT has no effect when MCLK is sourced from SYSOSC or LFCLK.
0h = No flash wait states are applied 1h = One flash wait state is applied 2h = 2 flash wait states are applied |
7-4 | RESERVED | R | 0h | |
3-0 | MDIV | R/W | 0h | MDIV may be used to divide the MCLK frequency when MCLK is sourced from SYSOSC. MDIV=0h corresponds to /1 (no divider). MDIV=1h corresponds to /2 (divide-by-2). MDIV=Fh corresponds to /16 (divide-by-16). MDIV may be set between /1 and /16 on an integer basis. |
GENCLKCFG is shown in Table 2-30.
Return to the Summary Table.
General clock configuration
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-29 | RESERVED | R | 0h | |
28-24 | FCCTRIGCNT | R/W | 0h | FCCTRIGCNT specifies the number of trigger clock periods in the trigger window. FCCTRIGCNT=0h (one trigger clock period) up to 1Fh (32 trigger clock periods) may be specified. |
23-22 | ANACPUMPCFG | R/W | 0h | ANACPUMPCFG selects the analog mux charge pump (VBOOST) enable method.
0h = VBOOST is enabled on request from a COMP, GPAMP, or OPA 1h = VBOOST is enabled when the device is in RUN or SLEEP mode, or when a COMP/GPAMP/OPA is enabled 2h = VBOOST is always enabled |
21 | FCCLVLTRIG | R/W | 0h | FCCLVLTRIG selects the frequency clock counter (FCC) trigger mode.
0h = Rising edge to rising edge triggered 1h = Level triggered |
20 | FCCTRIGSRC | R/W | 0h | FCCTRIGSRC selects the frequency clock counter (FCC) trigger source.
0h = FCC trigger is the external pin 1h = FCC trigger is the LFXT/LFCLK_IN mux output |
19-16 | FCCSELCLK | R/W | 0h | FCCSELCLK selects the frequency clock counter (FCC) clock source. 0h = FCC clock is MCLK 1h = FCC clock is SYSOSC 3h = FCC clock is the CLK_OUT selection 7h = FCC clock is the FCCIN external input |
15-8 | RESERVED | R | 0h | |
7 | EXCLKDIVEN | R/W | 0h | EXCLKDIVEN enables or disables the divider function of the CLK_OUT external clock output block. 0h = Clock divider is disabled (passthrough, EXCLKDIVVAL is not applied) 1h = Clock divider is enabled (EXCLKDIVVAL is applied) |
6-4 | EXCLKDIVVAL | R/W | 0h | EXCLKDIVVAL selects the divider value for the divider in the CLK_OUT external clock output block.
0h = CLK_OUT source is divided by 2 1h = CLK_OUT source is divided by 4 2h = CLK_OUT source is divided by 6 3h = CLK_OUT source is divided by 8 4h = CLK_OUT source is divided by 10 5h = CLK_OUT source is divided by 12 6h = CLK_OUT source is divided by 14 7h = CLK_OUT source is divided by 16 |
3 | RESERVED | R | 0h | |
2-0 | EXCLKSRC | R/W | 0h | EXCLKSRC selects the source for the CLK_OUT external clock output block. ULPCLK and MFPCLK require the CLK_OUT divider (EXCLKDIVEN) to be enabled
0h = CLK_OUT is SYSOSC 1h = CLK_OUT is ULPCLK (EXCLKDIVEN must be enabled) 2h = CLK_OUT is LFCLK 3h = CLK_OUT is MFPCLK (EXCLKDIVEN must be enabled) |
GENCLKEN is shown in Table 2-31.
Return to the Summary Table.
General clock enable control
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-5 | RESERVED | R | 0h | |
4 | MFPCLKEN | R/W | 0h | MFPCLKEN enables the middle frequency precision clock (MFPCLK).
0h = MFPCLK is disabled 1h = MFPCLK is enabled |
3-1 | RESERVED | R | 0h | |
0 | EXCLKEN | R/W | 0h | EXCLKEN enables the CLK_OUT external clock output block.
0h = CLK_OUT block is disabled 1h = CLK_OUT block is enabled |
PMODECFG is shown in Table 2-32.
Return to the Summary Table.
Power mode configuration
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | R | 0h | |
5 | SYSSRAMONSTOP | R/W | 0h | SYSSRAMONSTOP selects whether the SRAM controller is enabled or disabled in STOP mode.
0h = SRAM controller is disabled in STOP mode (lower power consumption) 1h = SRAM controller is left enabled in STOP mode (faster wake-up) |
4-2 | RESERVED | R | 0h | |
1-0 | DSLEEP | R/W | 0h | DSLEEP selects the operating mode to enter upon a DEEPSLEEP request from the CPU.
0h = STOP mode is entered 1h = STANDBY mode is entered 2h = SHUTDOWN mode is entered 3h = Reserved |
FCC is shown in Table 2-33.
Return to the Summary Table.
Frequency clock counter (FCC) count
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-22 | RESERVED | R | 0h | |
21-0 | DATA | R | 0h | Frequency clock counter (FCC) count value. |
FLBANKSWAP is shown in Table 2-34.
Return to the Summary Table.
Flash MAIN bank address swap
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | R/W | 0h | The key value of 58h (88) must be written with USEUPPER to change the bank swap configuration.
58h = Issue write |
23-1 | RESERVED | R | 0h | |
0 | USEUPPER | R | 0h | USEUPPER selects the flash MAIN region bank swap configuration. To swap MAIN banks, set USEUPPER while writing the KEY value to the KEY field.
0h = Normal (default) memory map addressing scheme 1h = Flash upper region address space swapped with lower region |
SYSOSCTRIMUSER is shown in Table 2-35.
Return to the Summary Table.
SYSOSC user-specified trim
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-29 | RESERVED | R | 0h | |
28-20 | RDIV | R/W | 0h | RDIV specifies the frequency correction loop (FCL) resistor trim. This value changes with the target frequency. |
19-16 | RESFINE | R/W | 0h | RESFINE specifies the resister fine trim. This value changes with the target frequency. |
15-14 | RESERVED | R | 0h | |
13-8 | RESCOARSE | R/W | 0h | RESCOARSE specifies the resister coarse trim. This value changes with the target frequency. |
7 | RESERVED | R | 0h | |
6-4 | CAP | R/W | 0h | CAP specifies the SYSOSC capacitor trim. This value changes with the target frequency. |
3-2 | RESERVED | R | 0h | |
1-0 | FREQ | R/W | 0h | FREQ specifies the target user-trimmed frequency for SYSOSC.
1h = 16MHz user frequency 2h = 24MHz user frequency 3h = Reserved |
SYSMEMWEPROT is shown in Table 2-36.
Return to the Summary Table.
SRAM write protection configuration
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-8 | RESERVED | R | 0h | |
7-0 | PROT | R/W | 0h | PROT is a bitwise field which specifies the SRAM write protection scheme. The SRAM write protection is enabled on a 1kB boundary basis, with each bit in PORT corresponding to a 1kB region of SRAM. The LSB of PORT corresponding to the lowest 1kB of SRAM, with each subsequent bit corresponding to the next 1kB of SRAM up to a maximum of 32 1kB regions (if present on a device). To protect a 1kB region, set the bit in PROT which corresponds to the region. |
WRITELOCK is shown in Table 2-37.
Return to the Summary Table.
SYSCTL register write lockout
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R | 0h | |
0 | ACTIVE | R/W | 0h | ACTIVE controls whether critical SYSCTL registers are write protected or not.
0h = Allow writes to lockable registers 1h = Disallow writes to lockable registers |
CLKSTATUS is shown in Table 2-38.
Return to the Summary Table.
Clock module (CKM) status
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | ANACLKERR | R | 0h | ANACLKERR is set when the device clock configuration does not support an enabled analog peripheral mode and the analog peripheral may not be functioning as expected.
0h = No analog clock errors detected 1h = Analog clock error detected |
30 | OPAMPCLKERR | R | 0h | OPAMPCLKERR is set when the device clock configuration does not support an enabled OPA mode and the OPA may not be functioning as expected.
0h = No OPA clock generation errors detected 1h = OPA clock generation error detected |
29-26 | RESERVED | R | 0h | |
25 | FCCDONE | R | 0h | FCCDONE indicates when a frequency clock counter capture is complete.
0h = FCC capture is not done 1h = FCC capture is done |
24 | FCLMODE | R | 0h | FCLMODE indicates if the SYSOSC frequency correction loop (FCL) is enabled.
0h = SYSOSC FCL is disabled 1h = SYSOSC FCL is enabled |
23-18 | RESERVED | R | 0h | |
17 | CURMCLKSEL | R | 0h | CURMCLKSEL indicates if MCLK is currently sourced from LFCLK.
0h = MCLK is not sourced from LFCLK 1h = MCLK is sourced from LFCLK |
16-12 | RESERVED | R | 0h | |
11 | LFOSCGOOD | R | 0h | LFOSCGOOD indicates when the LFOSC startup has completed and the LFOSC is ready for use.
0h = LFOSC is not ready 1h = LFOSC is ready |
10-8 | RESERVED | R | 0h | |
7-6 | LFCLKMUX | R | 0h | LFCLKMUX indicates if LFCLK is sourced from the internal LFOSC, the low frequency crystal (LFXT), or the LFCLK_IN digital clock input.
0h = LFCLK is sourced from the internal LFOSC 1h = LFCLK is sourced from the LFXT (crystal) 2h = LFCLK is sourced from LFCLK_IN (external digital clock input) |
5-2 | RESERVED | R | 0h | |
1-0 | SYSOSCFREQ | R | 0h | SYSOSCFREQ indicates the current SYSOSC operating frequency.
0h = SYSOSC is at base frequency (32MHz) 1h = SYSOSC is at low frequency (4MHz) 2h = SYSOSC is at the user-trimmed frequency (16 or 24MHz) 3h = Reserved |
SYSSTATUS is shown in Table 2-39.
Return to the Summary Table.
System status information
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | REBOOTATTEMPTS | R | 0h | REBOOTATTEMPTS indicates the number of boot attempts taken before the user application starts. |
29-15 | RESERVED | R | 0h | |
14 | SHDNIOLOCK | R | 0h | SHDNIOLOCK indicates when IO is locked due to SHUTDOWN
0h = IO IS NOT Locked due to SHUTDOWN 1h = IO IS Locked due to SHUTDOWN |
13 | SWDCFGDIS | R | 0h | SWDCFGDIS indicates when user has disabled the use of SWD Port
0h = SWD Port Enabled 1h = SWD Port Disabled |
12 | EXTRSTPINDIS | R | 0h | EXTRSTPINDIS indicates when user has disabled the use of external reset pin
0h = External Reset Pin Enabled 1h = External Reset Pin Disabled |
11-7 | RESERVED | R | 0h | |
6 | PMUIREFGOOD | R | 0h | PMUIREFGOOD is set by hardware when the PMU current reference is ready.
0h = IREF is not ready 1h = IREF is ready |
5 | ANACPUMPGOOD | R | 0h | ANACPUMPGOOD is set by hardware when the VBOOST analog mux charge pump is ready.
0h = VBOOST is not ready 1h = VBOOST is ready |
4 | BORLVL | R | 0h | BORLVL indicates if a BOR event occurred and the BOR threshold was switched to BOR0 by hardware. 0h = No BOR violation occurred 1h = A BOR violation occurred and the BOR threshold was switched to BOR0 |
3-2 | BORCURTHRESHOLD | R | 0h | BORCURTHRESHOLD indicates the active brown-out reset supply monitor configuration.
0h = Default minimum threshold; a BOR0- violation triggers a BOR 1h = A BOR1- violation generates a BORLVL interrupt 2h = A BOR2- violation generates a BORLVL interrupt 3h = A BOR3- violation generates a BORLVL interrupt |
1 | FLASHSEC | R | 0h | FLASHSEC indicates if a flash ECC single bit error was detected and corrected (SEC).
0h = No flash ECC single bit error detected 1h = Flash ECC single bit error was detected and corrected |
0 | FLASHDED | R | 0h | FLASHDED indicates if a flash ECC double bit error was detected (DED).
0h = No flash ECC double bit error detected 1h = Flash ECC double bit error detected |
RSTCAUSE is shown in Table 2-40.
Return to the Summary Table.
Reset cause
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-5 | RESERVED | R | 0h | |
4-0 | ID | RC | 0h | ID is a read-to-clear field which indicates the lowest level reset cause since the last read.
0h = No reset since last read 1h = POR- violation, SHUTDNSTOREx or PMU trim parity fault 2h = NRST triggered POR (greater than 1s hold) 3h = Software triggered POR 4h = BOR0- violation 5h = SHUTDOWN mode exit 8h = Non-PMU trim parity fault 9h = Fatal clock failure Ch = NRST triggered BOOTRST (less than 1s hold) Dh = Software triggered BOOTRST Eh = WWDT0 violation 10h = BSL exit 11h = BSL entry 13h = WWDT1 violation 14h = Flash uncorrectable ECC error 15h = CPULOCK violation 1Ah = Debug triggered SYSRST 1Bh = Software triggered SYSRST 1Ch = Debug triggered CPURST 1Dh = Software triggered CPURST |
RESETLEVEL is shown in Table 2-41.
Return to the Summary Table.
Reset level for application-triggered reset command
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-3 | RESERVED | R | 0h | |
2-0 | LEVEL | R/W | 0h | LEVEL is used to specify the type of reset to be issued when RESETCMD is set to generate a software triggered reset.
0h = Issue a SYSRST (CPU plus peripherals only) 1h = Issue a BOOTRST (CPU, peripherals, and boot configuration routine) 2h = Issue a SYSRST and enter the boot strap loader (BSL) 3h = Issue a power-on reset (POR) 4h = Issue a SYSRST and exit the boot strap loader (BSL) |
RESETCMD is shown in Table 2-42.
Return to the Summary Table.
Execute an application-triggered reset command
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | W | 0h | The key value of E4h (228) must be written to KEY together with GO to trigger the reset.
E4h = Issue reset |
23-1 | RESERVED | R | 0h | |
0 | GO | W | 0h | Execute the reset specified in RESETLEVEL.LEVEL. Must be written together with the KEY.
1h = Issue reset |
BORTHRESHOLD is shown in Table 2-43.
Return to the Summary Table.
BOR threshold selection
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-2 | RESERVED | R | 0h | |
1-0 | LEVEL | R/W | 0h | LEVEL specifies the desired BOR threshold and BOR mode.
0h = Default minimum threshold; a BOR0- violation triggers a BOR 1h = A BOR1- violation generates a BORLVL interrupt 2h = A BOR2- violation generates a BORLVL interrupt 3h = A BOR3- violation generates a BORLVL interrupt |
BORCLRCMD is shown in Table 2-44.
Return to the Summary Table.
Set the BOR threshold
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | W | 0h | The key value of C7h (199) must be written to KEY together with GO to trigger the clear and BOR threshold change.
C7h = Issue clear |
23-1 | RESERVED | R | 0h | |
0 | GO | W | 0h | GO clears any prior BOR violation status indications and attempts to change the active BOR mode to that specified in the LEVEL field of the BORTHRESHOLD register.
1h = Issue clear |
SYSOSCFCLCTL is shown in Table 2-45.
Return to the Summary Table.
SYSOSC frequency correction loop (FCL) ROSC enable
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | W | 0h | The key value of 2Ah (42) must be written to KEY together with SETUSEFCL to enable the FCL.
2Ah = Issue Command |
23-1 | RESERVED | R | 0h | |
0 | SETUSEFCL | W | 0h | Set SETUSEFCL to enable the frequency correction loop in SYSOSC. An appropriate resistor must be populated on the ROSC pin. Once enabled, this state is locked until the next BOOTRST.
1h = Enable the SYSOSC FCL |
SHDNIOREL is shown in Table 2-46.
Return to the Summary Table.
SHUTDOWN IO release control
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | W | 0h | The key value 91h must be written to KEY together with RELEASE to set RELEASE.
91h = Issue command |
23-1 | RESERVED | R | 0h | |
0 | RELEASE | W | 0h | Set RELEASE to release the IO after a SHUTDOWN mode exit.
1h = Release IO |
EXRSTPIN is shown in Table 2-47.
Return to the Summary Table.
Disable the reset function of the NRST pin
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | W | 0h | The key value 1Eh must be written together with DISABLE to disable the reset function.
1Eh = Issue command |
23-1 | RESERVED | R | 0h | |
0 | DISABLE | W | 0h | Set DISABLE to disable the reset function of the NRST pin. Once set, this configuration is locked until the next POR.
0h = Reset function of NRST pin is enabled 1h = Reset function of NRST pin is disabled |
SYSSTATUSCLR is shown in Table 2-48.
Return to the Summary Table.
Clear sticky bits of SYSSTATUS
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | W | 0h | The key value CEh (206) must be written to KEY together with ALLECC to clear the ECC state.
CEh = Issue command |
23-1 | RESERVED | R | 0h | |
0 | ALLECC | W | 0h | Set ALLECC to clear all ECC related SYSSTATUS indicators.
1h = Clear ECC error state |
SWDCFG is shown in Table 2-49.
Return to the Summary Table.
Disable the SWD function on the SWD pins
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | W | 0h | The key value 62h (98) must be written to KEY together with DISBALE to disable the SWD functions.
62h = Issue command |
23-1 | RESERVED | R | 0h | |
0 | DISABLE | W | 0h | Set DISABLE to disable the SWD function on SWD pins, allowing the SWD pins to be used as GPIO.
1h = Disable SWD function on SWD pins |
FCCCMD is shown in Table 2-50.
Return to the Summary Table.
Frequency clock counter start capture
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | W | 0h | The key value 0Eh (14) must be written with GO to start a capture.
0Eh = Issue command |
23-1 | RESERVED | R | 0h | |
0 | GO | W | 0h | Set GO to start a capture with the frequency clock counter (FCC).
1h = 1 |
PMUOPAMP is shown in Table 2-51.
Return to the Summary Table.
GPAMP control
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-11 | RESERVED | R | 0h | |
10 | CHOPCLKMODE | R/W | 0h | CHOPCLKMODE selects the GPAMP chopping mode.
0h = Chopping disabled 1h = Standard chopping |
9-8 | CHOPCLKFREQ | R/W | 0h | CHOPCLKFREQ selects the GPAMP chopping clock frequency
0h = 16kHz 1h = 8kHz 2h = 4kHz 3h = 2kHz |
7 | RESERVED | R | 0h | |
6 | OUTENABLE | R/W | 0h | Set OUTENABLE to connect the GPAMP output signal to the GPAMP_OUT pin
0h = GPAMP_OUT signal is not connected to the GPAMP_OUT pin 1h = GPAMP_OUT signal is connected to the GPAMP_OUT pin |
5-4 | RRI | R/W | 0h | RRI selects the rail-to-rail input mode.
0h = PMOS input pairs 1h = NMOS input pairs 2h = Rail-to-rail mode 3h = Sample channel 0 |
3-2 | NSEL | R/W | 0h | NSEL selects the GPAMP negative channel input.
0h = GPAMP_OUT pin connected to negative channel 1h = GPAMP_IN- pin connected to negative channel 2h = GPAMP_OUT signal connected to negative channel 3h = No channel selected |
1 | PCHENABLE | R/W | 0h | Set PCHENABLE to enable the positive channel input.
0h = Positive channel disabled 1h = GPAMP_IN+ connected to positive channel |
0 | ENABLE | R/W | 0h | Set ENABLE to turn on the GPAMP.
0h = GPAMP is disabled 1h = GPAMP is enabled |
SHUTDNSTORE0 is shown in Table 2-52.
Return to the Summary Table.
Shutdown storage memory (byte 0)
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-10 | RESERVED | R | 0h | |
9 | PARITYERR | R | 0h | Parity error for SHUTDNSTORE0 |
8 | PARITY | R/W | 0h | Parity for SHUTDNSTORE0 |
7-0 | DATA | R/W | 0h | Shutdown storage byte 0 |
SHUTDNSTORE1 is shown in Table 2-53.
Return to the Summary Table.
Shutdown storage memory (byte 1)
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-10 | RESERVED | R | 0h | |
9 | PARITYERR | R | 0h | Parity error for SHUTDNSTORE1 |
8 | PARITY | R/W | 0h | Parity for SHUTDNSTORE1 |
7-0 | DATA | R/W | 0h | Shutdown storage byte 1 |
SHUTDNSTORE2 is shown in Table 2-54.
Return to the Summary Table.
Shutdown storage memory (byte 2)
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-10 | RESERVED | R | 0h | |
9 | PARITYERR | R | 0h | Parity error for SHUTDNSTORE2 |
8 | PARITY | R/W | 0h | Parity for SHUTDNSTORE2 |
7-0 | DATA | R/W | 0h | Shutdown storage byte 2 |
SHUTDNSTORE3 is shown in Table 2-55.
Return to the Summary Table.
Shutdown storage memory (byte 3)
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-10 | RESERVED | R | 0h | |
9 | PARITYERR | R | 0h | Parity error for SHUTDNSTORE3 |
8 | PARITY | R/W | 0h | Parity for SHUTDNSTORE3 |
7-0 | DATA | R/W | 0h | Shutdown storage byte 3 |