SLAU962A
December 2025 – June 2026
MSPM33C321A
,
MSPM33C321A-Q1
1
Read This First
About This Manual
Notational Conventions
Glossary
Related Documentation
Support Resources
Trademarks
1
Architecture
1.1
Architecture Overview
1.2
Bus Organization
1.3
Platform Memory Map
1.3.1
Code Region
1.3.2
SRAM Region
1.3.3
Peripheral Region
1.3.4
System PPB Region
1.4
Boot Configuration
1.4.1
Configuration Memory
1.4.2
NON_MAIN_Configuration Registers
1.5
Factory Constants
1.5.1
FACTORYREGION Registers
1.6
Memory configuration
1.6.1
memcfg Registers
2
PMCU
2.1
PMCU Overview
2.1.1
Power Domains
2.1.2
Operating Modes
2.1.2.1
RUN Mode
2.1.2.2
SLEEP Mode
2.1.2.3
STOP Mode
2.1.2.4
STANDBY Mode
2.1.2.5
SHUTDOWN Mode
2.1.2.6
Suspended Low-Power Mode Operation
2.2
Power Management (PMU)
2.2.1
Power Supply
2.2.2
Core Regulator
2.2.3
Supply Supervisors
2.2.3.1
Power-on Reset (POR)
2.2.3.2
Brownout Reset (BOR)
2.2.3.3
POR and BOR Behavior During Supply Changes
2.2.4
Bandgap Reference
2.2.5
VBOOST for Analog Muxes
2.2.6
Peripheral Enable
2.2.6.1
Automatic Peripheral Disable in Low Power Modes
2.3
Clock Module (CKM)
2.3.1
Oscillators
2.3.1.1
Internal Low-Frequency Oscillator (LFOSC)
2.3.1.2
Internal System Oscillator (SYSOSC)
2.3.1.2.1
SYSOSC Gear Shift
2.3.1.2.2
SYSOSC Frequency and User Trims
2.3.1.2.3
SYSOSC Frequency Correction Loop
2.3.1.2.3.1
SYSOSC FCL in Internal Resistor Mode
2.3.1.3
System Phase-Locked Loop (SYSPLL)
2.3.1.3.1
Configuring SYSPLL Output Frequencies
2.3.1.3.2
Loading SYSPLL Lookup Parameters
2.3.1.3.3
SYSPLL Startup Time
2.3.1.4
Low Frequency Crystal Oscillator (LFXT)
2.3.1.5
LFCLK_IN (Digital Clock)
2.3.1.6
High Frequency Crystal Oscillator (HFXT)
2.3.1.7
HFCLK_IN (Digital clock)
2.3.2
Clocks
2.3.2.1
MCLK (Main Clock) Tree
2.3.2.2
MCLK/2 (Half Clock)
2.3.2.3
MCLK/4 (Quarter Clock)
2.3.2.4
CPUCLK (Processor Clock)
2.3.2.5
ULPCLK (Low-Power Clock)
2.3.2.6
MFCLK (Middle Frequency Clock)
2.3.2.7
LFCLK (Low-Frequency Clock)
2.3.2.8
HFCLK (High-Frequency External Clock)
2.3.2.9
CANCLK (CAN-FD Functional Clock)
2.3.2.10
I2SCLK (I2S Functional Clock)
2.3.2.11
RTCCLK (RTC Clock)
2.3.2.12
External Clock Output (CLK_OUT)
2.3.2.13
Direct Clock Connections for Infrastructure
2.3.3
Clock Tree
2.3.3.1
Peripheral Clock Source Selection
2.4
Clock Monitors
2.4.1
LFCLK Monitor
2.4.2
MCLK Monitor
2.4.3
Startup Monitors
2.4.3.1
LFOSC Startup Monitor
2.4.3.2
LFXT Startup Monitor
2.4.3.3
HFCLK Startup Monitor
2.4.3.4
SYSPLL Startup Monitor
2.4.3.5
HSCLK Status
2.5
Frequency Clock Counter (FCC)
2.5.1
Using the FCC
2.5.2
FCC Frequency Computation and Accuracy
2.6
System Controller (SYSCTL)
2.6.1
Resets and Device Initialization
2.6.1.1
Reset Levels
2.6.1.1.1
Power-on Reset (POR) Reset Level
2.6.1.1.2
Brownout Reset (BOR) Reset Level
2.6.1.1.3
Boot Reset (BOOTRST) Reset Level
2.6.1.1.4
System Reset (SYSRST) Reset Level
2.6.1.1.5
CPU-only Reset (CPURST) Reset Level
2.6.1.2
Initial Conditions After Power-Up
2.6.1.3
NRST Pin
2.6.1.4
SWD Pins
2.6.1.5
Generating Resets in Software
2.6.1.6
Reset Cause
2.6.1.7
Peripheral Reset Control
2.6.1.8
Boot Fail Handling
2.6.2
Operating Mode Selection
2.6.3
Asynchronous Fast Clock Requests
2.6.4
Flash Bank Address Swap
2.6.5
Shutdown Mode Handling (if present)
2.6.6
Configuration Lockout
2.6.7
System Status
2.6.8
Error Handling
2.6.9
SYSCTL Events
2.6.9.1
CPU Interrupt Event (CPU_INT)
2.6.9.2
Nonmaskable Interrupt Event (NMI)
2.7
Quick Start Reference
2.7.1
Default Device Configuration
2.7.2
Leveraging MFCLK
2.7.3
Optimizing Power Consumption in STOP Mode
2.7.4
Optimizing Power Consumption in STANDBY Mode
2.7.5
Increasing MCLK and ULPCLK Precision
2.7.6
Configuring MCLK for Maximum Speed
2.7.7
High Speed Clock (SYSPLL, HFCLK) Handling in Low-Power Modes
2.7.8
Optimizing for Lowest Wakeup Latency
2.8
SYSCTL Registers
3
CPU
3.1
Overview
3.2
CPU
3.2.1
Arm Cortex-M33 CPU
3.2.2
CPU Register File
3.2.3
Stack Behavior
3.2.4
Execution Modes and Privilege Levels
3.2.5
Address Space and Supported Data Sizes
3.2.6
Secure memory partitioning
3.3
Interrupts and Exceptions
3.3.1
Peripheral Interrupts (IRQs)
3.3.1.1
Nested Vectored Interrupt Controller (NVIC)
3.3.1.2
Wake Up Controller (WUC)
3.3.2
Interrupt and Exception Table
3.3.3
Processor Lockup Scenario
3.4
CPU Peripherals
3.4.1
System Control Block (SCB)
3.4.2
System Tick Timer (SysTick)
3.4.3
Memory Protection Unit (MPU)
3.4.4
Security Attribute Unit
3.4.5
Implementation Defined Attribution Unit (IDAU)
3.4.6
Floating Point Unit (FPU)
3.4.7
Digital Signal Processing Extension
3.5
Read-Only Memory (ROM)
4
Secure ROM
4.1
ROM Overview
4.2
Memory Map
4.3
Boot Configuration Routine (BCR)
4.3.1
SWD Mass Erase and Factory Reset Commands
4.3.2
Application HASH Verification
4.3.3
Fast Boot
4.4
Bootstrap Loader (BSL)
4.4.1
Application Version
4.4.2
GPIO Invoke
4.4.3
BSL Triggered Mass Erase and Factory Reset
4.5
Lifecycle Management
4.5.1
Device Sub-Type
4.5.2
Lifecycle Transitions
4.6
Boot and Startup Sequence
4.6.1
Secure Boot
4.6.2
Customer Secure Code (CSC)
5
NVM (Flash)
5.1
NVM Overview
5.1.1
Key Features
5.1.2
System Components
5.1.3
Terminology
5.2
Flash Memory Bank Organization
5.2.1
Banks
5.2.2
Flash Memory Regions
5.2.3
Addressing
5.2.3.1
Flash Memory Map
5.3
Flash Controller
5.3.1
Overview of Flash Controller Commands
5.3.2
NOOP Command
5.3.3
PROGRAM Command
5.3.3.1
Program Bit Masking Behavior
5.3.3.2
Programming Less Than One Flash Word
5.3.3.3
Target Data Alignment (Devices with Single Flash Word Programming Only)
5.3.3.4
Target Data Alignment (Devices With Multiword Programming)
5.3.3.5
Executing a PROGRAM Operation
5.3.4
ERASE Command
5.3.4.1
Erase Sector Masking Behavior
5.3.4.2
Executing an ERASE Operation
5.3.5
READVERIFY Command
5.3.5.1
Executing a READVERIFY Operation
5.3.6
Command Diagnostics
5.3.6.1
Command Status
5.3.6.2
Address Translation
5.3.6.3
Pulse Counts
5.3.7
Overriding the System Address With a Bank ID, Region ID, and Bank Address
5.4
Flash Programming Interface
5.4.1
Flash Resource Ownership Check
5.4.2
Authorization Check
5.4.3
FPI SEC Error Handling
5.4.4
Bank Erase Protection
5.5
Flash Read Interface
5.5.1
Bank Address Swapping
5.5.2
ECC Error Handling
5.5.2.1
Single bit (correctable) errors
5.5.2.2
Dual bit (uncorrectable) errors
5.5.3
GSC SEC Error Handling
5.6
FLASHCTL Registers
5.7
FRI Registers
6
EAM
6.1
EAM Introduction
6.2
EAM Operation
6.2.1
Security Error Aggregator
6.2.2
Safety Error Aggregator
6.3
EAM Registers
7
Direct Memory Access (DMA)
7.1
DMA Overview
7.2
DMA Operation
7.2.1
Addressing Modes
7.2.2
Channel Types
7.2.3
Transfer Modes
7.2.3.1
Single Transfer
7.2.3.2
Block Transfer
7.2.3.3
Repeated Single Transfer
7.2.3.4
Repeated Block Transfer
7.2.3.5
Stride Mode
7.2.4
Extended Modes
7.2.4.1
Fill Mode
7.2.4.2
Table Mode
7.2.5
Initiating DMA Transfers
7.2.6
Stopping DMA Transfers
7.2.7
Channel Priorities
7.2.8
Burst Block Mode
7.2.9
Using DMA with System Interrupts
7.2.10
DMA Controller Interrupts
7.2.11
DMA Trigger Event Status
7.2.12
DMA Operating Mode Support
7.2.12.1
Transfer in RUN Mode
7.2.12.2
Transfer in SLEEP Mode
7.2.13
DMA Address and Data Errors
7.2.14
Interrupt and Event Support
7.3
DMA Registers
8
Events
8.1
Events Overview
8.1.1
Event Publisher
8.1.2
Event Subscriber
8.1.3
Event Fabric Routing
8.1.3.1
CPU Interrupt Event Route (CPU_INT)
8.1.3.2
DMA Trigger Event Route (DMA_TRIGx)
8.1.3.3
Generic Event Route (GEN_EVENTx)
8.1.4
Event Routing Map
8.1.5
Event Propagation Latency
8.2
Events Operation
8.2.1
CPU Interrupt
8.2.2
DMA Trigger
8.2.3
Peripheral to Peripheral Event
8.2.4
Extended Module Description Register
8.2.5
Using Event Registers
8.2.5.1
Event Registers
8.2.5.2
Configuring Events
8.2.5.3
Responding to CPU Interrupts in Application Software
8.2.5.4
Hardware Event Handling
9
IOMUX
9.1
IOMUX Overview
9.1.1
IO Types and Analog Sharing
9.2
IOMUX Operation
9.2.1
Peripheral Function (PF) Assignment
9.2.2
Logic High to Hi-Z Conversion
9.2.3
Logic Inversion
9.2.4
SHUTDOWN Mode Wakeup Logic
9.2.5
Pullup/Pulldown Resistors
9.2.6
Drive Strength Control
9.2.7
Hysteresis and Logic Level Control
9.3
IOMUX Registers
10
General-Purpose Input/Output (GPIO)
10.1
GPIO Overview
10.2
GPIO Operation
10.2.1
GPIO Ports
10.2.2
GPIO Read/Write Interface
10.2.3
GPIO Input Glitch Filtering and Synchronization
10.2.4
GPIO Fast Wake
10.2.5
Event Publishers and Subscribers
10.3
GPIO Registers
11
Global Security Controller
11.1
GSC Introduction
11.1.1
GSC Features
11.2
GSC Operation
11.2.1
Functional Block Diagram
11.2.2
Peripheral Protection Controller
11.2.2.1
DMA controller security
11.2.3
SRAM Protection Controller
11.2.3.1
SRAM Page Use Model
11.2.4
Flash Protection Controller
11.2.4.1
Flash Bank Security Implementation
11.2.4.2
Flash Hide Protection
11.2.5
Strict Secure and Privilege Context Protection
11.2.6
GSC Configuration Lock
11.3
GSC Registers
12
PKA
12.1
PKA Introduction
12.1.1
PKA features
12.2
PKA Operation
12.2.1
Functional Block Diagram
12.2.2
Theory of Operations
12.2.2.1
PKCP
12.2.2.2
Sequencer
12.2.3
Complex Commands
12.2.4
Command Execution and Status
12.2.5
Initialization
12.2.6
Interrupts support
12.2.6.1
Interrupt Sources
12.3
PKA Registers
13
AESADV
13.1
AES Overview
13.1.1
AESADV Performance
13.2
AESADV Operation
13.2.1
Loading the Key
13.2.2
Writing Input Data
13.2.3
Reading Output Data
13.2.4
Operation Descriptions
13.2.4.1
Single Block Operation
13.2.4.2
Electronic Codebook (ECB) Mode
13.2.4.2.1
ECB Encryption
13.2.4.2.2
ECB Decryption
13.2.4.3
Cipher Block Chaining (CBC) Mode
13.2.4.3.1
CBC Encryption
13.2.4.3.2
CBC Decryption
13.2.4.4
Output Feedback (OFB) Mode
13.2.4.4.1
OFB Encryption
13.2.4.4.2
OFB Decryption
13.2.4.5
Cipher Feedback (CFB) Mode
13.2.4.5.1
CFB Encryption
13.2.4.5.2
CFB Decryption
13.2.4.6
Counter (CTR) Mode
13.2.4.6.1
CTR Encryption
13.2.4.6.2
CTR Decryption
13.2.4.7
Galois Counter (GCM) Mode
13.2.4.7.1
GHASH Operation
13.2.4.7.2
GCM Operating Modes
13.2.4.7.2.1
Autonomous GCM Operation
13.2.4.7.2.1.1
GMAC
13.2.4.7.2.2
GCM With Pre-Calculations
13.2.4.7.2.3
GCM Operation With Precalculated H- and Y0-Encrypted Forced to Zero
13.2.4.8
Counter With Cipher Block Chaining Message Authentication Code (CCM)
13.2.4.8.1
CCM Operation
13.2.5
AES Events
13.2.5.1
CPU Interrupt Event Publisher (CPU_EVENT)
13.2.5.2
DMA Trigger Event Publisher (DMA_TRIG_DATAIN)
13.2.5.3
DMA Trigger Event Publisher (DMA_TRIG_DATAOUT)
13.3
AESADV Registers
14
SHA2
14.1
SHA Introduction
14.1.1
SHA features
14.2
SHA Operation
14.2.1
Functional Block Diagram
14.2.2
HMAC Controller
14.2.3
HASH/HMAC Engine
14.2.3.1
HMAC processing with MAC Key Input
14.2.3.2
HMAC processing with digest
14.2.3.3
HMAC processing with reload digest
14.3
SHA Auto-Feed Mode
14.4
SHA Registers
15
CRC
15.1
CRC Overview
15.1.1
CRC16-CCITT
15.1.2
CRC32-ISO3309
15.2
CRC Operation
15.2.1
CRC Generator Implementation
15.2.2
Configuration
15.2.2.1
Polynomial Selection
15.2.2.2
Bit Order
15.2.2.3
Byte Swap
15.2.2.4
Byte Order
15.2.2.5
CRC C Library Compatibility
15.3
CRCP0 Registers
16
Keystore
16.1
Overview
16.2
Detailed Description
16.3
KEYSTORECTL Registers
17
TRNG
17.1
TRNG Overview
17.2
TRNG Operation
17.2.1
TRNG Generation Data Path
17.2.2
Clock Configuration and Output Rate
17.2.3
Behavior in Low Power Modes
17.2.4
Health Tests
17.2.4.1
Digital Block Startup Self-Test
17.2.4.2
Analog Block Startup Self-Test
17.2.4.3
Runtime Health Test
17.2.4.3.1
Repetition Count Test
17.2.4.3.2
Adaptive Proportion Test
17.2.4.3.3
Handling Runtime Health Test Failures
17.2.5
Configuration
17.2.5.1
TRNG State Machine
17.2.5.1.1
Changing TRNG States
17.2.5.2
Using the TRNG
17.2.5.3
TRNG Events
17.2.5.3.1
CPU Interrupt Event Publisher (CPU_INT)
17.3
TRNG Registers
18
HSADC
18.1
Introduction
18.1.1
Features
18.1.2
Block Diagram
18.2
HSADC Operation
18.2.1
ADC Configurability
18.2.1.1
ADC Clock Configuration
18.2.1.2
Voltage Reference
18.2.1.3
Signal Mode
18.2.1.3.1
Expected Conversion Results
18.2.1.3.2
Interpreting Conversion Results
18.2.2
SOC Principle of Operation
18.2.2.1
HSADC Sequencer Operation
18.2.2.2
SOC Configuration
18.2.2.3
Trigger Operation
18.2.2.4
ADC Acquisition (Sample and Hold) Window
18.2.2.5
Sample Capacitor Reset
18.2.2.6
ADC Input Models
18.2.2.7
Channel Selection
18.2.3
EOC and Interrupt Operation
18.2.3.1
Interrupt Overflow
18.2.3.2
Continue to Interrupt Mode
18.2.3.3
Early Interrupt Configuration Mode
18.2.4
Post-Processing Blocks
18.2.4.1
PPB Limit Detection
18.2.4.2
PPB Oversampling
18.2.4.2.1
Accumulation and Average Functions
18.2.5
ADC Results
18.2.5.1
FIFO Operation
18.2.6
Power-Up Sequence
18.2.7
ADC Timings
18.2.7.1
ADC Timing Diagrams
18.3
ADC_LITE_REGS Registers
18.4
ADC_LITE_RESULT_REGS Registers
19
VREF
19.1
VREF Overview
19.2
VREF Operation
19.2.1
Internal Reference Generation
19.2.2
External Reference Input
19.2.3
Analog Peripheral Interface
19.2.4
Sample and Hold Mode
19.3
VREF Registers
20
COMP
20.1
Comparator Overview
20.2
Comparator Operation
20.2.1
Comparator Configuration
20.2.2
Comparator Channels Selection
20.2.3
Comparator Output
20.2.4
Output Filter
20.2.5
Sampled Output Mode
20.2.6
Blanking Mode
20.2.7
Reference Voltage Generator
20.2.8
Comparator Hysteresis
20.2.9
Input SHORT Switch
20.2.10
Analog Comparison Feature
20.2.11
Interrupt and Events Support
20.2.11.1
CPU Interrupt Event Publisher (CPU_INT)
20.2.11.2
Generic Event Publisher (GEN_EVENT)
20.2.11.3
Generic Event Subscribers
20.3
COMP Registers
21
UNICOMM
21.1
Overview
21.1.1
Block Diagram
21.2
Unicomm Architecture
21.2.1
Serial Peripheral Group (SPG) Configurations
21.2.1.1
I2C Pairings
21.2.2
Enables & Resets
21.3
High-Level Initialization
21.4
UNICOMM/SPGSS Registers
21.4.1
UNICOMM Registers
21.4.1.1
UNICOMM Registers
21.4.2
SPG Registers
21.4.2.1
SPGSS Registers
22
UNICOMM UART
22.1
UART Overview
22.1.1
Purpose of the Peripheral
22.1.2
Features
22.1.3
Functional Block Diagram
22.2
UART Operation
22.2.1
Clock Control
22.2.2
General Architecture and Protocol
22.2.2.1
Signal Descriptions
22.2.2.2
Transmit and Receive Logic
22.2.2.3
Bit Sampling
22.2.2.4
Baud Rate Generation
22.2.2.5
Data Transmission
22.2.2.6
Error and Status
22.2.2.7
DMA Operation
22.2.2.8
Internal Loopback Operation
22.2.3
Additional Protocol and Feature Support
22.2.3.1
Local Interconnect Network (LIN) Support
22.2.3.1.1
LIN Commander Transmit
22.2.3.1.2
LIN Responder Receive
22.2.3.1.3
LIN Responder Transmission Delay
22.2.3.2
Flow Control
22.2.3.3
RS485 Support
22.2.3.4
FIFO Operation
22.2.3.5
Idle-Line Multiprocessor
22.2.3.6
9-Bit UART Mode
22.2.3.7
DALI Protocol
22.2.3.8
Manchester Encoding and Decoding
22.2.3.9
IrDA Encoding and Decoding
22.2.3.10
ISO7816 Smart Card Support
22.2.3.11
Address Detection
22.2.3.12
Glitch Suppression
22.2.4
Low Power Operation
22.2.5
Reset Considerations
22.2.6
UART Initialization
22.2.7
Interrupt and Events Support
22.2.7.1
CPU Interrupt Event Publisher (CPU_INT)
22.2.7.2
DMA Trigger Publisher (DMA_TRIG_RX, DMA_TRIG_TX)
22.2.8
Emulation Modes
22.3
UNICOMMUART Registers
23
UNICOMM-I2C
23.1
UNICOMM-I2C Overview
23.1.1
Purpose of the Peripheral
23.1.2
Features
23.1.3
Functional Block Diagram
23.1.4
Environment and External Connections
23.2
UNICOMM Common Infrastructure
23.3
Peripheral Functional Description
23.3.1
Clock Control
23.3.1.1
Clock Select and I2C Speed
23.3.1.2
Clock Startup
23.3.2
Signal Descriptions
23.3.3
General Architecture
23.3.3.1
I2C Bus Functional Overview
23.3.3.2
START and STOP Conditions
23.3.3.3
Dual Address
23.3.3.4
Address Format
23.3.3.4.1
Data Format with 7-Bit Address
23.3.3.4.2
Data Format with 10-Bit Address
23.3.3.5
Acknowledge
23.3.3.6
Repeated Start
23.3.3.7
Clock Stretching
23.3.3.8
Clock Low Timeout
23.3.3.9
Burst Mode
23.3.3.10
Arbitration
23.3.3.11
Multiple Controller Mode
23.3.3.12
Glitch Suppression
23.3.3.13
DMA Operation
23.3.3.14
FIFO Operation
23.3.3.14.1
FIFO Status Flags
23.3.3.14.2
FIFO Levels
23.3.3.14.3
Clearing FIFO Contents
23.3.3.15
Suspend Communication
23.3.3.16
Low Power Operation
23.3.3.17
SMBUS 3.0 Support
23.3.3.17.1
Quick Command
23.3.3.17.2
SMBUS Enhanced Acknowledge Control
23.3.3.17.3
Clock Low Timeout Detection
23.3.3.17.4
Clock High Timeout Detection
23.3.3.17.5
Cumulative Clock Low Extended Timeout
23.3.3.17.6
Packet Error Checking (PEC)
23.3.3.17.7
Host Notify Protocol
23.3.3.17.8
Alert Response Protocol
23.3.3.17.9
Address Resolution Protocol
23.3.4
Protocol Descriptions & Initialization
23.3.4.1
I2C Controller Mode
23.3.4.1.1
I2C Controller Initialization
23.3.4.1.2
I2C Controller Status
23.3.4.1.3
I2C Controller Receive Mode
23.3.4.1.4
I2C Controller Transmitter Mode
23.3.4.1.5
Controller Transaction Configurations
23.3.4.2
I2C Target Mode
23.3.4.2.1
I2C Target Initialization
23.3.4.2.2
I2C Target Status
23.3.4.2.3
I2C Target Receiver Mode
23.3.4.2.4
I2C Target Transmitter Mode
23.3.5
Reset Considerations
23.3.6
Initialization
23.3.7
Interrupt and Events Support
23.3.7.1
CPU Interrupt Event Publisher (CPU_INT)
23.3.7.2
DMA Trigger Publisher (DMA_TRIG_RX, DMA_TRIG_TX)
23.3.8
Emulation Modes
23.4
UNICOMM I2C Registers
23.4.1
UNICOMMI2CC Registers
23.4.2
UNICOMMI2CT Registers
24
UNICOMM-SPI
24.1
UNICOMM-SPI Overview
24.1.1
Purpose of the Peripheral
24.1.2
Features
24.1.3
Functional Block Diagram
24.1.4
External Connections and Signal Descriptions
24.2
SPI Operation
24.2.1
Clock Frequency Support
24.2.1.1
SPI Clock Generation
24.2.2
General Architecture
24.2.2.1
Chip Select and Command Handling
24.2.2.1.1
Chip Select Control
24.2.2.2
Command Data Control
24.2.2.3
Data Format
24.2.2.4
Delayed data sampling
24.2.2.5
DMA Operation
24.2.3
FIFO Operation
24.2.3.1
FIFO Size
24.2.3.2
FIFO Status bits
24.2.3.2.1
RIS.RX based on FIFO threshold settings
24.2.3.2.2
RIS.TX based on FIFO threshold settings
24.2.3.3
Clearing FIFO contents
24.2.3.4
Hardware monitors empty, full and overflow conditions
24.2.4
Suspend communication
24.2.4.1
SPI IDLE State Requirements
24.2.5
Internal Loopback Operation
24.2.6
Repeat Transfer mode
24.2.7
Receive Timeout
24.2.8
Line Timeout
24.2.9
Protocol Descriptions
24.2.9.1
Motorola SPI Frame Format
24.2.9.2
Texas Instruments Synchronous Serial Frame Format
24.2.10
Status Flags
24.2.11
Module configuration
24.2.12
Reset Considerations
24.2.13
Initialization
24.2.14
Interrupt and Events Support
24.2.14.1
CPU Interrupt Event Publisher (CPU_INT)
24.2.14.2
DMA Trigger Publisher (DMA_TRIG_RX, DMA_TRIG_TX)
24.2.15
Emulation Modes
24.2.15.1
Graceful Halt
24.3
UNICOMMSPI Registers
25
QSPI
25.1
QSPI Overview
25.1.1
Purpose of the Peripheral
25.1.2
Features
25.1.3
Functional Block Diagram
25.1.4
External Connections and Signal Descriptions
25.2
QSPI Operation
25.2.1
Clock Control
25.2.2
General Architecture
25.2.2.1
Chip Select Control
25.2.2.2
Data Format
25.2.2.3
Delayed data sampling
25.2.2.4
Loopback mode
25.2.2.5
FIFO Operation
25.2.2.6
DMA Operation
25.2.2.7
Lower Power Mode
25.2.3
Reset Considerations
25.2.4
Initialization
25.2.5
QSPI Controller Description
25.2.5.1
Configuration Frame Access
25.2.5.2
Status Frame Access
25.2.5.3
Data packing and unpacking
25.2.5.4
Data Frame Access
25.2.5.4.1
SSS mode (QSPIFORMAT = 1000)
25.2.5.4.2
SSD mode (QSPIFORMAT = 1001)
25.2.5.4.3
SDD mode (QSPIFORMAT = 1010)
25.2.5.4.4
SSQ mode (QSPIFORMAT = 1011)
25.2.5.4.5
SQQ mode (QSPIFORMAT = 1100)
25.2.5.4.6
QQQ mode (QSPIFORMAT = 1101)
25.2.6
Interrupt and Events Support
25.2.6.1
CPU Interrupt Event Publisher (CPU_INT)
25.2.6.2
DMA Trigger Publisher (DMA_TRIG_RX, DMA_TRIG_TX)
25.2.7
Emulation Modes
25.3
QSPI Registers
26
CAN-FD
26.1
MCAN Overview
26.1.1
MCAN Features
26.2
MCAN Environment
26.3
CAN Network Basics
26.4
MCAN Functional Description
26.4.1
Clock Setup
26.4.2
Module Clocking Requirements
26.4.3
Interrupt Requests
26.4.4
Operating Modes
26.4.4.1
Normal Operation
26.4.4.2
CAN Classic
26.4.4.3
CAN FD Operation
26.4.5
Software Initialization
26.4.6
Transmitter Delay Compensation
26.4.6.1
Description
26.4.6.2
Transmitter Delay Compensation Measurement
26.4.7
Restricted Operation Mode
26.4.8
Bus Monitoring Mode
26.4.9
Disabled Automatic Retransmission (DAR) Mode
26.4.9.1
Frame Transmission in DAR Mode
26.4.10
Clock Stop Mode
26.4.10.1
Suspend Mode
26.4.10.2
Wakeup Request
26.4.11
Test Modes
26.4.11.1
External Loop Back Mode
26.4.11.2
Internal Loop Back Mode
26.4.12
Timestamp Generation
26.4.12.1
External Timestamp Counter
26.4.13
Timeout Counter
26.4.14
Safety
26.4.14.1
MCAN ECC Wrapper
26.4.14.2
MCAN ECC Aggregator
26.4.14.2.1
MCAN ECC Aggregator Overview
26.4.14.2.2
MCAN ECC Aggregator Registers
26.4.14.3
Reads to ECC Control and Status Registers
26.4.14.4
ECC Interrupts
26.4.15
Tx Handling
26.4.15.1
Transmit Pause
26.4.15.2
Dedicated Tx Buffers
26.4.15.3
Tx FIFO
26.4.15.4
Tx Queue
26.4.15.5
Mixed Dedicated Tx Buffers/Tx FIFO
26.4.15.6
Mixed Dedicated Tx Buffers/Tx Queue
26.4.15.7
Transmit Cancellation
26.4.15.8
Tx Event Handling
26.4.15.9
FIFO Acknowledge Handling
26.4.16
Rx Handling
26.4.16.1
Acceptance Filtering
26.4.16.1.1
Range Filter
26.4.16.1.2
Filter for Specific IDs
26.4.16.1.3
Classic Bit Mask Filter
26.4.16.1.4
Standard Message ID Filtering
26.4.16.1.5
Extended Message ID Filtering
26.4.17
Rx FIFOs
26.4.17.1
Rx FIFO Blocking Mode
26.4.17.2
Rx FIFO Overwrite Mode
26.4.18
Dedicated Rx Buffers
26.4.18.1
Rx Buffer Handling
26.4.19
Message RAM
26.4.19.1
Message RAM Configuration
26.4.19.2
Rx Buffer and FIFO Element
26.4.19.3
Tx Buffer Element
26.4.19.4
Tx Event FIFO Element
26.4.19.5
Standard Message ID Filter Element
26.4.19.6
Extended Message ID Filter Element
26.5
MCAN Integration
26.6
Interrupt and Event Support
26.6.1
CPU Interrupt Event Publisher (CPU_INT)
26.7
MCAN Registers
27
I2S/TDM
27.1
I2S/TDM Introduction
27.1.1
I2S/TDM features
27.2
I2S/TDM Operation
27.2.1
Functional Block Diagram
27.2.2
Modes of Operation
27.2.2.1
Controller Mode
27.2.2.2
Target Mode
27.2.3
Clock and Timing Control
27.2.4
Frame Synchronization
27.2.4.1
Frame and Word Length
27.2.4.2
Polarity
27.2.4.3
Data Delay (Offset)
27.2.5
Slot Mapping and Configuration
Data Direction Configuration
27.2.5.1
Channel Mapping in Memory
27.2.6
Serial Frame Format Examples
27.2.6.1
I2S Format
27.2.6.2
Right Justified Format
27.2.6.3
Left Justified Format
27.2.6.4
DSP Format
27.2.6.5
PCM Long Frame Format
27.2.6.6
TDM Classic Format
27.2.7
Initialization
27.2.8
Disabling I2S
27.2.9
Interrupts and Events Support
27.2.9.1
CPU Interrupt Event Publisher (CPU_INT)
27.2.9.2
DMA Trigger Publisher (DMA_TRIG_RX, DMA_TRIG_TX)
27.2.10
Emulation Modes
27.3
I2S Registers
28
Timers (TIMx)
28.1
TIMx Overview
28.1.1
TIMG Overview
28.1.1.1
TIMG Features
28.1.1.2
Functional Block Diagram
28.1.2
TIMA Overview
28.1.2.1
TIMA Features
28.1.2.2
Functional Block Diagram
28.1.3
TIMx Instance Configuration
28.2
TIMx Operation
28.2.1
Timer Counter
28.2.1.1
Clock Source Select and Prescaler
28.2.1.1.1
Internal Clock and Prescaler
28.2.1.1.2
External Signal Trigger
28.2.1.2
Repeat Counter (TIMA only)
28.2.2
Counting Mode Control
28.2.2.1
One-shot and Periodic Modes
28.2.2.2
Down Counting Mode
28.2.2.3
Up/Down Counting Mode
28.2.2.4
Up Counting Mode
28.2.2.5
Phase Load (TIMA only)
28.2.3
Capture/Compare Module
28.2.3.1
Capture Mode
28.2.3.1.1
Input Selection, Counter Conditions, and Inversion
28.2.3.1.1.1
CCP Input Edge Synchronization
28.2.3.1.1.2
CCP Input Pulse Conditions
28.2.3.1.1.3
Counter Control Operation
28.2.3.1.1.4
CCP Input Filtering
28.2.3.1.1.5
Input Selection
28.2.3.1.2
Use Cases
28.2.3.1.2.1
Edge Time Capture
28.2.3.1.2.2
Period Capture
28.2.3.1.2.3
Pulse Width Capture
28.2.3.1.2.4
Combined Pulse Width and Period Time
28.2.3.1.3
QEI Mode (TIMG with QEI support only)
28.2.3.1.3.1
QEI With 2-Signal
28.2.3.1.3.2
QEI With Index Input
28.2.3.1.3.3
QEI Error Detection
28.2.3.1.4
Hall Input Mode (TIMG with QEI support only)
28.2.3.2
Compare Mode
28.2.3.2.1
Edge Count
28.2.4
Shadow Load and Shadow Compare
28.2.4.1
Shadow Load (TIMG4-7, TIMA only)
28.2.4.2
Shadow Compare (TIMG4-7, TIMG12-13, TIMA only)
28.2.5
Output Generator
28.2.5.1
Configuration
28.2.5.2
Use Cases
28.2.5.2.1
Edge-Aligned PWM
28.2.5.2.2
Center-Aligned PWM
28.2.5.2.3
Asymmetric PWM (TIMA only)
28.2.5.2.4
Complementary PWM With Deadband Insertion (TIMA only)
28.2.5.3
Forced Output
28.2.6
Fault Handler (TIMA only)
28.2.6.1
Fault Input Conditioning
28.2.6.2
Fault Input Sources
28.2.6.3
Counter Behavior With Fault Conditions
28.2.6.4
Output Behavior With Fault Conditions
28.2.7
Synchronization With Cross Trigger
28.2.7.1
Main Timer Cross Trigger Configuration
28.2.7.2
Secondary Timer Cross Trigger Configuration
28.2.8
Low Power Operation
28.2.9
Interrupt and Event Support
28.2.9.1
CPU Interrupt Event Publisher (CPU_INT)
28.2.9.2
Generic Event Publisher and Subscriber (GEN_EVENT0 and GEN_EVENT1)
28.2.9.3
Generic Subscriber Event Example (COMP to TIMx)
28.2.10
Debug Handler (TIMA Only)
28.3
TIMx Registers
29
Low Frequency Subsystem (LFSS)
29.1
Overview
29.2
Clock System
29.3
LFSS Reset Using VBAT
29.4
Power Domains and Supply Detection
29.4.1
Startup When VBAT Powers on First
29.4.2
Startup when VDD powers on first
29.4.3
Behavior When VDD is Lost
29.4.4
Behavior when VBAT is lost
29.4.5
Behavior when the device goes into SHUTDOWN mode
29.4.6
Supercapacitor Charging Circuit
29.5
Real Time Counter (RTC_x)
29.6
Independent Watchdog Timer (IWDT)
29.7
Tamper Input and Output
29.7.1
IOMUX Mode
29.7.2
Tamper Mode
29.7.2.1
Tamper Event Detection
29.7.2.2
Timestamp Event Output
29.7.2.3
Heartbeat Generator
29.7.2.4
RTC Clock Output
29.8
Scratchpad Memory
29.9
Lock Function of RTC, TIO, and IWDT
29.10
LFSS Registers
30
RTC
30.1
Overview
30.1.1
RTC Instances
30.2
Basic Operation
30.3
Configuration
30.3.1
Clocking
30.3.2
Reading and Writing to RTC Peripheral Registers
30.3.3
Binary vs. BCD
30.3.4
Leap Year Handling
30.3.5
Calendar Alarm Configuration
30.3.6
Interval Alarm Configuration
30.3.7
Periodic Alarm Configuration
30.3.8
Calibration
30.3.8.1
Crystal Offset Error
30.3.8.1.1
Offset Error Correction Mechanism
30.3.8.2
Crystal Temperature Error
30.3.8.2.1
Temperature Drift Correction Mechanism
30.3.9
RTC Prescaler Extension
30.3.10
RTC Timestamp Capture
30.3.11
RTC Events
30.3.11.1
CPU Interrupt Event Publisher (CPU_INT)
30.3.11.2
Generic Event Publisher (GEN_EVENT)
30.4
RTC Registers
31
IWDT
31.1
865
31.2
IWDT Clock Configuration
31.3
IWDT Period Selection
31.4
Debug Behavior of the IWDT
31.5
IWDT Registers
32
Window Watchdog Timer (WWDT)
32.1
WWDT Overview
32.1.1
Watchdog Mode
32.1.2
Interval Timer Mode
32.2
WWDT Operation
32.2.1
Mode Selection
32.2.2
Clock Configuration
32.2.3
Low-Power Mode Behavior
32.2.4
Debug Behavior
32.2.5
WWDT Events
32.2.5.1
CPU Interrupt Event Publisher (CPU_INT)
32.3
WWDT Registers
33
Debug
33.1
DEBUGSS Overview
33.1.1
Debug Interconnect
33.1.2
Physical Interface
33.1.3
Debug Access Ports
33.2
DEBUGSS Operation
33.2.1
Debug Features
33.2.1.1
Processor Debug
33.2.1.1.1
Breakpoint Unit (BPU)
33.2.1.1.2
Data Watchpoint and Trace Unit (DWT)
33.2.1.1.3
Processor Trace (MTB)
33.2.1.2
Peripheral Debug
33.2.2
Behavior in Low Power Modes
33.2.3
Restricting Debug Access
33.2.4
Mailbox (DSSM)
33.2.4.1
DSSM Events
33.2.4.1.1
CPU Interrupt Event (CPU_INT)
33.2.4.2
Reference
33.3
DEBUGSS Registers
34
Revision History
Technical Reference Manual
MSPM33 C3-Series 160MHz Microcontrollers