SLUUDG7 December 2025 MSPM33C321A
Both the GSC and SAU have capabilities to attribute regions of memory with security. One major difference between the two is the GSC will generate a secure NMI while the SAU generates a secure fault. A secure NMI is handled through the error aggregation module (EAM) which allows the programmer to see specific details about the error. Such as which peripheral caused the error and address the error occurred. The GSC also isn't limited to 8 regions instead the flash, SRAM, and Peripheral have their own granularity for security attributes. For more specifics please see MSPM33C3-Series 160MHz Microcontrollers Technical Reference Manual.
For understanding which error occurs when using the GSC and SAU to attribute regions of memory as secure or non-secure please see table Table 2-2. An image showing this can also be seen in Security exceptions with the GSC and SAU
| Processor State | SAU + IDAU Security Attribution | GSC Security Attribution | Resulting Interrupt | Access violation |
|---|---|---|---|---|
| Secure | Secure | Secure | None | None |
| Non-secure | Secure | Secure | Security Fault | Yes blocked by CPU |
| Secure | Secure | Non-secure | None | None |
| Non-secure | Secure | Non-secure | Security Fault | Yes blocked by CPU |
| Secure | Non-secure | Secure | None | None |
| Non-secure | Non-secure | Secure | Security NMI | Yes blocked by GSC |
| Secure | Non-secure | Non-secure | None | None |
| Non-secure | Non-secure | Non-secure | None | None |