SPRUJF2A
March 2026 – March 2026
AM13E23019
1
Read This First
About This Manual
Notational Conventions
Glossary
Related Documentation
Support Resources
Trademarks
1
Introduction
1.1
Overview
1.2
AM13E230x Architecture Overview
1.2.1
Bus, Power, Clock Organization
1.2.2
Device Block Diagram
1.2.3
Module Allocation and Instances
1.3
Platform Memory Map
1.3.1
Code Region
1.3.2
SRAM Region
1.3.3
Peripheral Region
1.3.4
Subsystem Region
1.3.5
External Memory Region
1.3.6
System PPB Region
1.4
Boot Configuration
1.4.1
Configuration Memory
1.4.2
FLNONMAINECC Registers
1.5
Factory Constants
1.5.1
FLASH Registers
1.6
Memory Configuration
1.6.1
MEMCFG Registers
1.6.1.1
MEMCFG Base Address Table
1.6.1.2
MEM_CFG_REGS Registers
2
Peripheral Registers Memory Map
3
Power Management and Clock Unit (PMCU)
3.1
PMCU Overview
3.1.1
Power Domains
3.1.2
Operating Modes
3.1.2.1
RUN Mode
3.1.2.2
SLEEP Mode
3.1.2.3
STOP Mode
3.1.2.4
STANDBY Mode
3.1.2.5
SHUTDOWN Mode
3.1.2.6
Supported Functionality by Operating Mode
3.2
Quick Start Reference
3.2.1
Increasing MCLK Precision
3.2.2
Configuring MCLK for Maximum Speed
3.2.3
High Speed Clock (SYSPLL, HFCLK) Handling in Low-Power Modes
3.3
Power Management (PMU)
3.3.1
Power Supply
3.3.1.1
Main LDO
3.3.1.2
STOP LDO
3.3.1.3
VOSC LDO
3.3.1.4
HPLL LDO
3.3.2
Supply Supervisors
3.3.2.1
Power-on Reset (POR)
3.3.2.2
Brownout Reset (BOR)
3.3.2.3
POR and BOR Behavior During Supply Changes
3.3.3
Bandgap Reference
3.3.4
Analog Supplies
3.3.4.1
Analog Reference Circuits
3.3.5
Internal Temperature Sensor
3.3.6
Peripheral Enable
3.3.6.1
Automatic Peripheral Disable in Low Power Modes
3.4
Clock Module (CKM)
3.4.1
Clock Tree
3.4.2
Oscillators
3.4.2.1
Internal Low-Frequency Oscillator (LFOSC)
3.4.2.2
Internal System Oscillator (SYSOSC)
3.4.2.2.1
SYSOSC Frequency
3.4.2.2.2
SYSOSC Frequency Correction Loop
3.4.2.2.2.1
SYSOSC FCL in Internal Resistor Mode
3.4.2.2.3
Disabling SYSOSC
3.4.2.3
System Phase-Locked Loop (SYSPLL)
3.4.2.3.1
Configuring SYSPLL Output Frequencies
3.4.2.3.2
Loading SYSPLL Lookup Parameters
3.4.2.3.3
SYSPLL Startup Time
3.4.2.4
External Crystal Oscillator (XTAL)
3.4.2.5
HFCLK_IN (Digital clock)
3.4.3
Clocks
3.4.3.1
MCLK (Main Clock) Tree
3.4.3.2
CPUCLK (Processor Clock)
3.4.3.3
ULPCLK (Low-Power Clock)
3.4.3.4
LFCLK (Low-Frequency Clock)
3.4.3.5
HFCLK (High-Frequency External Clock)
3.4.3.6
HSCLK (High Speed Clock)
3.4.3.7
CANCLK (CAN-FD Functional Clock)
3.4.3.8
External Clock Output (CLK_OUT)
3.4.4
Clock Monitors
3.4.4.1
MCLK Monitor
3.4.4.2
Startup Monitors
3.4.4.2.1
LFOSC Startup Monitor
3.4.4.2.2
HFCLK Startup Monitor
3.4.4.2.3
SYSPLL Startup Monitor
3.4.4.2.4
HSCLK Status
3.4.5
Frequency Clock Counter (FCC)
3.4.5.1
Using the FCC
3.4.5.2
FCC Frequency Computation and Accuracy
3.5
System Controller (SYSCTL)
3.5.1
Resets and Device Initialization
3.5.1.1
Reset Levels
3.5.1.1.1
Power-on Reset (POR) Reset Level
3.5.1.1.2
Brownout Reset (BOR) Reset Level
3.5.1.1.3
Boot Reset (BOOTRST) Reset Level
3.5.1.1.4
System Reset (SYSRST) Reset Level
3.5.1.1.5
CPU-only Reset (CPURST) Reset Level
3.5.1.2
Initial Conditions After Power-Up
3.5.1.3
NRST Pin
3.5.1.4
SWD/JTAG Pins
3.5.1.5
Generating Resets in Software
3.5.1.6
Reset Cause
3.5.1.7
Peripheral Reset Control
3.5.1.8
Boot Fail Handling
3.5.2
Operating Mode Selection
3.5.3
Asynchronous Fast Clock Requests
3.5.4
SRAM Write Protection
3.5.5
Flash Wait States
3.5.6
Flash Bank Address Swap
3.5.7
Shutdown Mode Handling
3.5.8
Configuration Lockout
3.5.9
System Status
3.5.10
Error Handling
3.5.11
SYSCTL Events
3.5.11.1
CPU Interrupt Events (CPU_INT)
3.5.11.2
CPU Nonmaskable Interrupt (NMI) Events
3.6
SYSCTL Registers
3.6.1
SYSCTL Base Address Table
3.6.2
SYSCTL_REGS Registers
4
Central Processing Unit (CPU)
4.1
Overview
4.2
CPU
4.2.1
Arm Cortex-M33 CPU
4.2.2
CPU Register File
4.2.3
Stack Behavior
4.2.4
Execution Modes and Privilege Levels
4.2.5
Address Space and Supported Data Sizes
4.3
Interrupts and Exceptions
4.3.1
Peripheral Interrupts (IRQs)
4.3.1.1
Nested Vectored Interrupt Controller (NVIC)
4.3.1.2
Wake Up Controller (WUC)
4.3.2
Interrupt and Exception Table
4.3.3
Processor Lockup Scenario
4.4
CPU Peripherals
4.4.1
System Control Block (SCB)
4.4.2
System Tick Timer (SysTick)
4.4.3
Memory Protection Unit (MPU)
4.4.4
Floating Point Unit (FPU)
4.4.5
Digital Signal Processing Extension
4.4.6
Custom Datapath Extension TMU
4.5
Read-Only Memory (ROM)
5
Trigonometric Math Unit (TMU)
5.1
Introduction
5.2
Features
5.3
Functional Operation
5.3.1
Supported TMU Instructions
6
TinyEngineâ„¢ NPU
6.1
Introduction
6.1.1
TinyEngineâ„¢ NPU Related Collateral
7
Secure ROM
7.1
ROM Overview
7.2
Memory Map
7.3
Boot Configuration Routine (BCR)
7.3.1
SWD Mass Erase and Factory Reset Commands
7.3.2
Fast Boot
7.4
Bootstrap Loader (BSL)
7.4.1
Application Version
7.4.2
GPIO Invoke
7.4.3
BSL Triggered Mass Erase and Factory Reset
7.5
Lifecycle Management
7.5.1
Device Sub-Type
7.5.2
Lifecycle Transitions
7.6
Boot and Startup Sequence
7.6.1
Secure Boot
7.6.2
Customer Secure Code (CSC)
8
Global Security Controller (GSC)
8.1
GSC Introduction
8.1.1
GSC Features
8.2
GSC Operation
8.2.1
Functional Block Diagram
8.2.2
Peripheral Protection Controller
8.2.2.1
DMA Security
8.2.2.2
TinyEngine NPU Security
8.2.3
SRAM Protection Controller
8.2.3.1
SRAM Page Use Model
8.2.4
Flash Protection Controller
8.2.4.1
Flash Bank Security Implementation
8.2.4.2
Flash Hide Protection
8.2.5
Strict Privilege Context Protection
8.2.6
GSC Configuration Lock
8.3
GSC Registers
8.3.1
GSC Base Address Table
8.3.2
GSC_LITE_REGS Registers
9
Direct Memory Access (DMA)
9.1
DMA Overview
9.2
DMA Operation
9.2.1
Channel Types
9.2.2
Channel Priorities
9.2.3
Initiating DMA Transfers
9.2.3.1
DMA - DMA Trigger Source Options
9.2.3.2
Cascading DMA Channels
9.2.4
Transfer Modes
9.2.4.1
Single Transfer
9.2.4.2
Block Transfer
9.2.4.3
Repeated Single Transfer
9.2.4.4
Repeated Block Transfer
9.2.4.5
Burst Block Mode
9.2.5
Pausing DMA Transfers
9.2.6
DMA Auto-enable
9.2.7
Addressing Modes
9.2.7.1
Basic Addressing Modes
9.2.7.2
Stride Mode
9.2.7.3
Extended Modes
9.2.7.3.1
Fill Mode
9.2.7.3.2
Table Mode
9.2.7.3.3
Gather Mode
9.2.8
DMA Controller Interrupts
9.2.8.1
Using DMA with System Interrupts
9.2.9
DMA Trigger Event Status
9.2.10
DMA Operating Mode Support
9.2.10.1
Transfer in RUN Mode
9.2.10.2
Transfer in SLEEP Mode
9.2.10.3
Transfer in STOP Mode
9.2.10.4
Transfers in STANDBY Mode
9.2.11
DMA Address and Data Errors
9.3
DMA Registers
9.3.1
DMA Base Address Table
9.3.2
DMA_REGS Registers
10
Flash Module
10.1
Flash (NVM)
10.1.1
Introduction to Flash and OTP Memory
10.1.1.1
Flash Features
10.1.1.2
System Components
10.1.1.3
Terminology
10.1.2
Flash Memory Bank Organization
10.1.2.1
Banks
10.1.2.2
Flash Memory Regions
10.1.2.3
Addressing
10.1.2.3.1
Flash Memory Map
10.1.2.4
Memory Organization Examples
10.1.3
Flash Controller
10.1.3.1
Overview of Flash Controller Commands
10.1.3.2
Command Diagnostics
10.1.3.2.1
Command Status
10.1.3.2.2
Address Translation
10.1.3.2.3
Pulse Counts
10.1.3.3
NOOP Command
10.1.3.4
PROGRAM Command
10.1.3.4.1
Program Bit Masking Behavior
10.1.3.4.2
Target Data Alignment
10.1.3.4.3
Executing a PROGRAM Operation
10.1.3.5
ERASE Command
10.1.3.5.1
Erase Sector Masking Behavior
10.1.3.5.2
Executing an ERASE Operation
10.1.3.6
READVERIFY Command
10.1.3.6.1
Executing a READVERIFY Operation
10.1.3.7
Overriding the System Address With a Bank ID, Region ID, and Bank Address
10.1.3.8
FLASHCTL Events
10.1.4
Write Protection
10.1.4.1
Write Protection Resolution
10.1.4.2
Static Write Protection
10.1.4.3
Dynamic Write Protection
10.1.4.3.1
Configuring Protection for the MAIN Region
10.1.4.3.2
Configuring Protection for the NONMAIN Region
10.1.5
Flash Read Interface
10.1.5.1
Bank Modes and Swapping
10.1.5.2
Flash Wait States
10.1.5.3
Buffer and Cache Mechanisms
10.1.5.4
Flash Read Arbitration
10.1.5.5
Error Correction Code (ECC) Protection
10.1.5.6
Procedure to Change Flash Read Interface Registers
10.1.6
Read Interface
10.1.6.1
Bank Address Swapping
10.1.6.2
ECC Error Handling
10.1.6.2.1
Single bit (correctable) errors
10.1.6.2.2
Dual bit (uncorrectable) errors
10.2
FLASH Registers
10.2.1
FLASH Base Address Table
10.2.2
FLASH_CTRL_REGS Registers
10.2.3
NVMNW_REGS Registers
11
Error Aggregator Module (EAM)
11.1
EAM
11.1.1
EAM Introduction
11.1.2
EAM Operation
11.1.2.1
Security Error Aggregator
11.1.2.2
Safety Error Aggregator
11.1.2.3
SYSMEM Access Error
11.2
EAM Registers
11.2.1
EAM Base Address Table
11.2.2
EAM_REGS Registers
12
Events
12.1
Events Overview
12.1.1
Event Publisher
12.1.1.1
Standard Event Registers
12.1.2
Event Subscriber
12.1.3
Event Routing Map
12.1.4
Event Fabric Routing
12.1.4.1
CPU Interrupt Event Route (CPU_INT)
12.1.4.2
DMA Trigger Event Route (DMA_TRIG)
12.1.4.3
ADC Start Of Conversion Event Route (ADC_SOC)
12.1.5
Event Propagation Latency
13
IOMUX
13.1
IOMUX
13.1.1
IOMUX Overview
13.1.1.1
IO Types and Analog Sharing
13.1.2
IOMUX Operation
13.1.2.1
Peripheral Function (PF) Assignment
13.1.2.2
Logic High to Hi-Z Conversion
13.1.2.3
Logic Inversion
13.1.2.4
SHUTDOWN Mode Wakeup Logic
13.1.2.5
Pullup/Pulldown Resistors
13.1.2.6
Drive Strength Control
13.2
IOMUX Registers
13.2.1
IOMUX Base Address Table
13.2.2
IOMUX_REGS Registers
14
General Purpose Input/Output (GPIO)
14.1
General-Purpose Input/Output (GPIO)
14.1.1
GPIO Overview
14.1.2
GPIO Operation
14.1.2.1
GPIO Ports
14.1.2.2
GPIO Read/Write Interface
14.1.2.3
GPIO Input Glitch Filtering and Synchronization
14.1.2.4
GPIO Fast Wake
14.1.2.5
GPIO DMA Interface
14.1.2.6
Event Publishers
14.2
GPIO Registers
14.2.1
GPIO Base Address Table
14.2.2
GPIO_REGS Registers
15
Analog-to-Digital Converter (ADC)
15.1
Introduction
15.1.1
Features
15.1.2
ADC Related Collateral
15.1.3
Block Diagram
15.2
ADC Configurability
15.2.1
ADC Clock Configuration
15.2.2
Resolution
15.2.3
Voltage Reference
15.2.3.1
External Reference Mode
15.2.3.2
Internal Reference Mode
15.2.3.3
Selecting Reference Mode
15.2.4
Signal Mode
15.2.4.1
Expected Conversion Results
15.2.4.2
Interpreting Conversion Results
15.3
SOC Principle of Operation
15.3.1
ADC Sequencer
15.3.2
SOC Configuration
15.3.3
Trigger Operation
15.3.3.1
Global Software Trigger
15.3.4
ADC Acquisition (Sample and Hold) Window
15.3.5
Sample Capacitor Reset
15.3.6
ADC Input Models
15.3.7
Channel Selection
15.4
SOC Configuration Examples
15.4.1
Single Conversion fromMCPWM Trigger
15.4.2
Oversampled Conversion from MCPWM Trigger
15.4.3
Software Triggering of SOCs
15.5
EOC and Interrupt Operation
15.5.1
Interrupt Overflow
15.5.2
Continue to Interrupt Mode
15.5.3
Early Interrupt Configuration Mode
15.6
Post-Processing Blocks
15.6.1
PPB Offset Correction
15.6.2
PPB Error Calculation
15.6.3
PPB Limit Detection and Zero-Crossing Detection
15.6.4
PPB Sample Delay Capture
15.6.5
PPB Oversampling
15.6.5.1
Accumulation and Average Functions
15.6.5.2
Outlier Rejection
15.7
Opens/Shorts Detection Circuit (OSDETECT)
15.7.1
Open Short Detection Implementation
15.7.2
Detecting an Open Input Pin
15.7.3
Detecting a Shorted Input Pin
15.8
Power-Up Sequence
15.9
ADC Calibration
15.10
ADC Timings
15.10.1
ADC Timing Diagrams
15.10.2
Post-Processing Block Timings
15.11
Additional Information
15.11.1
Ensuring Synchronous Operation
15.11.1.1
Basic Synchronous Operation
15.11.1.2
Synchronous Operation with Multiple Trigger Sources
15.11.1.3
Synchronous Operation with Uneven SOC Numbers
15.11.1.4
Non-overlapping Conversions
15.11.2
Choosing an Acquisition Window Duration
15.11.3
Achieving Simultaneous Sampling
15.11.4
Result Register Mapping
15.11.5
Internal Temperature Sensor
15.11.6
Designing an External Reference Circuit
15.11.7
ADC-DAC Loopback Testing
15.11.8
Internal Test Mode
15.11.9
ADC Gain and Offset Calibration
15.11.10
ADC Zero Offset Calibration
15.12
ADC Registers
15.12.1
ADC Base Address Table
15.12.2
ADC_LITE_REGS Registers
15.12.3
ADC_LITE_RESULT_REGS Registers
16
Comparator Subsystem (CMPSS)
16.1
Introduction
16.1.1
Features
16.1.2
CMPSS Related Collateral
16.1.3
Block Diagram
16.2
Comparator
16.3
Reference DAC
16.4
Digital Filter
16.4.1
Filter Initialization Sequence
16.5
Using the CMPSS
16.5.1
LATCHCLR, and MCPWMSYNCPER Signals
16.5.2
Synchronizer, Digital Filter, and Latch Delays
16.5.3
Calibrating the CMPSS
16.5.4
Enabling and Disabling the CMPSS Clock
16.6
CMPSS DAC Output
16.7
CMPSS Registers
16.7.1
CMPSS Base Address Table
16.7.2
CMPSS_LITE_REGS Registers
17
Programmable Gain Amplifier (PGA)
17.1
Programmable Gain Amplifier (PGA) Overview
17.1.1
Features
17.1.2
Block Diagram
17.1.2.1
PGA Mux Selection Options
17.2
Linear Output Range
17.3
Gain Values
17.4
Modes of Operation
17.4.1
Buffer Mode
17.4.2
Standalone Mode
17.4.3
Non-inverting Mode
17.4.4
Subtractor Mode
17.5
External Filtering
17.5.1
Low-Pass Filter Using Internal Filter Resistor and External Capacitor
17.5.2
Single Pole Low-Pass Filter Using Internal Gain Resistor and External Capacitor
17.6
Error Calibration
17.6.1
Offset Error
17.6.2
Gain Error
17.7
Chopping Feature
17.8
Enabling and Disabling the PGA Clock
17.9
Lock Register
17.10
Analog Front-End Integration
17.10.1
Buffered DAC
17.10.2
Analog-to-Digital Converter (ADC)
17.10.2.1
Unfiltered Acquisition Window
17.10.2.2
Filtered Acquisition Window
17.10.3
Comparator Subsystem (CMPSS)
17.10.4
PGA_NEG_SHARED Feature
17.10.5
Alternate Functions
17.11
Examples
17.11.1
Non-Inverting Amplifier Using Non-Inverting Mode
17.11.2
Buffer Mode
17.11.3
Low-Side Current Sensing
17.11.4
Bidirectional Current Sensing
17.12
PGA Registers
17.12.1
PGA Base Address Table
17.12.2
PGA_REGS Registers
18
Multi-Channel Pulse Width Modulator (MCPWM)
18.1
Introduction
18.1.1
PWM Related Collateral
18.1.2
MCPWM Overview
18.2
Configuring Device Pins
18.3
MCPWM Modules Overview
18.4
Time-Base (TB) Submodule
18.4.1
Purpose of the Time-Base Submodule
18.4.2
Controlling and Monitoring the Time-Base Submodule
18.4.3
Calculating PWM Period and Frequency
18.4.3.1
Time-Base Period Shadow Register
18.4.3.2
Time-Base Clock Synchronization
18.4.3.3
Time-Base Counter Synchronization
18.4.3.4
MCPWM SYNC Selection
18.4.4
Phase Locking the Time-Base Clocks of Multiple MCPWM Modules
18.4.5
Time-Base Counter Modes and Timing Waveforms
18.4.6
Global Load
18.4.6.1
One-Shot Load Mode
18.5
Counter-Compare (CC) Submodule
18.5.1
Purpose of the Counter-Compare Submodule
18.5.2
Controlling and Monitoring the Counter-Compare Submodule
18.5.3
Operational Highlights for the Counter-Compare Submodule
18.5.4
Count Mode Timing Waveforms
18.6
Action-Qualifier (AQ) Submodule
18.6.1
Purpose of the Action-Qualifier Submodule
18.6.2
Action-Qualifier Submodule Control and Status Register Definitions
18.6.3
Action-Qualifier Event Priority
18.6.4
AQCTLA and AQCTLB Shadow Mode Operations
18.6.5
Configuration Requirements for Common Waveforms
18.7
Dead-Band Generator (DB) Submodule
18.7.1
Purpose of the Dead-Band Submodule
18.7.2
Dead-Band Submodule Additional Operating Modes
18.7.3
Operational Highlights for the Dead-Band Submodule
18.8
Trip-Zone (TZ) Submodule
18.8.1
Purpose of the Trip-Zone Submodule
18.8.2
Operational Highlights for the Trip-Zone Submodule
18.8.2.1
Trip-Zone Configurations
18.8.3
Generating Trip Event Interrupts
18.9
Event-Trigger (ET) Submodule
18.9.1
Operational Overview of the MCPWM Event-Trigger Submodule
18.10
PWM Crossbar (X-BAR)
18.11
MCPWM Registers
18.11.1
MCPWM Base Address Table
18.11.2
MCPWM_6CH_REGS Registers
19
Enhanced Capture (eCAP)
19.1
Introduction
19.1.1
Features
19.1.2
ECAP Related Collateral
19.2
Description
19.3
Configuring Device Pins for the eCAP
19.4
Capture and APWM Operating Mode
19.5
Capture Mode Description
19.5.1
Event Prescaler
19.5.2
Edge Polarity Select and Qualifier
19.5.3
Continuous/One-Shot Control
19.5.4
32-Bit Counter and Phase Control
19.5.5
CAP1-CAP4 Registers
19.5.6
eCAP Synchronization
19.5.6.1
Example 1 - Using SWSYNC with ECAP Module
19.5.7
Interrupt Control
19.5.8
Shadow Load and Lockout Control
19.5.9
APWM Mode Operation
19.6
Application of the eCAP Module
19.6.1
Example 1 - Absolute Time-Stamp Operation Rising-Edge Trigger
19.6.2
Example 2 - Absolute Time-Stamp Operation Rising- and Falling-Edge Trigger
19.6.3
Example 3 - Time Difference (Delta) Operation Rising-Edge Trigger
19.6.4
Example 4 - Time Difference (Delta) Operation Rising- and Falling-Edge Trigger
19.7
Application of the APWM Mode
19.7.1
Example 1 - Simple PWM Generation (Independent Channels)
19.8
ECAP Registers
19.8.1
ECAP Base Address Table
19.8.2
ECAP_REGS Registers
20
Enhanced Quadrature Encoder Pulse (eQEP)
20.1
Introduction
20.1.1
EQEP Related Collateral
20.2
Configuring Device Pins
20.3
Description
20.3.1
EQEP Inputs
20.3.2
Functional Description
20.3.3
eQEP Memory Map
20.4
Quadrature Decoder Unit (QDU)
20.4.1
Position Counter Input Modes
20.4.1.1
Quadrature Count Mode
20.4.1.2
Direction-Count Mode
20.4.1.3
Up-Count Mode
20.4.1.4
Down-Count Mode
20.4.2
eQEP Input Polarity Selection
20.4.3
Position-Compare Sync Output
20.5
Position Counter and Control Unit (PCCU)
20.5.1
Position Counter Operating Modes
20.5.1.1
Position Counter Reset on Index Event (QEPCTL[PCRM]Â =Â 00)
20.5.1.2
Position Counter Reset on Maximum Position (QEPCTL[PCRM]Â =Â 01)
20.5.1.3
Position Counter Reset on the First Index Event (QEPCTL[PCRM] = 10)
20.5.1.4
Position Counter Reset on Unit Time-out Event (QEPCTL[PCRM] = 11)
20.5.2
Position Counter Latch
20.5.2.1
Index Event Latch
20.5.2.2
Strobe Event Latch
20.5.3
Position Counter Initialization
20.5.4
eQEP Position-compare Unit
20.6
eQEP Edge Capture Unit
20.7
eQEP Watchdog
20.8
eQEP Unit Timer Base
20.9
QMA Module
20.9.1
Modes of Operation
20.9.1.1
QMA Mode-1 (QMACTRL[MODE] = 1)
20.9.1.2
QMA Mode-2 (QMACTRL[MODE] = 2)
20.9.2
Interrupt and Error Generation
20.10
eQEP Interrupt Structure
20.11
Software
20.11.1
EQEP Examples
20.11.1.1
Frequency Measurement Using eQEP
20.11.1.2
Position and Speed Measurement Using eQEP
20.11.1.3
PWM Frequency Measurement using EQEP via XBAR connection
20.11.1.4
Frequency Measurement Using eQEP via unit timeout interrupt
20.11.1.5
Motor speed and direction measurement using eQEP via unit timeout interrupt
20.12
EQEP Registers
20.12.1
EQEP Base Address Table
20.12.2
EQEP_REGS Registers
21
Crossbar (X-BAR)
21.1
INPUTXBAR
21.2
MCPWM and GPIO Output X-BAR
21.2.1
MCPWM X-BAR
21.2.1.1
MCPWM X-BAR Architecture
21.2.2
GPIO Output X-BAR
21.2.2.1
GPIO Output X-BAR Architecture
21.2.3
X-BAR Flags
21.3
XBAR Registers
21.3.1
XBAR Base Address Table
21.3.2
INPUT_XBAR_REGS Registers
21.3.3
EPWM_XBAR_REGS Registers
21.3.4
OUTPUTXBAR_REGS Registers
21.3.5
SYNC_SOC_REGS Registers
21.3.6
OUTPUTXBAR_FLAG_REGS Registers
21.3.7
INPUT_FLAG_XBAR_REGS Registers
22
Unified Communication Peripheral (UNICOMM)
22.1
Overview
22.1.1
Block Diagram
22.2
Unicomm Architecture
22.2.1
Scalable Peripheral Group (SPG) Configurations
22.2.1.1
Loopback Operation
22.2.1.2
I2C Pairings
22.2.2
FIFO Operation
22.2.2.1
Receive FIFO Levels
22.2.2.2
Transmitter FIFO Levels
22.2.2.3
Clearing FIFO Contents
22.2.2.4
FIFO Status Flags
22.2.3
Interrupts
22.2.3.1
Receive Interrupt Sequence
22.2.3.2
Transmit Interrupt Sequence
22.2.4
DMA Operation
22.3
High-Level Initialization
22.4
Enables & Resets
22.5
Suspending Communication
22.6
UNICOMM Registers
22.6.1
UNICOMM Base Address Table
22.6.2
UNICOMM_REGS Registers
22.7
SPG Registers
22.7.1
SPG Base Address Table
22.7.2
SPGSS_REGS Registers
23
Universal Asychronous Receiver/Transmitter (UART)
23.1
Overview
23.1.1
Purpose of the Peripheral
23.1.2
Features
23.1.3
Functional Block Diagram
23.2
Peripheral Functional Description
23.2.1
Clock Control
23.2.2
General Architecture and Protocol
23.2.2.1
Signal Descriptions
23.2.2.2
Transmit and Receive Logic
23.2.2.3
Bit Sampling
23.2.2.4
Baud Rate Generation
23.2.2.5
Data Transmission
23.2.2.6
Error and Status
23.2.2.7
DMA Operation
23.2.2.8
Internal Loopback Operation
23.2.3
Additional Protocol and Feature Support
23.2.3.1
Local Interconnect Network (LIN) Support
23.2.3.1.1
LIN Commander Transmit
23.2.3.1.2
LIN Responder Receive
23.2.3.1.3
LIN Wakeup
23.2.3.2
Flow Control
23.2.3.3
RS485 Support
23.2.3.4
Idle-Line Multiprocessor
23.2.3.5
9-Bit UART Mode
23.2.3.6
ISO7816 Smart Card Support
23.2.3.7
Address Detection
23.2.4
Initialization
23.2.5
Interrupt and Events Support
23.2.5.1
CPU Interrupt Event Publisher (CPU_INT)
23.2.5.2
DMA Trigger Publisher (DMA_TRIG_RX, DMA_TRIG_TX)
23.2.6
Emulation Modes
23.3
UNICOMM-UART Registers
23.3.1
UNICOMM-UART Base Address Table
23.3.2
UNICOMMUART_REGS Registers
24
Inter-Integrated Circuit (I2C)
24.1
Overview
24.1.1
Purpose of the Peripheral
24.1.2
Features
24.1.3
Functional Block Diagram
24.2
Peripheral Functional Description
24.2.1
Clock Control
24.2.1.1
Clock Select and I2C Speed
24.2.1.2
Clock Startup
24.2.2
Signal Descriptions
24.2.3
General Architecture
24.2.3.1
I2C Bus Functional Overview
24.2.3.2
START and STOP Conditions
24.2.3.3
7-Bit Address Format
24.2.3.4
10-Bit Address Format
24.2.3.5
General Call
24.2.3.6
Dual Address
24.2.3.7
Acknowledge
24.2.3.8
Repeated Start
24.2.3.9
Clock Low Timeout
24.2.3.10
Clock Stretching
24.2.3.11
Arbitration
24.2.3.12
Multiple Controller Mode
24.2.3.13
Glitch Suppression
24.2.3.14
Burst Mode
24.2.3.15
DMA Operation
24.2.3.16
SMBus 3.0 Support
24.2.3.16.1
Quick Command
24.2.3.16.2
Acknowledge Control
24.2.3.16.3
Clock Low Timeout Detection
24.2.3.16.4
Clock High Timeout Detection
24.2.3.16.5
Cumulative clock low extended timeout for controller and target
24.2.3.16.6
Packet Error Checking (PEC)
24.2.3.16.7
Host Notify Protocol
24.2.3.16.8
Alert Response Protocol
24.2.3.16.9
Address Resolution Protocol
24.2.4
Protocol Descriptions
24.2.4.1
I2C Controller Mode
24.2.4.1.1
I2C Controller Initialization
24.2.4.1.2
I2C Controller Status
24.2.4.1.3
I2C Controller Receive Mode
24.2.4.1.4
I2C Controller Transmitter Mode
24.2.4.1.5
Controller Configuration
24.2.4.2
I2C Target Mode
24.2.4.2.1
I2C Target Initialization
24.2.4.2.2
I2C Target Status
24.2.4.2.3
I2C Target Receiver Mode
24.2.4.2.4
I2C Target Transmitter Mode
24.2.5
Reset Considerations
24.2.6
Interrupt and Events Support
24.2.6.1
CPU Interrupt Event Publisher (CPU_INT)
24.2.6.2
DMA Trigger Publisher (DMA_TRIG_RX, DMA_TRIG_TX)
24.2.7
Emulation Modes
24.3
UNICOMM-I2C Registers
24.3.1
UNICOMM-I2C Base Address Table
24.3.2
UNICOMMI2CC_REGS Registers
24.3.3
UNICOMMI2CT_REGS Registers
25
Serial Peripheral Interface (SPI)
25.1
Overview
25.1.1
Purpose of the Peripheral
25.1.2
Features
25.1.3
Functional Block Diagram
25.2
Peripheral Functional Description
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
Clock Generation
25.2.2.5
SPI FIFO Operation
25.2.2.6
DMA Operation
25.2.3
Internal Loopback Operation
25.2.4
Protocol Descriptions
25.2.4.1
Motorola SPI Frame Format
25.2.4.2
Texas Instruments Synchronous Serial Frame Format
25.2.5
Status Flags
25.2.6
Initialization
25.2.7
Interrupt and Events Support
25.2.7.1
CPU Interrupt Event Publisher (CPU_INT)
25.2.7.2
DMA Trigger Publisher (DMA_TRIG_RX, DMA_TRIG_TX)
25.2.8
Emulation Modes
25.3
UNICOMM-SPI Registers
25.3.1
UNICOMM-SPI Base Address Table
25.3.2
UNICOMMSPI_REGS Registers
26
Modular Controller Area Network (MCAN)
26.1
CAN-FD
26.1.1
MCAN Overview
26.1.1.1
MCAN Features
26.1.2
MCAN Environment
26.1.3
CAN Network Basics
26.1.4
MCAN Functional Description
26.1.4.1
Clock Setup
26.1.4.2
Module Clocking Requirements
26.1.4.3
Interrupt Requests
26.1.4.4
Operating Modes
26.1.4.4.1
Normal Operation
26.1.4.4.2
CAN Classic
26.1.4.4.3
CAN FD Operation
26.1.4.5
Software Initialization
26.1.4.6
Transmitter Delay Compensation
26.1.4.6.1
Description
26.1.4.6.2
Transmitter Delay Compensation Measurement
26.1.4.7
Restricted Operation Mode
26.1.4.8
Bus Monitoring Mode
26.1.4.9
Disabled Automatic Retransmission (DAR) Mode
26.1.4.9.1
Frame Transmission in DAR Mode
26.1.4.10
Clock Stop Mode
26.1.4.10.1
Suspend Mode
26.1.4.10.2
Wakeup Request
26.1.4.11
Test Modes
26.1.4.11.1
External Loop Back Mode
26.1.4.11.2
Internal Loop Back Mode
26.1.4.12
Timestamp Generation
26.1.4.12.1
External Timestamp Counter
26.1.4.13
Timeout Counter
26.1.4.14
Safety
26.1.4.14.1
MCAN ECC Wrapper
26.1.4.14.2
MCAN ECC Aggregator
26.1.4.14.2.1
MCAN ECC Aggregator Overview
26.1.4.14.2.2
MCAN ECC Aggregator Registers
26.1.4.14.3
Reads to ECC Control and Status Registers
26.1.4.14.4
ECC Interrupts
26.1.4.15
Tx Handling
26.1.4.15.1
Transmit Pause
26.1.4.15.2
Dedicated Tx Buffers
26.1.4.15.3
Tx FIFO
26.1.4.15.4
Tx Queue
26.1.4.15.5
Mixed Dedicated Tx Buffers/Tx FIFO
26.1.4.15.6
Mixed Dedicated Tx Buffers/Tx Queue
26.1.4.15.7
Transmit Cancellation
26.1.4.15.8
Tx Event Handling
26.1.4.15.9
FIFO Acknowledge Handling
26.1.4.16
Rx Handling
26.1.4.16.1
Acceptance Filtering
26.1.4.16.1.1
Range Filter
26.1.4.16.1.2
Filter for Specific IDs
26.1.4.16.1.3
Classic Bit Mask Filter
26.1.4.16.1.4
Standard Message ID Filtering
26.1.4.16.1.5
Extended Message ID Filtering
26.1.4.17
Rx FIFOs
26.1.4.17.1
Rx FIFO Blocking Mode
26.1.4.17.2
Rx FIFO Overwrite Mode
26.1.4.18
Dedicated Rx Buffers
26.1.4.18.1
Rx Buffer Handling
26.1.4.19
Message RAM
26.1.4.19.1
Message RAM Configuration
26.1.4.19.2
Rx Buffer and FIFO Element
26.1.4.19.3
Tx Buffer Element
26.1.4.19.4
Tx Event FIFO Element
26.1.4.19.5
Standard Message ID Filter Element
26.1.4.19.6
Extended Message ID Filter Element
26.1.5
MCAN Integration
26.1.6
Interrupt and Event Support
26.1.6.1
CPU Interrupt Event Publisher (CPU_INT)
26.2
MCAN Registers
26.2.1
MCAN Base Address Table
26.2.2
MCAN_REGS Registers
27
External Peripheral Interface (EPI)
27.1
External Peripheral Interface (EPI)
27.1.1
Introduction
27.1.2
EPI Block Diagram
27.1.3
Functional Description
27.1.3.1
Controller Access to EPI
27.1.3.2
Nonblocking Reads
27.1.3.3
DMA Operation
27.1.4
Initialization and Configuration
27.1.4.1
EPI Interface Options
27.1.4.2
SDRAM Mode
27.1.4.2.1
External Signal Connections
27.1.4.2.2
Refresh Configuration
27.1.4.2.3
Bus Interface Speed
27.1.4.2.4
Nonblocking Read Cycle
27.1.4.2.5
Normal Read Cycle
27.1.4.2.6
Write Cycle
27.1.4.3
Host Bus Mode
27.1.4.3.1
Control Pins
27.1.4.3.2
PSRAM Support
27.1.4.3.3
Host Bus 16-Bit Muxed Interface
27.1.4.3.4
Speed of Transactions
27.1.4.3.5
Sub-Modes of Host Bus 8 and 16
27.1.4.3.6
Bus Operation
27.1.4.4
General-Purpose Mode
27.1.4.4.1
Bus Operation
27.1.4.4.1.1
FRAME Signal Operation
27.1.4.4.1.2
EPI Clock Operation
27.2
EPI Registers
27.2.1
EPI Base Address Table
27.2.2
EPI_REGS_GPCFG Registers
27.2.3
EPI_REGS_SDRAMCFG Registers
27.2.4
EPI_REGS_HB8CFG Registers
27.2.5
EPI_REGS_HB16CFG Registers
28
Cyclic Redundancy Check (CRC)
28.1
CRC
28.1.1
CRC Overview
28.1.1.1
CRC16-CCITT
28.1.1.2
CRC32-ISO3309
28.1.2
CRC Operation
28.1.2.1
CRC Generator Implementation
28.1.2.2
Configuration
28.1.2.2.1
Polynomial Selection
28.1.2.2.2
Bit Order
28.1.2.2.3
Byte Swap
28.1.2.2.4
Byte Order
28.1.2.2.5
CRC C Library Compatibility
28.2
CRC Registers
28.2.1
CRC Base Address Table
28.2.2
CRCP_REGS Registers
29
Advanced Encryption Standard (AES) Accelerator
29.1
AESADV
29.1.1
AES Overview
29.1.1.1
AESADV Performance
29.1.2
AESADV Operation
29.1.2.1
Loading the Key
29.1.2.2
Writing Input Data
29.1.2.3
Reading Output Data
29.1.2.4
Operation Descriptions
29.1.2.4.1
Single Block Operation
29.1.2.4.2
Electronic Codebook (ECB) Mode
29.1.2.4.2.1
ECB Encryption
29.1.2.4.2.2
ECB Decryption
29.1.2.4.3
Cipher Block Chaining (CBC) Mode
29.1.2.4.3.1
CBC Encryption
29.1.2.4.3.2
CBC Decryption
29.1.2.4.4
Output Feedback (OFB) Mode
29.1.2.4.4.1
OFB Encryption
29.1.2.4.4.2
OFB Decryption
29.1.2.4.5
Cipher Feedback (CFB) Mode
29.1.2.4.5.1
CFB Encryption
29.1.2.4.5.2
CFB Decryption
29.1.2.4.6
Counter (CTR) Mode
29.1.2.4.6.1
CTR Encryption
29.1.2.4.6.2
CTR Decryption
29.1.2.4.7
Galois Counter (GCM) Mode
29.1.2.4.7.1
GHASH Operation
29.1.2.4.7.2
GCM Operating Modes
29.1.2.4.7.2.1
Autonomous GCM Operation
29.1.2.4.7.2.1.1
GMAC
29.1.2.4.7.2.2
GCM With Pre-Calculations
29.1.2.4.7.2.3
GCM Operation With Precalculated H- and Y0-Encrypted Forced to Zero
29.1.2.4.8
Counter With Cipher Block Chaining Message Authentication Code (CCM)
29.1.2.4.8.1
CCM Operation
29.1.2.5
AES Events
29.1.2.5.1
CPU Interrupt Event Publisher (CPU_EVENT)
29.1.2.5.2
DMA Trigger Event Publisher (DMA_TRIG_DATAIN)
29.1.2.5.3
DMA Trigger Event Publisher (DMA_TRIG_DATAOUT)
29.2
AES Registers
29.2.1
AES Base Address Table
29.2.2
AES_REGS Registers
30
Keystore
30.1
Keystore
30.1.1
Overview
30.1.2
Detailed Description
30.2
KEYSTORE Registers
30.2.1
KEYSTORE Base Address Table
30.2.2
KEYSTORE_REGS Registers
31
Timers
31.1
Timers (TIMx)
31.1.1
TIMx Overview
31.1.1.1
TIMx Instance Configuration
31.1.1.2
TIMG Features
31.1.1.3
Functional Block Diagram
31.1.2
TIMx Operation
31.1.2.1
Timer Counter
31.1.2.1.1
Clock Source Select and Prescaler
31.1.2.1.1.1
Internal Clock and Prescaler
31.1.2.1.1.2
External Signal Trigger
31.1.2.2
Counting Mode Control
31.1.2.2.1
One-shot and Periodic Modes
31.1.2.2.2
Down Counting Mode
31.1.2.2.3
Up/Down Counting Mode
31.1.2.2.4
Up Counting Mode
31.1.2.3
Capture/Compare Module
31.1.2.3.1
Capture Mode
31.1.2.3.1.1
Input Selection, Counter Conditions, and Inversion
31.1.2.3.1.1.1
CCP Input Edge Synchronization
31.1.2.3.1.1.2
Input Selection
31.1.2.3.1.1.3
CCP Input Filtering
31.1.2.3.1.1.4
CCP Input Pulse Conditions
31.1.2.3.1.1.5
Counter Control Operation
31.1.2.3.1.2
Capture Mode Use Cases
31.1.2.3.1.2.1
Edge Time Capture
31.1.2.3.1.2.2
Period Capture
31.1.2.3.1.2.3
Pulse Width Capture
31.1.2.3.1.2.4
Combined Pulse Width and Period Time
31.1.2.3.2
Compare Mode
31.1.2.3.2.1
Edge Count
31.1.2.4
Shadow Load and Shadow Compare
31.1.2.4.1
Shadow Load (TIMG4-7)
31.1.2.4.2
Shadow Compare (TIMG4-7, TIMG12-13)
31.1.2.5
Output Generator
31.1.2.5.1
Configuration
31.1.2.5.2
Use Cases
31.1.2.5.2.1
Edge-Aligned PWM
31.1.2.5.2.2
Center-Aligned PWM
31.1.2.5.3
Forced Output
31.1.2.6
Synchronization With Cross Trigger
31.1.2.6.1
Main Timer Cross Trigger Configuration
31.1.2.6.2
Secondary Timer Cross Trigger Configuration
31.1.2.7
Low Power Operation
31.1.2.8
Interrupt and Event Support
31.1.2.8.1
CPU Interrupt Event Publisher (CPU_INT)
31.1.2.8.2
GEN_EVENT0 and GEN_EVENT1
31.1.2.9
944
31.2
TIMERS Registers
31.2.1
TIMERS Base Address Table
31.2.2
TIMG4_REGS Registers
31.2.3
TIMG12_REGS Registers
32
Windowed Watchdog Timer (WWDT)
32.1
Window Watchdog Timer (WWDT)
32.1.1
WWDT Overview
32.1.1.1
Watchdog Mode
32.1.1.2
Interval Timer Mode
32.1.2
WWDT Operation
32.1.2.1
Mode Selection
32.1.2.2
Clock Configuration
32.1.2.3
Low-Power Mode Behavior
32.1.2.4
Debug Behavior
32.1.2.5
WWDT Events
32.1.2.5.1
CPU Interrupt Event (CPU_INT)
32.2
WWDT Registers
32.2.1
WWDT Base Address Table
32.2.2
WWDT_REGS Registers
33
Debug Subsystem (DEBUGSS)
33.1
Debug Subsystem
33.1.1
DEBUGSS Overview
33.1.1.1
Debug Interconnect
33.1.1.2
Physical Interfaces
33.1.1.2.1
JTAG Debug Port (JTAG-DP)
33.1.1.2.2
Serial Wire Debug (SWD) Debug Port (SW-DP)
33.1.1.2.3
Serial Wire Debug and JTAG Debug Port (SWJ-DP)
33.1.1.2.4
Debug Wake Up and Interrupts
33.1.1.3
Debug Access Ports
33.1.2
DEBUGSS Operation
33.1.2.1
Debug Features
33.1.2.1.1
Processor Debug
33.1.2.1.1.1
Breakpoint Unit (BPU)
33.1.2.1.1.2
Data Watchpoint and Trace Unit (DWT)
33.1.2.1.1.3
Processor Trace (MTB)
33.1.2.1.1.4
External Trace (ETM)
33.1.2.1.2
Peripheral Debug
33.1.2.1.3
EnergyTrace Technology
33.1.2.2
Behavior in Low Power Modes
33.1.2.3
Restricting Debug Access
33.1.2.4
Mailbox (DSSM)
33.1.2.4.1
DSSM Events
33.1.2.4.1.1
CPU Interrupt Event (CPU_INT)
33.1.2.4.2
DSSM Commands
33.2
DEBUGSS Registers
33.2.1
DEBUGSS Base Address Table
33.2.2
DEBUGSS_REGS Registers
34
Revision History
Technical Reference Manual
AM13E230x Microcontrollers