SDAA473
November 2026
MSPM33C321A
,
MSPM33C321A-Q1
1
Abstract
Trademarks
1
Introduction
1.1
Security Concept
1.2
Key Concepts
2
TrustZone Architecture
2.1
MSPM33 Family Overview
2.2
TrustZone Feature
2.2.1
Security States – Secure, Non-secure, Non-secure Callable
2.2.2
First Security Attribute Define – SAU and IDAU
2.2.3
Second Security Attribute Define – Global Security Controller
2.2.4
Security Attribute with TrustZone® and GSC
2.2.5
Secure and Non-secure Debug Authentication
2.3
TrustZone® Software Development
3
Develop TrustZone Based Application
3.1
Device Configuration
3.1.1
NONMAIN FLASH
3.1.1.1
Security and Privilege Configuration on FLASH
3.1.1.2
Other Configurations in NONMAIN FLASH
3.1.1.3
Configure NONMAIN FLASH in the Sysconfig
3.2
Develop Secure Application
3.2.1
Project Dependency
3.2.1.1
Structure of Secure Application Example
3.2.2
SAU and IDAU Configuration
3.2.2.1
Configure SAU in the Project
3.2.3
Global Security Controller Configuration
3.2.3.1
Configure GSC in the Sysconfig
3.2.3.2
Other Configurations in GSC
3.2.4
Defining Functions as Secure and Non-Secure
3.2.4.1
Define Non Secure Callable function in the Project
3.2.5
Code Implementation on Secure Application
3.2.5.1
Configure .cmd file to assign memory
3.2.5.2
Secure Application
3.2.5.3
Secure Interrupt and Non-secure Interrupt
3.2.5.4
Branch to Non-secure Application
3.3
Develop Non-Secure Application
3.3.1
Project Dependency
3.3.1.1
Structure of Non-secure Application Example
3.3.2
Code Implementation on Non-secure Application
3.3.2.1
Configure .cmd file to assign memory
3.3.2.2
Non-secure Application and NSC Function Call
4
Evaluate TrustZone Based Application
4.1
Environment Setup
4.2
Load Secure and Non-secure Images Together
4.2.1
Step 1: Build the Non-Secure Application
4.2.2
Step 2: Programming the full.txt File
4.3
Load Secure and Non-secure Images separately
4.3.1
Step 1: Build the Non-Secure Application
4.3.2
Step 2: Programming the Non-Secure Application
4.3.3
Step 3: Build the Secure Application
4.3.4
Step 4: Programming the Secure Application
4.4
Debug and Evaluate the Example
4.4.1
Add Symbols in the Debug
4.4.2
Observe Results with Free Run
4.4.3
Add Breakpoints to Observe the Process
5
FAQ
5.1
How to Modify the Range of S/NS SRAM
5.2
How to Modify the Range of S/NS FLASH
5.3
How to Modify the Security Attribute on Peripherals
6
Summary
7
References
Application Note
Enable TrustZone® for Secure Application in MSPM33 MCUs