How can repeated unprivileged SW writes to SWTRIG REG52 (page 163) not cause NMI exceptions when ever CFGCTRL (REG60) MAINPEND bit (page 175) has never being set?
Seems reasonable after reading datasheet several times the only way to enable privileged mode for SW is by enabling the MPU for the default memory map (Table2-4). Even though MPU is never being configured in any Tivaware example that ever used SWTRIG REG52, should be causing NMI exception BUSFAULT according to the datasheet. So how or where is MAINPEND being set that allows privileged writes to other registers that require an UNLOCK KEY to make aligned writes, such as REG58 and others do require a key? Seemingly it should require an UNLOCK KEY to access SWTRIG if the MAINPEND bit is never set first by SW writes to SWTRIG?
Of particular interest in blue:
3.4 NVIC Register Descriptions
This section lists and describes the NVIC registers, in numerical order by address offset.
The NVIC registers can only be fully accessed from privileged mode, but interrupts can be pended
while in unprivileged mode by enabling the Configuration and Control (CFGCTRL) register. Any
other unprivileged mode access causes a bus fault.
Ensure software uses correctly aligned register accesses. The processor does not support unaligned
accesses to NVIC registers.
An interrupt can enter the pending state even if it is disabled.
Before programming the VTABLE register to relocate the vector table, ensure the vector table
entries of the new vector table are set up for fault handlers, NMI, and all enabled exceptions such
as interrupts. For more information, see page 170.

