NMPU Registers
473
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
System Memory Protection Unit (NMPU)
11.4.3 MPU Diagnostics Control Register (MPUDIAGCTRL)
Figure 11-6. MPU Diagnostics Control Register (MPUDIAGCTRL) [offset = 08h]
31
24
Reserved
R-0
23
19
18
17
16
Reserved
U_P
R_W
INT_EXT
R-0
R/WP-0
R/WP-0
R/WP-0
15
8
7
4
3
0
Reserved
DIAGKEY
Reserved
R-0
R/WP-5h
R-0
LEGEND: R/W = Read/Write; R = Read only; WP = Write in privileged mode only; -
n
= value after reset
Table 11-6. MPU Diagnostics Control Register (MPUDIAGCTRL) Field Descriptions
Bit
Field
Value
Description
31-19
Reserved
0
Reserved. Reads return 0.
18
U_P
User/Privilege transaction in internal diagnostic mode. This field is used only in internal
diagnostic mode.
Read:
Returns the current value of U_P.
Write in Privilege:
0
For access permission checks, treat the transaction as user mode access.
1
For access permission checks, treat the transaction as privilege mode access.
17
R_W
Read/Write transaction in internal diagnostic mode. This field is used only in internal diagnostic
mode.
Read:
Returns the current value of R_W.
Write in Privilege:
0
For access permission checks, treat the transaction as read.
1
For access permission checks, treat the transaction as write.
16
INT_EXT
Internal/External diagnostic mode.
Read:
Returns the current value of INT_EXT.
Write in Privilege:
0
Enable internal diagnostic mode.
1
Enable external diagnostic mode.
15-8
Reserved
0
Reserved. Reads return 0.
7-4
DIAGKEY
Diagnostics mode key. This is the key for enabling diagnostics mode. All other diagnostic
configuration fields must be programmed before enabling this key. Diagnostic mode is entered
by writing Ah to this key. Entering or exiting the diagnostic mode automatically clears the
MPUERRSTAT and MPUERRADDR registers. This field is updated only if the write data is 5h
or Ah. Register writes are ignored for all other values of write data.
A built-in correction logic detects single bit soft error on this field and corrects the value in the
next cycle. Functionality and register read data remain the same during the correction cycle.
Read:
Returns the current value of DIAGKEY.
Write in Privilege:
5h
Diagnostics mode is disabled.
Ah
Diagnostics mode is enabled.
All other values
Reserved. The bits remain unchanged.
3-0
Reserved
0
Reserved. Reads return 0.