SPRUJ79A
November 2024 – December 2025
F29H850TU
,
F29H859TU-Q1
1
Read This First
About This Manual
Notational Conventions
Glossary
Related Documentation From Texas Instruments
Support Resources
Trademarks
► C29x SYSTEM RESOURCES
Technical Reference Manual Overview
1
C29x Processor
1.1
CPU Architecture
1.1.1
C29x Related Collateral
1.2
Lock and Commit Registers
1.3
C29x CPU Registers
1.3.1
C29CPU Base Address Table
1.3.2
C29_RTINT_STACK Registers
1.3.3
C29_SECCALL_STACK Registers
1.3.4
C29_SECURE_REGS Registers
1.3.5
C29_DIAG_REGS Registers
1.3.6
C29_SELFTEST_REGS Registers
2
System Control and Interrupts
2.1
C29x System Control Introduction
2.2
System Control Functional Description
2.2.1
Device Identification
2.2.2
Device Configuration Registers
2.3
Resets
2.3.1
Reset Sources
2.3.2
External Reset (XRS)
2.3.3
Simulate External Reset
2.3.4
Power-On Reset (POR)
2.3.5
Debugger Reset (SYSRS)
2.3.6
Watchdog Reset (WDRS)
2.3.7
ESM NMI Watchdog Reset (NMIWDRS)
2.3.8
EtherCAT SubordinateDevice Controller (ESC) Module Reset Output
2.4
Interrupts
2.4.1
External Interrupts (XINT)
2.5
Safety Features
2.5.1
Write Protection on Registers
2.5.1.1
LOCK Protection on System Configuration Registers
2.5.1.2
EALLOW Protection
2.5.2
PIPE Vector Address Validity Check
2.5.3
NMIWDs
2.5.4
System Control Registers Parity Protection
2.5.5
ECC Enabled RAMs, Shared RAMs Protection
2.5.6
ECC Enabled Flash Memory
2.5.7
ERRORSTS Pin
2.6
Clocking
2.6.1
Clock Sources
2.6.1.1
Primary Internal Oscillator (INTOSC2)
2.6.1.2
Backup Internal Oscillator (INTOSC1)
2.6.1.3
External Oscillator (XTAL)
2.6.1.4
Auxiliary Clock Input (AUXCLKIN)
2.6.2
Derived Clocks
2.6.2.1
Oscillator Clock (OSCCLK)
2.6.2.2
System PLL Output Clock (PLLRAWCLK)
2.6.3
Device Clock Domains
2.6.3.1
System Clock (PLLSYSCLK)
2.6.3.2
CPU Clock (CPUCLK)
2.6.3.3
Peripheral Clock (PERx.SYSCLK)
2.6.3.4
MCAN Bit Clock
2.6.3.5
CPU Timer2 Clock (TIMER2CLK)
2.6.4
External Clock Output (XCLKOUT)
2.6.5
Clock Connectivity
2.6.6
Using an External Crystal or Resonator
2.6.6.1
X1/X2 Precondition Circuit
2.6.7
PLL
2.6.7.1
System Clock Setup
2.6.7.2
SYS PLL Bypass
2.6.8
Clock (OSCCLK) Failure Detection
2.6.8.1
Missing Clock Detection Logic
2.6.8.2
Dual Clock Comparator (DCC)
2.7
Bus Architecture
2.7.1
Safe Interconnect
2.7.1.1
Safe Interconnect for Read Operation
2.7.1.2
Safe Interconnect for Write Operation
2.7.2
Peripheral Access Configuration using FRAMESEL
2.7.3
Bus Arbitration
2.8
32-Bit CPU Timers 0/1/2
2.9
Watchdog Timers
2.9.1
Servicing the Watchdog Timer
2.9.2
Minimum Window Check
2.9.3
Watchdog Reset or Watchdog Interrupt Mode
2.9.4
Watchdog Operation in Low-Power Modes
2.9.5
Emulation Considerations
2.10
Low-Power Modes
2.10.1
IDLE
2.10.2
STANDBY
2.11
Memory Subsystem (MEMSS)
2.11.1
Introduction
2.11.2
Features
2.11.3
Configuration Bits
2.11.3.1
Memory Initialization
2.11.4
RAM
2.11.4.1
MEMSS Architecture
2.11.4.2
RAM Memory Controller Overview
2.11.4.3
Memory Controllers
2.11.4.3.1
128-Bit LPx and CPx Memory Controller
2.11.4.3.2
64-Bit LDx and CDx Memory Controller
2.11.4.3.3
M0 Memory Controller
2.11.4.4
RTDMA Burst Support
2.11.4.5
Atomic Memory Operations
2.11.4.6
RAM ECC
2.11.4.7
Read-Modify-Write Operations
2.11.4.8
Dataline Buffer
2.11.4.9
HSM Sync Bridge
2.11.4.10
Access Bridges
2.11.4.10.1
Debug Access Bridge
2.11.4.10.2
Global Access Bridge
2.11.4.10.3
Program Access Bridge
2.11.5
ROM
2.11.5.1
ROM Dataline Buffer
2.11.5.2
ROM Prefetch
2.11.6
Arbitration
2.11.7
Test Modes
2.11.8
Emulation Mode
2.12
System Control Register Configuration Restrictions
2.13
Software
2.13.1
SYSCTL Registers to Driverlib Functions
2.13.2
MEMSS Registers to Driverlib Functions
2.13.3
CPU Registers to Driverlib Functions
2.13.4
CPUTIMER Registers to Driverlib Functions
2.13.5
XINT Registers to Driverlib Functions
2.13.6
LPOST Registers to Driverlib Functions
2.13.7
SYSCTL Examples
2.13.7.1
Missing clock detection (MCD) - SINGLE_CORE
2.13.7.2
XCLKOUT (External Clock Output) Configuration - SINGLE_CORE
2.13.8
TIMER Examples
2.13.8.1
Timer Academy Lab - SINGLE_CORE
2.13.8.2
CPU Timers - SINGLE_CORE
2.13.8.3
CPU Timers - SINGLE_CORE
2.13.9
WATCHDOG Examples
2.13.9.1
Watchdog - SINGLE_CORE
2.13.10
LPM Examples
2.13.10.1
Low Power Modes: Device Idle Mode and Wakeup using GPIO - SINGLE_CORE
2.13.10.2
Low Power Modes: Device Idle Mode and Wakeup using Watchdog - SINGLE_CORE
2.13.10.3
Low Power Modes: Device Standby Mode and Wakeup using GPIO - SINGLE_CORE
2.13.10.4
Low Power Modes: Device Standby Mode and Wakeup using Watchdog - SINGLE_CORE
2.14
SYSCTRL Registers
2.14.1
SYSCTRL Base Address Table
2.14.2
DEV_CFG_REGS Registers
2.14.3
MEMSS_L_CONFIG_REGS Registers
2.14.4
MEMSS_C_CONFIG_REGS Registers
2.14.5
MEMSS_M_CONFIG_REGS Registers
2.14.6
MEMSS_MISCI_REGS Registers
2.14.7
SYNCBRIDGEMPU_REGS Registers
2.14.8
CPU_SYS_REGS Registers
2.14.9
CPU_PER_CFG_REGS Registers
2.14.10
WD_REGS Registers
2.14.11
CPUTIMER_REGS Registers
2.14.12
XINT_REGS Registers
3
ROM Code and Peripheral Booting
3.1
Introduction
3.1.1
ROM Related Collateral
3.2
Device Boot Sequence
3.3
Device Boot Modes
3.3.1
Default Boot Modes
3.3.2
Custom Boot Modes
3.4
Device Boot Configurations
3.4.1
Configuring Boot Mode Pins
3.4.2
Configuring Boot Mode Table Options
3.4.3
Boot Mode Example Use Cases
3.4.3.1
Zero Boot Mode Select Pins
3.4.3.2
One Boot Mode Select Pin
3.4.3.3
Three Boot Mode Select Pins
3.5
Device Boot Flow Diagrams
3.5.1
Device Boot Flow
3.5.2
CPU1 Boot Flow
3.5.3
Emulation Boot Flow
3.5.4
Standalone Boot Flow
3.6
Device Reset and Exception Handling
3.6.1
Reset Causes and Handling
3.6.2
Exceptions and Interrupts Handling
3.7
Boot ROM Description
3.7.1
Boot ROM Configuration Registers
3.7.1.1
MPOST and LPOST Configurations
3.7.2
Entry Points
3.7.3
Wait Points
3.7.4
Memory Maps
3.7.4.1
Boot ROM Memory-Maps
3.7.4.2
Reserved RAM Memory-Maps
3.7.5
BootROM SSU APRs
3.7.6
ROM Structure and Status Information
3.7.7
Boot Modes and Loaders
3.7.7.1
Boot Modes
3.7.7.1.1
Flash Boot
3.7.7.1.2
RAM Boot
3.7.7.1.3
Wait Boot
3.7.7.2
Bootloaders
3.7.7.2.1
SPI Boot Mode
3.7.7.2.2
I2C Boot Mode
3.7.7.2.3
Parallel Boot Mode
3.7.7.2.4
CAN Boot Mode
3.7.7.2.5
CAN-FD Boot Mode
3.7.7.2.6
UART Boot Mode
3.7.8
GPIO Assignments
3.7.9
HSM and C29x ROM Task Ownership and Interactions
3.7.9.1
Application Authentication by HSM
3.7.10
Boot Status Information
3.7.10.1
Booting Status
3.7.11
BootROM Timing
3.8
Software
3.8.1
BOOT Examples
4
Lockstep Compare Module (LCM)
4.1
Introduction
4.1.1
Features
4.1.2
Block Diagram
4.1.3
Lockstep Compare Modules
4.2
Enabling LCM Comparators
4.3
LCM Redundant Module Configuration
4.4
LCM Error Handling
4.5
Register Parity Error Protection
4.6
Functional Logic
4.6.1
Comparator Logic
4.6.2
Self-Test Logic
4.6.2.1
Match Test Mode
4.6.2.2
Mismatch Test Mode
4.6.3
Error Injection Tests
4.6.3.1
Comparator Error Force Test
4.6.3.2
Register Parity Error Test
4.7
Software
4.7.1
LCM Registers to Driverlib Functions
4.8
LCM Registers
4.8.1
LCM Base Address Table
4.8.2
LCM_REGS Registers
5
Peripheral Interrupt Priority and Expansion (PIPE)
5.1
Introduction
5.1.1
Features
5.1.2
Interrupt Concepts
5.1.3
PIPE Related Collateral
5.2
Interrupt Controller Architecture
5.2.1
Dynamic Priority Arbitration Block
5.2.2
Post Processing Block
5.2.3
Memory-Mapped Registers
5.3
Interrupt Propagation
5.4
Configuring Interrupts
5.4.1
Enabling and Disabling Interrupts
5.4.2
Prioritization
5.4.2.1
User-Configured Interrupt Priority
5.4.2.2
Index-Based Fixed Interrupt Priority
5.4.3
Interrupt Blocking
5.4.4
Nesting and Priority Grouping
5.4.5
Stack Protection
5.4.6
Context
5.4.7
Live Firmware Update (LFU) Vector Mapping
5.5
Safety and Security
5.5.1
Access Control
5.5.2
PIPE Errors
5.5.3
Register Data Integrity and Safety
5.5.4
Self-Test and Diagnostics
5.6
Software
5.6.1
PIPE Registers to Driverlib Functions
5.6.2
INTERRUPT Examples
5.6.2.1
RTINT vs INT Latency example - SINGLE_CORE
5.6.2.2
INT and RTINT Nesting Example - SINGLE_CORE
5.6.2.3
RTINT Nesting limit - SINGLE_CORE
5.7
PIPE Registers
5.7.1
PIPE Base Address Table
5.7.2
PIPE_REGS Registers
6
Error Aggregator
6.1
Introduction
6.2
Error Aggregator Modules
6.3
Error Propagation Path from Source to CPU
6.4
Error Aggregator Interface
6.4.1
Functional Description
6.5
Error Condition Handling User Guide
6.6
Error Type Information
6.7
Error Sources Information
6.8
Software
6.8.1
ERROR_AGGREGATOR Registers to Driverlib Functions
6.9
ERRORAGGREGATOR Registers
6.9.1
ERRORAGGREGATOR Base Address Table
6.9.2
HSM_ERROR_AGGREGATOR_CONFIG_REGS Registers
6.9.3
ERROR_AGGREGATOR_CONFIG_REGS Registers
7
Error Signaling Module (ESM_C29)
7.1
Introduction
7.1.1
Features
7.1.2
ESM Related Collateral
7.2
ESM Subsystem
7.2.1
System ESM
7.2.1.1
Error Pin Monitor Event
7.2.2
Safety Aggregator
7.2.2.1
EDC Controller Interface Description
7.2.2.2
Read Operation on EDC Controller
7.2.2.3
Write Operation on EDC Controller
7.2.2.4
Safety Aggregator Error Injection
7.2.3
ESM Subsystem Integration View
7.3
ESM Functional Description
7.3.1
Error Event Inputs
7.3.2
Error Interrupt Outputs
7.3.2.1
High-Priority Watchdog
7.3.2.2
Critical-Priority Interrupt Output
7.3.3
Error Pin Output (ERR_O/ERRORSTS)
7.3.3.1
Minimum Time Interval
7.3.3.2
PWM Mode
7.3.4
Reset Type Information for ESM Registers
7.3.5
Clock Stop
7.3.6
Commit/Lock for MMRs
7.3.7
Safety Protection for MMRs
7.3.8
Register Configuration Tieoffs
7.3.8.1
Group0 High-Priority Tieoff
7.3.8.2
High-Priority Watchdog Enable Tieoff
7.4
ESM Configuration Guide
7.5
Interrupt Condition Control and Handling
7.5.1
ESM Low-Priority Error Interrupt
7.5.2
ESM High-Priority Error Interrupt
7.5.3
Critical-Priority Error Interrupt
7.5.4
High-Priority Watchdog Interrupt
7.5.5
Safety Aggregator Interrupt Control and Handling
7.6
Software
7.6.1
ESM_CPU Registers to Driverlib Functions
7.6.2
ESM_SYS Registers to Driverlib Functions
7.6.3
ESM_SAFETY_AGGREGATOR Registers to Driverlib Functions
7.6.4
ESM Examples
7.6.4.1
ESM Multicore Example (CPU1,CPU3) - MULTI_CORE
7.6.4.2
ESM Multicore Example (CPU1,CPU3) - MULTI_CORE
7.6.4.3
ESM - SINGLE_CORE
7.6.4.4
ESM - SINGLE_CORE
7.7
ESM Registers
7.7.1
ESM Base Address Table
7.7.2
ESM_CPU_REGS Registers
7.7.3
ESM_SYSTEM_REGS Registers
7.7.4
ESM_SAFETYAGG_REGS Registers
7.7.5
EDC_REGS Registers
8
Flash Module
8.1
Introduction to Flash Memory
8.1.1
FLASH Related Collateral
8.1.2
Features
8.1.3
Flash Tools
8.1.4
Block Diagram
8.2
Flash Subsystem Overview
8.3
Flash Banks and Pumps
8.4
Flash Read Interfaces
8.4.1
Bank Modes and Swapping
8.4.2
Flash Wait States
8.4.3
Buffer and Cache Mechanisms
8.4.3.1
Prefetch Mechanism and Block Cache
8.4.3.2
Data Line Buffer
8.4.3.3
Sequential Data Pre-read Mode
8.4.4
Flash Read Arbitration
8.4.5
Error Correction Code (ECC) Protection
8.4.6
Procedure to Change Flash Read Interface Registers
8.5
Flash Erase and Program
8.5.1
Flash Semaphore and Update Protection
8.5.2
Erase
8.5.3
Program
8.6
Read-While-Write Constraints
8.7
Migrating an Application from RAM to Flash
8.8
Flash Registers
8.8.1
FLASH Base Address Table
8.8.2
FLASH_CMD_REGS_FLC1 Registers
8.8.3
FLASH_CMD_REGS_FLC2 Registers
8.8.4
FRI_CTRL_REGS Registers
9
Safety and Security Unit (SSU)
9.1
Introduction
9.1.1
SSU Related Collateral
9.1.2
Block Diagram
9.1.3
System SSU Configuration Example
9.2
Access Protection Ranges
9.2.1
Access Protection Inheritance
9.3
LINKs
9.4
STACKs
9.5
ZONEs
9.6
SSU-CPU Interface
9.6.1
SSU Operation in Lockstep Mode
9.7
SSU Operation Modes
9.8
Security Configuration and Flash Management
9.8.1
BANKMGMT Sectors
9.8.2
SECCFG Sectors
9.8.3
SECCFG Sector Address Mapping
9.8.4
SECCFG Sector Memory Map
9.8.5
SECCFG CRC
9.9
Flash Write/Erase Access Control
9.9.1
Permanent Flash Lock (Write/Erase Protection)
9.9.2
Updating Flash MAIN Sectors
9.9.3
Firmware-Over-The-Air Updates (FOTA)
9.9.4
Updating Flash SECCFG Sectors
9.9.5
Reading Flash SECCFG Sectors
9.10
RAMOPEN Feature
9.11
Booting of CPU2 and CPU3
9.12
Debug Authorization
9.12.1
Global CPU Debug Enable
9.12.2
ZONE Debug
9.12.3
Authentication for Debug Access
9.12.3.1
Password-based Authentication
9.12.3.2
CPU-based Authentication
9.13
Hardcoded Protections
9.14
SSU Register Access Permissions
9.14.1
Permissions for SSU General Control Registers
9.14.2
Permissions for SSU CPU1 Configuration Registers
9.14.3
Permissions for SSU CPU2+ Configuration Registers
9.14.4
Permissions for CPU1 Access Protection Registers
9.14.5
Permissions for CPU2+ Access Protection Registers
9.15
SSU Fault Signals
9.16
Software
9.16.1
SSU Registers to Driverlib Functions
9.17
SSU Registers
9.17.1
SSU Base Address Table
9.17.2
SSU_GEN_REGS Registers
9.17.3
SSU_CPU1_CFG_REGS Registers
9.17.4
SSU_CPU2_CFG_REGS Registers
9.17.5
SSU_CPU3_CFG_REGS Registers
9.17.6
SSU_CPU1_AP_REGS Registers
9.17.7
SSU_CPU2_AP_REGS Registers
9.17.8
SSU_CPU3_AP_REGS Registers
9.18
C29DEBUGSS Registers
9.18.1
C29DEBUGSS Base Address Table
9.18.2
SECAP_HANDLER_REGS Registers
10
Configurable Logic Block (CLB)
10.1
Introduction
10.1.1
CLB Related Collateral
10.2
Description
10.2.1
CLB Clock
10.3
CLB Input/Output Connection
10.3.1
Overview
10.3.2
CLB Input Selection
10.3.3
CLB Output Selection
10.3.4
CLB Output Signal Multiplexer
10.4
CLB Tile
10.4.1
Static Switch Block
10.4.2
Counter Block
10.4.2.1
Counter Description
10.4.2.2
Counter Operation
10.4.2.3
Serializer Mode
10.4.2.4
Linear Feedback Shift Register (LFSR) Mode
10.4.3
FSM Block
10.4.4
LUT4 Block
10.4.5
Output LUT Block
10.4.6
Asynchronous Output Conditioning (AOC) Block
10.4.7
High Level Controller (HLC)
10.4.7.1
High Level Controller Events
10.4.7.2
High Level Controller Instructions
10.4.7.3
<Src> and <Dest>
10.4.7.4
Operation of the PUSH and PULL Instructions (Overflow and Underflow Detection)
10.5
CPU Interface
10.5.1
Register Description
10.5.2
Non-Memory Mapped Registers
10.6
RTDMA Access
10.7
CLB Data Export Through SPI RX Buffer
10.8
CLB Pipeline Mode
10.9
Software
10.9.1
CLB Registers to Driverlib Functions
10.9.2
CLB Examples
10.9.2.1
CLB Example Lab - SINGLE_CORE
10.9.2.2
CLB eCAP Example Lab - SINGLE_CORE
10.9.2.3
CLB Combinational Logic - SINGLE_CORE
10.9.2.4
CLB GPIO Input Filter - SINGLE_CORE
10.9.2.5
CLB Auxilary PWM - SINGLE_CORE
10.9.2.6
CLB PWM Protection - SINGLE_CORE
10.10
CLB Registers
10.10.1
CLB Base Address Table
10.10.2
CLB_LOGIC_CONFIG_REGS Registers
10.10.3
CLB_LOGIC_CONTROL_REGS Registers
10.10.4
CLB_DATA_EXCHANGE_REGS Registers
11
Dual-Clock Comparator (DCC)
11.1
Introduction
11.1.1
Features
11.1.2
Block Diagram
11.2
Module Operation
11.2.1
Configuring DCC Counters
11.2.2
Single-Shot Measurement Mode
11.2.3
Continuous Monitoring Mode
11.2.4
Error Conditions
11.3
Interrupts
11.4
Software
11.4.1
DCC Registers to Driverlib Functions
11.4.2
DCC Examples
11.4.2.1
DCC Single shot Clock verification - SINGLE_CORE
11.4.2.2
DCC Single shot Clock measurement - SINGLE_CORE
11.4.2.3
DCC Continuous clock monitoring - SINGLE_CORE
11.5
DCC Registers
11.5.1
DCC Base Address Table
11.5.2
DCC_REGS Registers
12
Real-Time Direct Memory Access (RTDMA)
12.1
Introduction
12.1.1
Features
12.1.2
RTDMA Related Collateral
12.1.3
Block Diagram
12.2
RTDMA Trigger Source Options
12.3
RTDMA Bus
12.4
Address Pointer and Transfer Control
12.5
Pipeline Timing and Throughput
12.6
Channel Priority
12.6.1
Round-Robin Mode
12.6.2
Software Configurable Priority of Channels
12.7
Overrun Detection Feature
12.8
Burst Mode
12.9
Safety and Security
12.9.1
Safety
12.9.1.1
Lockstep Mode
12.9.1.2
Memory Protection Unit (MPU)
12.9.1.2.1
MPU Errors
12.9.2
Security
12.9.3
RTDMA Errors
12.9.4
Self-Test and Diagnostics
12.10
Software
12.10.1
RTDMA Registers to Driverlib Functions
12.10.2
RTDMA Examples
12.10.2.1
RTDMA Academy Lab - SINGLE_CORE
12.10.2.2
RTDMA Transfer - SINGLE_CORE
12.10.2.3
RTDMA Transfer with MPU - SINGLE_CORE
12.10.2.4
RTDMA - MULTI_CORE
12.10.2.5
RTDMA Example - MULTI_CORE
12.10.2.6
RTDMA example with Resource Allocator - MULTI_CORE
12.10.2.7
RTDMA example with Resource Allocator - MULTI_CORE
12.11
RTDMA Registers
12.11.1
RTDMA Base Address Table
12.11.2
RTDMA_REGS Registers
12.11.3
RTDMA_DIAG_REGS Registers
12.11.4
RTDMA_SELFTEST_REGS Registers
12.11.5
RTDMA_MPU_REGS Registers
12.11.6
RTDMA_CH_REGS Registers
13
External Memory Interface (EMIF)
13.1
Introduction
13.1.1
Purpose of the Peripheral
13.1.2
Features
13.1.2.1
Asynchronous Memory Support
13.1.2.2
Synchronous DRAM Memory Support
13.1.3
Functional Block Diagram
13.1.4
Configuring Device Pins
13.2
EMIF Module Architecture
13.2.1
EMIF Clock Control
13.2.2
EMIF Requests
13.2.3
EMIF Signal Descriptions
13.2.4
EMIF Signal Multiplexing Control
13.2.5
SDRAM Controller and Interface
13.2.5.1
SDRAM Commands
13.2.5.2
Interfacing to SDRAM
13.2.5.3
SDRAM Configuration Registers
13.2.5.4
SDRAM Auto-Initialization Sequence
13.2.5.5
SDRAM Configuration Procedure
13.2.5.6
EMIF Refresh Controller
13.2.5.6.1
Determining the Appropriate Value for the RR Field
13.2.5.7
Self-Refresh Mode
13.2.5.8
Power-Down Mode
13.2.5.9
SDRAM Read Operation
13.2.5.10
SDRAM Write Operations
13.2.5.11
Mapping from Logical Address to EMIF Pins
13.2.6
Asynchronous Controller and Interface
13.2.6.1
Interfacing to Asynchronous Memory
13.2.6.2
Accessing Larger Asynchronous Memories
13.2.6.3
Configuring EMIF for Asynchronous Accesses
13.2.6.4
Read and Write Operations in Normal Mode
13.2.6.4.1
Asynchronous Read Operations (Normal Mode)
13.2.6.4.2
Asynchronous Write Operations (Normal Mode)
13.2.6.5
Read and Write Operation in Select Strobe Mode
13.2.6.5.1
Asynchronous Read Operations (Select Strobe Mode)
13.2.6.5.2
Asynchronous Write Operations (Select Strobe Mode)
13.2.6.6
Extended Wait Mode and the EM1WAIT Pin
13.2.7
Data Bus Parking
13.2.8
Reset and Initialization Considerations
13.2.9
Interrupt Support
13.2.9.1
Interrupt Events
13.2.10
RTDMA Event Support
13.2.11
EMIF Signal Multiplexing
13.2.12
Memory Map
13.2.13
Priority and Arbitration
13.2.14
System Considerations
13.2.14.1
Asynchronous Request Times
13.2.15
Power Management
13.2.15.1
Power Management Using Self-Refresh Mode
13.2.15.2
Power Management Using Power Down Mode
13.2.16
Emulation Considerations
13.3
EMIF Subsystem (EMIFSS)
13.3.1
Burst Support
13.3.2
EMIFSS Performance Improvement
13.3.3
Buffer Module
13.3.3.1
CPU Write FIFO
13.3.4
Emulation Mode
13.4
Example Configuration
13.4.1
Hardware Interface
13.4.2
Software Configuration
13.4.2.1
Configuring the SDRAM Interface
13.4.2.1.1
PLL Programming for EMIF to K4S641632H-TC(L)70 Interface
13.4.2.1.2
SDRAM Timing Register (SDRAM_TR) Settings for EMIF to K4S641632H-TC(L)70 Interface
13.4.2.1.3
SDRAM Self Refresh Exit Timing Register (SDR_EXT_TMNG) Settings for EMIF to K4S641632H-TC(L)70 Interface
13.4.2.1.4
SDRAM Refresh Control Register (SDRAM_RCR) Settings for EMIF to K4S641632H-TC(L)70 Interface
13.4.2.1.5
SDRAM Configuration Register (SDRAM_CR) Settings for EMIF to K4S641632H-TC(L)70 Interface
13.4.2.2
Configuring the Flash Interface
13.4.2.2.1
Asynchronous 1 Configuration Register (ASYNC_CS2_CFG) Settings for EMIF to LH28F800BJE-PTTL90 Interface
13.5
Software
13.5.1
EMIF Registers to Driverlib Functions
13.5.2
EMIF Examples
13.6
EMIF Registers
13.6.1
EMIF Base Address Table
13.6.2
EMIF_REGS Registers
14
General-Purpose Input/Output (GPIO)
14.1
Introduction
14.1.1
GPIO Related Collateral
14.2
Configuration Overview
14.3
Digital Inputs on ADC Pins (AIOs)
14.4
Digital Inputs and Outputs on ADC Pins (AGPIOs)
14.5
Digital General-Purpose I/O Control
14.6
Input Qualification
14.6.1
No Synchronization (Asynchronous Input)
14.6.2
Synchronization to SYSCLKOUT Only
14.6.3
Qualification Using a Sampling Window
14.7
PMBUS and I2C Signals
14.8
GPIO and Peripheral Muxing
14.8.1
GPIO Muxing
14.8.2
Peripheral Muxing
14.9
Internal Pullup Configuration Requirements
14.10
Open-Drain Configuration Requirements
14.11
Software
14.11.1
GPIO Registers to Driverlib Functions
14.11.2
GPIO Examples
14.11.2.1
Device GPIO Toggle - SINGLE_CORE
14.11.2.2
XINT/XBAR example - SINGLE_CORE
14.11.2.3
External Interrupt (XINT) - SINGLE_CORE
14.11.3
LED Examples
14.11.3.1
LED Blinky Example - MULTI_CORE
14.11.3.2
LED Blinky Example (CPU1,CPU3) - MULTI_CORE
14.11.3.3
LED Blinky example - SINGLE_CORE
14.11.3.4
LED Blinky Example (CPU1|CPU2|CPU3) - MULTI_CORE
14.11.3.5
LED Blinky Example (CPU2) - MULTI_CORE
14.11.3.6
LED Blinky Example (CPU3) - MULTI_CORE
14.11.3.7
LED Blinky Example - MULTI_CORE
14.11.3.8
LED Blinky Example (CPU1,CPU3) - MULTI_CORE
14.12
GPIO Registers
14.12.1
GPIO Base Address Table
14.12.2
GPIO_CTRL_REGS Registers
14.12.3
GPIO_DATA_REGS Registers
14.12.4
GPIO_DATA_READ_REGS Registers
15
Interprocessor Communication (IPC)
15.1
Introduction
15.2
IPC Flags and Interrupts
15.3
IPC Command Registers
15.4
Free-Running Counter
15.5
IPC Communication Protocol
15.6
Software
15.6.1
IPC Registers to Driverlib Functions
15.6.2
IPC Examples
15.6.2.1
IPC basic message passing example with interrupt - MULTI_CORE
15.6.2.2
IPC basic message passing example with interrupt - MULTI_CORE
15.6.2.3
IPC basic message passing example with interrupt - MULTI_CORE
15.6.2.4
IPC basic message passing example with interrupt - MULTI_CORE
15.6.2.5
IPC basic message passing example with interrupt - MULTI_CORE
15.6.2.6
IPC basic message passing example with interrupt - MULTI_CORE
15.7
IPC Registers
15.7.1
IPC Base Address Table
15.7.2
IPC_COUNTER_REGS Registers
15.7.3
CPU1_IPC_SEND_REGS Registers
15.7.4
CPU2_IPC_SEND_REGS Registers
15.7.5
CPU3_IPC_SEND_REGS Registers
15.7.6
CPU1_IPC_RCV_REGS Registers
15.7.7
CPU2_IPC_RCV_REGS Registers
15.7.8
CPU3_IPC_RCV_REGS Registers
16
Embedded Real-time Analysis and Diagnostic (ERAD)
16.1
Introduction
16.2
Enhanced Bus Comparator Unit
16.2.1
Enhanced Bus Comparator Unit Operations
16.2.2
Stack Qualification
16.2.3
Event Masking and Exporting
16.3
System Event Counter Unit
16.3.1
System Event Counter Modes
16.3.1.1
Counting Active Levels Versus Edges
16.3.1.2
Max and Min Mode
16.3.1.3
Cumulative Mode
16.3.1.4
Input Signal Selection
16.3.2
Reset on Event
16.3.3
Operation Conditions
16.4
Program Counter Trace
16.4.1
Built-in CCS™ Trace
16.4.2
Functional Block Diagram
16.4.3
Trace Qualification Modes
16.4.3.1
Trace Input Signal Conditioning
16.4.4
Trace Memory
16.4.5
PC Trace Software Operation
16.4.6
Trace Operation in Debug Mode
16.5
ERAD Ownership, Initialization, and Reset
16.5.1
Feature Level Ownership
16.5.2
Feature Access Security Mechanism
16.5.3
PC Trace Access Security Mechanism
16.6
ERAD Programming Sequence
16.6.1
Hardware Breakpoint and Hardware Watch Point Programming Sequence
16.6.2
Timer and Counter Programming Sequence
16.7
Software
16.7.1
ERAD Registers to Driverlib Functions
17
Data Logger and Trace (DLT)
17.1
Introduction
17.1.1
Features
17.1.2
DLT Related Collateral
17.1.3
Interfaces
17.1.3.1
Block Diagram
17.2
Functional Overview
17.2.1
DLT Configuration
17.2.1.1
LINK Filter
17.2.1.2
TAG Filter
17.2.1.3
ERAD Event Trigger
17.2.1.4
Concurrent FILTERING modes
17.2.2
Time-stamping
17.2.3
FIFO Construction
17.2.3.1
FIFO Interrupt
17.3
Software
17.3.1
DLT Registers to Driverlib Functions
17.3.2
DLT Examples
17.3.2.1
DLT TAG filter example - SINGLE_CORE
17.3.2.2
DLT TAG filter example - SINGLE_CORE
17.3.2.3
DLT ERAD filter example - SINGLE_CORE
17.4
DLT Registers
17.4.1
DLT Base Address Table
17.4.2
DLT_CORE_REGS Registers
17.4.3
DLT_FIFO_REGS Registers
18
Waveform Analyzer Diagnostic (WADI)
18.1
WADI Overview
18.1.1
Features
18.1.2
WADI Related Collateral
18.1.3
Block Diagram
18.1.4
Description
18.2
Signal and Trigger Input Configuration
18.2.1
SIG1 and SIG2 Configuration
18.2.2
Trigger 1 and Trigger 2
18.3
WADI Block
18.3.1
Overview
18.3.2
Counters
18.3.3
Pulse Width
18.3.3.1
Pulse Width Single Measurement
18.3.3.2
Pulse Width Aggregation
18.3.3.3
Pulse Width Average and Peak
18.3.4
Edge Count
18.3.4.1
Edge Count with Fixed Window
18.3.4.2
Edge Count with Moving Window
18.3.5
Signal1 to Signal2 Comparison
18.3.6
Dead Band and Phase
18.3.7
Simultaneous Measurement
18.4
Safe State Sequencer (SSS)
18.4.1
SSS Configuration
18.5
Lock and Commit Registers
18.6
Interrupt and Error Handling
18.7
RTDMA Interfaces
18.7.1
RTDMA Trigger
18.8
Software
18.8.1
WADI Registers to Driverlib Functions
18.8.2
WADI Examples
18.8.2.1
WADI Pulse Width Measurement - SINGLE_CORE
18.8.2.2
WADI Frequency Measurement - SINGLE_CORE
18.8.2.3
WADI Phase Overlap Measurement - SINGLE_CORE
18.8.2.4
WADI Deadband Measurement - SINGLE_CORE
18.8.2.5
WADI Frequency Measurement with SSS - SINGLE_CORE
18.8.2.6
WADI Pulse Wdith Check with DMA trigger - SINGLE_CORE
18.9
WADI Registers
18.9.1
WADI Base Address Table
18.9.2
WADI_CONFIG_REGS Registers
18.9.3
WADI_OPER_SSS_REGS Registers
19
Crossbar (X-BAR)
19.1
X-BAR Related Collateral
19.2
Input X-BAR, ICL XBAR, MINDB XBAR
19.2.1
ICL and MINDB X-BAR
19.3
ePWM , CLB, and GPIO Output X-BAR
19.3.1
ePWM X-BAR
19.3.1.1
ePWM X-BAR Architecture
19.3.2
CLB X-BAR
19.3.2.1
CLB X-BAR Architecture
19.3.3
GPIO Output X-BAR
19.3.3.1
GPIO Output X-BAR Architecture
19.3.4
X-BAR Flags
19.4
Software
19.4.1
INPUT_XBAR Registers to Driverlib Functions
19.4.2
EPWM_XBAR Registers to Driverlib Functions
19.4.3
CLB_XBAR Registers to Driverlib Functions
19.4.4
OUTPUT_XBAR Registers to Driverlib Functions
19.4.5
MDL_XBAR Registers to Driverlib Functions
19.4.6
ICL_XBAR Registers to Driverlib Functions
19.4.7
XBAR Registers to Driverlib Functions
19.4.8
XBAR Examples
19.4.8.1
Input XBAR to Output XBAR Connection - SINGLE_CORE
19.4.8.2
Output XBAR Pulse Stretch - SINGLE_CORE
19.5
XBAR Registers
19.5.1
XBAR Base Address Table
19.5.2
INPUT_XBAR_REGS Registers
19.5.3
EPWM_XBAR_REGS Registers
19.5.4
CLB_XBAR_REGS Registers
19.5.5
OUTPUTXBAR_REGS Registers
19.5.6
MDL_XBAR_REGS Registers
19.5.7
ICL_XBAR_REGS Registers
19.5.8
OUTPUTXBAR_FLAG_REGS Registers
19.5.9
XBAR_REGS Registers
20
Embedded Pattern Generator (EPG)
20.1
Introduction
20.1.1
Features
20.1.2
EPG Block Diagram
20.1.3
EPG Related Collateral
20.2
Clock Generator Modules
20.2.1
DCLK (50% duty cycle clock)
20.2.2
Clock Stop
20.3
Signal Generator Module
20.4
EPG Peripheral Signal Mux Selection
20.5
Application Software Notes
20.6
EPG Example Use Cases
20.6.1
EPG Example: Synchronous Clocks with Offset
20.6.1.1
Synchronous Clocks with Offset Register Configuration
20.6.2
EPG Example: Serial Data Bit Stream (LSB first)
20.6.2.1
Serial Data Bit Stream (LSB first) Register Configuration
20.6.3
EPG Example: Serial Data Bit Stream (MSB first)
20.6.3.1
Serial Data Bit Stream (MSB first) Register Configuration
20.6.4
EPG Example: Clock and Data Pair
20.6.4.1
Clock and Data Pair Register Configuration
20.6.5
EPG Example: Clock and Skewed Data Pair
20.6.5.1
Clock and Skewed Data Pair Register Configuration
20.6.6
EPG Example: Capturing Serial Data with a Known Baud Rate
20.6.6.1
Capturing Serial Data with a Known Baud Rate Register Configuration
20.7
EPG Interrupt
20.8
Software
20.8.1
EPG Registers to Driverlib Functions
20.8.2
EPG Examples
20.8.2.1
EPG Generating Synchronous Clocks - SINGLE_CORE
20.8.2.2
EPG Generating Two Offset Clocks - SINGLE_CORE
20.8.2.3
EPG Generating Two Offset Clocks With SIGGEN - SINGLE_CORE
20.8.2.4
EPG Generate Serial Data - SINGLE_CORE
20.8.2.5
EPG Generate Serial Data Shift Mode - SINGLE_CORE
20.9
EPG Registers
20.9.1
EPG Base Address Table
20.9.2
EPG_REGS Registers
20.9.3
EPG_MUX_REGS Registers
► ANALOG PERIPHERALS
Technical Reference Manual Overview
21
Analog Subsystem
21.1
Introduction
21.1.1
Features
21.1.2
Block Diagram
21.2
Optimizing Power-Up Time
21.3
Digital Inputs on ADC Pins (AIOs)
21.4
Digital Inputs and Outputs on ADC Pins (AGPIOs)
21.5
Analog Pins and Internal Connections
21.6
Software
21.6.1
ASYSCTL Registers to Driverlib Functions
21.7
Lock Registers
21.8
ASBSYS Registers
21.8.1
ASBSYS Base Address Table
21.8.2
ANALOG_SUBSYS_REGS Registers
22
Analog-to-Digital Converter (ADC)
22.1
Introduction
22.1.1
Features
22.1.2
ADC Related Collateral
22.1.3
Block Diagram
22.2
ADC Configurability
22.2.1
ADC Clock Configuration
22.2.2
Resolution
22.2.3
Voltage Reference
22.2.3.1
External Reference Mode
22.2.3.2
Internal Reference Mode
22.2.3.3
Ganged References
22.2.3.4
Selecting Reference Mode
22.2.4
Signal Mode
22.2.4.1
Expected Conversion Results
22.2.4.2
Interpreting Conversion Results
22.3
SOC Principle of Operation
22.3.1
ADC Sequencer
22.3.2
SOC Configuration
22.3.3
Trigger Operation
22.3.3.1
Global Software Trigger
22.3.3.2
Trigger Repeaters
22.3.3.2.1
Oversampling Mode
22.3.3.2.2
Undersampling Mode
22.3.3.2.3
Trigger Phase Delay
22.3.3.2.4
Re-trigger Spread
22.3.3.2.5
Trigger Repeater Configuration
22.3.3.2.5.1
Register Shadow Updates
22.3.3.2.6
Re-Trigger Logic
22.3.3.2.7
Multi-Path Triggering Behavior
22.3.4
ADC Acquisition (Sample and Hold) Window
22.3.5
ADC Input Models
22.3.6
Channel Selection
22.3.6.1
External Channel Selection
22.3.6.1.1
External Channel Selection Timing
22.4
SOC Configuration Examples
22.4.1
Single Conversion from ePWM Trigger
22.4.2
Oversampled Conversion from ePWM Trigger
22.4.3
Multiple Conversions from CPU Timer Trigger
22.4.4
Software Triggering of SOCs
22.5
ADC Conversion Priority
22.6
Burst Mode
22.6.1
Burst Mode Example
22.6.2
Burst Mode Priority Example
22.7
EOC and Interrupt Operation
22.7.1
Interrupt Overflow
22.7.2
Continue to Interrupt Mode
22.7.3
Early Interrupt Configuration Mode
22.8
Post-Processing Blocks
22.8.1
PPB Offset Correction
22.8.2
PPB Error Calculation
22.8.3
PPB Result Delta Calculation
22.8.4
PPB Limit Detection and Zero-Crossing Detection
22.8.4.1
PPB Digital Trip Filter
22.8.5
PPB Oversampling
22.8.5.1
Accumulation, Minimum, Maximum, and Average Functions
22.8.5.2
Outlier Rejection
22.9
Result Safety Checker
22.9.1
Result Safety Checker Operation
22.9.2
Result Safety Checker Interrupts and Events
22.10
Opens/Shorts Detection Circuit (OSDETECT)
22.10.1
Open Short Detection Implementation
22.10.2
Detecting an Open Input Pin
22.10.3
Detecting a Shorted Input Pin
22.11
Power-Up Sequence
22.12
ADC Calibration
22.12.1
ADC Zero Offset Calibration
22.13
ADC Timings
22.13.1
ADC Timing Diagrams
22.13.2
Post-Processing Block Timings
22.14
Additional Information
22.14.1
Ensuring Synchronous Operation
22.14.1.1
Basic Synchronous Operation
22.14.1.2
Synchronous Operation with Multiple Trigger Sources
22.14.1.3
Synchronous Operation with Uneven SOC Numbers
22.14.1.4
Synchronous Operation with Different Resolutions
22.14.1.5
Non-overlapping Conversions
22.14.2
Choosing an Acquisition Window Duration
22.14.3
Achieving Simultaneous Sampling
22.14.4
Result Register Mapping
22.14.5
Internal Temperature Sensor
22.14.6
Designing an External Reference Circuit
22.14.7
Internal Test Mode
22.14.8
ADC Gain and Offset Calibration
22.15
Software
22.15.1
ADC Registers to Driverlib Functions
22.15.2
ADC Examples
22.15.2.1
Using Analog Subsystems Lab - Sysconfig - SINGLE_CORE
22.15.2.2
ADC Software Triggering - SINGLE_CORE
22.15.2.3
ADC ePWM Triggering - SINGLE_CORE
22.15.2.4
ADC Temperature Sensor Conversion - SINGLE_CORE
22.15.2.5
ADC Synchronous SOC Software Force (adc_soc_software_sync) - SINGLE_CORE
22.15.2.6
ADC Continuous Triggering (adc_soc_continuous) - SINGLE_CORE
22.15.2.7
ADC Continuous Conversions Read by DMA (adc_soc_continuous_dma) - SINGLE_CORE
22.15.2.8
ADC PPB Offset (adc_ppb_offset) - SINGLE_CORE
22.15.2.9
ADC PPB Limits (adc_ppb_limits) - SINGLE_CORE
22.15.2.10
ADC PPB Delay Capture (adc_ppb_delay) - SINGLE_CORE
22.15.2.11
ADC ePWM Triggering Multiple SOC - SINGLE_CORE
22.15.2.12
ADC Burst Mode - SINGLE_CORE
22.15.2.13
ADC Burst Mode Oversampling - SINGLE_CORE
22.15.2.14
ADC SOC Oversampling - SINGLE_CORE
22.15.2.15
ADC PPB PWM trip (adc_ppb_pwm_trip) - SINGLE_CORE
22.15.2.16
ADC Trigger Repeater Oversampling - SINGLE_CORE
22.15.2.17
ADC Trigger Repeater Undersampling - SINGLE_CORE
22.15.2.18
ADC Safety Checker - SINGLE_CORE
22.15.2.19
ADC Fast Oversampling (with Trigger Repeater) - SINGLE_CORE
22.16
ADC Registers
22.16.1
ADC Base Address Table
22.16.2
ADC_RESULT_REGS Registers
22.16.3
ADC_REGS Registers
22.16.4
ADC_SAFECHECK_REGS Registers
22.16.5
ADC_SAFECHECK_INTEVT_REGS Registers
22.16.6
ADC_GLOBAL_REGS Registers
23
Buffered Digital-to-Analog Converter (DAC)
23.1
Introduction
23.1.1
DAC Related Collateral
23.1.2
DAC Features
23.1.3
Block Diagram
23.2
Using the DAC
23.2.1
Initialization Sequence
23.2.2
DAC Offset Adjustment
23.2.3
EPWMSYNCPER Signal
23.3
Lock Registers
23.4
Software
23.4.1
DAC Registers to Driverlib Functions
23.4.2
DAC Examples
23.4.2.1
Buffered DAC Enable - SINGLE_CORE
23.4.2.2
Buffered DAC Random - SINGLE_CORE
23.5
DAC Registers
23.5.1
DAC Base Address Table
23.5.2
DAC_REGS Registers
24
Comparator Subsystem (CMPSS)
24.1
Introduction
24.1.1
Features
24.1.2
CMPSS Related Collateral
24.1.3
Block Diagram
24.2
Comparator
24.3
Reference DAC
24.4
Ramp Generator
24.4.1
Ramp Generator Overview
24.4.2
Ramp Generator Behavior
24.4.3
Ramp Generator Behavior at Corner Cases
24.5
Digital Filter
24.5.1
Filter Initialization Sequence
24.6
Using the CMPSS
24.6.1
LATCHCLR, EPWMSYNCPER, and EPWMBLANK Signals
24.6.2
Synchronizer, Digital Filter, and Latch Delays
24.6.3
Calibrating the CMPSS
24.6.4
Enabling and Disabling the CMPSS Clock
24.7
Software
24.7.1
CMPSS Registers to Driverlib Functions
24.7.2
CMPSS Examples
24.7.2.1
CMPSS Asynchronous Trip - SINGLE_CORE
24.7.2.2
CMPSS Digital Filter Configuration - SINGLE_CORE
24.8
CMPSS Registers
24.8.1
CMPSS Base Address Table
24.8.2
CMPSS_REGS Registers
24.8.3
CMPSS_LITE_REGS Registers
24.9
CMPSS Registers
24.9.1
CMPSS Base Address Table
24.9.2
CMPSS_REGS Registers
► CONTROL PERIPHERALS
Technical Reference Manual Overview
25
Enhanced Capture (eCAP)
25.1
Introduction
25.1.1
Features
25.1.2
ECAP Related Collateral
25.2
Description
25.3
Configuring Device Pins for the eCAP
25.4
Capture and APWM Operating Mode
25.5
Capture Mode Description
25.5.1
Event Prescaler
25.5.2
Glitch Filter
25.5.3
Edge Polarity Select and Qualifier
25.5.4
Continuous/One-Shot Control
25.5.5
32-Bit Counter and Phase Control
25.5.6
CAP1-CAP4 Registers
25.5.7
eCAP Synchronization
25.5.7.1
Example 1 - Using SWSYNC with ECAP Module
25.5.8
Interrupt Control
25.5.9
RTDMA Interrupt
25.5.10
ADC SOC Event
25.5.11
Shadow Load and Lockout Control
25.5.12
APWM Mode Operation
25.5.13
Signal Monitoring Unit
25.5.13.1
Pulse Width and Period Monitoring
25.5.13.1.1
eCAP - eCAP Global Strobe Selection
25.5.13.2
Edge Monitoring
25.6
Application of the eCAP Module
25.6.1
Example 1 - Absolute Time-Stamp Operation Rising-Edge Trigger
25.6.2
Example 2 - Absolute Time-Stamp Operation Rising- and Falling-Edge Trigger
25.6.3
Example 3 - Time Difference (Delta) Operation Rising-Edge Trigger
25.6.4
Example 4 - Time Difference (Delta) Operation Rising- and Falling-Edge Trigger
25.7
Application of the APWM Mode
25.7.1
Example 1 - Simple PWM Generation (Independent Channels)
25.8
Software
25.8.1
ECAP Registers to Driverlib Functions
25.8.2
ECAP Examples
25.8.2.1
eCAP APWM Phase-shift Example - SINGLE_CORE
25.8.2.2
eCAP APWM Example - SINGLE_CORE
25.8.2.3
eCAP Capture PWM Example - SINGLE_CORE
25.8.2.4
eCAP APWM Phase-shift Example - SINGLE_CORE
25.8.2.5
ecap_ex4_dma_transfer - SINGLE_CORE
25.9
ECAP Registers
25.9.1
ECAP Base Address Table
25.9.2
ECAP_REGS Registers
25.9.3
ECAP_SIGNAL_MONITORING Registers
25.9.4
HRCAP_REGS Registers
26
High Resolution Capture (HRCAP)
26.1
Introduction
26.1.1
HRCAP Related Collateral
26.1.2
Features
26.1.3
Description
26.2
Operational Details
26.2.1
HRCAP Clocking
26.2.2
HRCAP Initialization Sequence
26.2.3
HRCAP Interrupts
26.2.4
HRCAP Calibration
26.2.4.1
Applying the Scale Factor
26.3
Known Exceptions
26.4
Software
26.4.1
HRCAP Examples
26.4.1.1
HRCAP Capture and Calibration Example - SINGLE_CORE
26.5
HRCAP Registers
26.5.1
HRCAP Base Address Table
26.5.2
HRCAP_REGS Registers
27
Enhanced Pulse Width Modulator (ePWM)
27.1
Introduction
27.1.1
EPWM Related Collateral
27.1.2
Submodule Overview
27.2
Configuring Device Pins
27.3
ePWM Modules Overview
27.4
Time-Base (TB) Submodule
27.4.1
Purpose of the Time-Base Submodule
27.4.2
Controlling and Monitoring the Time-Base Submodule
27.4.3
Calculating PWM Period and Frequency
27.4.3.1
Time-Base Period Shadow Register
27.4.3.2
Time-Base Clock Synchronization
27.4.3.3
Time-Base Counter Synchronization
27.4.3.4
ePWM SYNC Selection
27.4.4
Phase Locking the Time-Base Clocks of Multiple ePWM Modules
27.4.5
Simultaneous Writes Between ePWM Register Instances
27.4.6
Time-Base Counter Modes and Timing Waveforms
27.4.7
Global Load
27.4.7.1
Global Load Pulse Pre-Scalar
27.4.7.2
One-Shot Load Mode
27.4.7.3
One-Shot Sync Mode
27.5
Counter-Compare (CC) Submodule
27.5.1
Purpose of the Counter-Compare Submodule
27.5.2
Controlling and Monitoring the Counter-Compare Submodule
27.5.3
Operational Highlights for the Counter-Compare Submodule
27.5.4
Count Mode Timing Waveforms
27.6
Action-Qualifier (AQ) Submodule
27.6.1
Purpose of the Action-Qualifier Submodule
27.6.2
Action-Qualifier Submodule Control and Status Register Definitions
27.6.3
Action-Qualifier Event Priority
27.6.4
AQCTLA and AQCTLB Shadow Mode Operations
27.6.5
Configuration Requirements for Common Waveforms
27.7
XCMP Complex Waveform Generator Mode
27.7.1
XCMP Allocation to CMPA and CMPB
27.7.2
XCMP Shadow Buffers
27.7.3
XCMP Operation
27.8
Dead-Band Generator (DB) Submodule
27.8.1
Purpose of the Dead-Band Submodule
27.8.2
Dead-band Submodule Additional Operating Modes
27.8.3
Operational Highlights for the Dead-Band Submodule
27.9
PWM Chopper (PC) Submodule
27.9.1
Purpose of the PWM Chopper Submodule
27.9.2
Operational Highlights for the PWM Chopper Submodule
27.9.3
Waveforms
27.9.3.1
One-Shot Pulse
27.9.3.2
Duty Cycle Control
27.10
Trip-Zone (TZ) Submodule
27.10.1
Purpose of the Trip-Zone Submodule
27.10.2
Operational Highlights for the Trip-Zone Submodule
27.10.2.1
Trip-Zone Configurations
27.10.3
Generating Trip Event Interrupts
27.11
Diode Emulation (DE) Submodule
27.11.1
DEACTIVE Mode
27.11.2
Exiting DE Mode
27.11.3
Re-Entering DE Mode
27.11.4
DE Monitor
27.12
Minimum Dead-Band (MINDB) + Illegal Combination Logic (ICL) Submodules
27.12.1
Minimum Dead-Band (MINDB)
27.12.2
Illegal Combo Logic (ICL)
27.13
Event-Trigger (ET) Submodule
27.13.1
Operational Overview of the ePWM Event-Trigger Submodule
27.14
Digital Compare (DC) Submodule
27.14.1
Purpose of the Digital Compare Submodule
27.14.2
Enhanced Trip Action Using CMPSS
27.14.3
Using CMPSS to Trip the ePWM on a Cycle-by-Cycle Basis
27.14.4
Operation Highlights of the Digital Compare Submodule
27.14.4.1
Digital Compare Events
27.14.4.2
Event Filtering
27.14.4.3
Valley Switching
27.14.4.4
Event Detection
27.14.4.4.1
Input Signal Detection
27.14.4.4.2
MIN and MAX Detection Circuit
27.15
ePWM Crossbar (X-BAR)
27.16
Applications to Power Topologies
27.16.1
Overview of Multiple Modules
27.16.2
Key Configuration Capabilities
27.16.3
Controlling Multiple Buck Converters With Independent Frequencies
27.16.4
Controlling Multiple Buck Converters With Same Frequencies
27.16.5
Controlling Multiple Half H-Bridge (HHB) Converters
27.16.6
Controlling Dual 3-Phase Inverters for Motors (ACI and PMSM)
27.16.7
Practical Applications Using Phase Control Between PWM Modules
27.16.8
Controlling a 3-Phase Interleaved DC/DC Converter
27.16.9
Controlling Zero Voltage Switched Full Bridge (ZVSFB) Converter
27.16.10
Controlling a Peak Current Mode Controlled Buck Module
27.16.11
Controlling H-Bridge LLC Resonant Converter
27.17
Register Lock Protection
27.18
High-Resolution Pulse Width Modulator (HRPWM)
27.18.1
Operational Description of HRPWM
27.18.1.1
Controlling the HRPWM Capabilities
27.18.1.2
HRPWM Source Clock
27.18.1.3
Configuring the HRPWM
27.18.1.4
Configuring High-Resolution in Deadband Rising-Edge and Falling-Edge Delay
27.18.1.5
Principle of Operation
27.18.1.5.1
Edge Positioning
27.18.1.5.2
Scaling Considerations
27.18.1.5.3
Duty Cycle Range Limitation
27.18.1.5.4
High-Resolution Period
27.18.1.5.4.1
High-Resolution Period Configuration
27.18.1.6
Deadband High-Resolution Operation
27.18.1.7
Scale Factor Optimizing Software (SFO)
27.18.1.8
HRPWM Examples Using Optimized Assembly Code
27.18.1.8.1
#Defines for HRPWM Header Files
27.18.1.8.2
Implementing a Simple Buck Converter
27.18.1.8.2.1
HRPWM Buck Converter Initialization Code
27.18.1.8.2.2
HRPWM Buck Converter Run-Time Code
27.18.1.8.3
Implementing a DAC Function Using an R+C Reconstruction Filter
27.18.1.8.3.1
PWM DAC Function Initialization Code
27.18.1.8.3.2
PWM DAC Function Run-Time Code
27.18.2
SFO Library Software - SFO_TI_Build_V8.lib
27.18.2.1
Scale Factor Optimizer Function - int SFO()
27.18.2.2
Software Usage
27.18.2.2.1
A Sample of How to Add "Include" Files
1169
27.18.2.2.2
Declaring an Element
1171
27.18.2.2.3
Initializing With a Scale Factor Value
1173
27.18.2.2.4
SFO Function Calls
27.19
Software
27.19.1
EPWM Registers to Driverlib Functions
27.19.2
HRPWMCAL Registers to Driverlib Functions
27.19.3
EPWM Examples
27.19.3.1
ePWM Trip Zone - SINGLE_CORE
27.19.3.2
ePWM Up Down Count Action Qualifier with FRAMESEL and IPC - MULTI_CORE
27.19.3.3
ePWM Up Down Count Action Qualifier with FRAMESEL and IPC - MULTI_CORE
27.19.3.4
ePWM Up Down Count Action Qualifier - SINGLE_CORE
27.19.3.5
ePWM Synchronization - SINGLE_CORE
27.19.3.6
ePWM Digital Compare - SINGLE_CORE
27.19.3.7
ePWM Digital Compare Event Filter Blanking Window - SINGLE_CORE
27.19.3.8
ePWM Valley Switching - SINGLE_CORE
27.19.3.9
ePWM Digital Compare Edge Filter - SINGLE_CORE
27.19.3.10
ePWM Deadband - SINGLE_CORE
27.19.3.11
ePWM DMA - SINGLE_CORE
27.19.3.12
ePWM Chopper - SINGLE_CORE
27.19.3.13
EPWM Configure Signal - SINGLE_CORE
27.19.3.14
Realization of Monoshot mode - SINGLE_CORE
27.19.3.15
EPWM Action Qualifier (epwm_up_aq) - SINGLE_CORE
27.19.3.16
ePWM XCMP Mode - SINGLE_CORE
27.19.3.17
ePWM Event Detection - SINGLE_CORE
27.19.4
HRPWM Examples
27.19.4.1
HRPWM Duty Control with SFO - SINGLE_CORE
27.19.4.2
HRPWM Period Control - SINGLE_CORE
27.19.4.3
HRPWM XCMP Mode - SINGLE_CORE
27.20
EPWM Registers
27.20.1
EPWM Base Address Table
27.20.2
EPWM_REGS Registers
27.20.3
EPWM_XCMP_REGS Registers
27.20.4
DE_REGS Registers
27.20.5
MINDB_LUT_REGS Registers
27.20.6
HRPWMCAL_REGS Registers
28
Enhanced Quadrature Encoder Pulse (eQEP)
28.1
Introduction
28.1.1
EQEP Related Collateral
28.2
Configuring Device Pins
28.3
Description
28.3.1
EQEP Inputs
28.3.2
Functional Description
28.3.3
eQEP Memory Map
28.4
Quadrature Decoder Unit (QDU)
28.4.1
Position Counter Input Modes
28.4.1.1
Quadrature Count Mode
28.4.1.2
Direction-Count Mode
28.4.1.3
Up-Count Mode
28.4.1.4
Down-Count Mode
28.4.2
eQEP Input Polarity Selection
28.4.3
Position-Compare Sync Output
28.5
Position Counter and Control Unit (PCCU)
28.5.1
Position Counter Operating Modes
28.5.1.1
Position Counter Reset on Index Event (QEPCTL[PCRM] = 00)
28.5.1.2
Position Counter Reset on Maximum Position (QEPCTL[PCRM] = 01)
28.5.1.3
Position Counter Reset on the First Index Event (QEPCTL[PCRM] = 10)
28.5.1.4
Position Counter Reset on Unit Time-out Event (QEPCTL[PCRM] = 11)
28.5.2
Position Counter Latch
28.5.2.1
Index Event Latch
28.5.2.2
Strobe Event Latch
28.5.3
Position Counter Initialization
28.5.4
eQEP Position-compare Unit
28.6
eQEP Edge Capture Unit
28.7
eQEP Watchdog
28.8
eQEP Unit Timer Base
28.9
QMA Module
28.9.1
Modes of Operation
28.9.1.1
QMA Mode-1 (QMACTRL[MODE] = 1)
28.9.1.2
QMA Mode-2 (QMACTRL[MODE] = 2)
28.9.2
Interrupt and Error Generation
28.10
eQEP Interrupt Structure
28.11
Software
28.11.1
EQEP Registers to Driverlib Functions
28.11.2
EQEP Examples
28.11.2.1
Frequency Measurement Using eQEP via unit timeout interrupt - SINGLE_CORE
28.11.2.2
Frequency Measurement Using eQEP via unit timeout interrupt - SINGLE_CORE
28.11.2.3
Motor speed and direction measurement using eQEP via unit timeout interrupt - SINGLE_CORE
28.12
EQEP Registers
28.12.1
EQEP Base Address Table
28.12.2
EQEP_REGS Registers
29
Sigma Delta Filter Module (SDFM)
29.1
Introduction
29.1.1
SDFM Related Collateral
29.1.2
Features
29.1.3
Block Diagram
29.2
Configuring Device Pins
29.3
Input Qualification
29.4
Input Control Unit
29.5
SDFM Clock Control
29.6
Sinc Filter
29.6.1
Data Rate and Latency of the Sinc Filter
29.7
Data (Primary) Filter Unit
29.7.1
32-bit or 16-bit Data Filter Output Representation
29.7.2
Data FIFO
29.7.3
SDSYNC Event
29.8
Comparator (Secondary) Filter Unit
29.8.1
Higher Threshold (HLT) Comparators
29.8.2
Lower Threshold (LLT) Comparators
29.8.3
Digital Filter
29.9
Theoretical SDFM Filter Output
29.10
Interrupt Unit
29.10.1
SDFM (SDyERR) Interrupt Sources
29.10.2
Data Ready (DRINT) Interrupt Sources
29.11
SDFM Registers
29.11.1
SDFM Base Address Table
29.11.2
SDFM_REGS Registers
► COMMUNICATION PERIPHERALS
Technical Reference Manual Overview
30
Modular Controller Area Network (MCAN)
30.1
MCAN Introduction
30.1.1
MCAN Related Collateral
30.1.2
MCAN Features
30.2
MCAN Environment
30.3
CAN Network Basics
30.4
MCAN Integration
30.5
MCAN Functional Description
30.5.1
Module Clocking Requirements
30.5.2
Interrupt Requests
30.5.3
Operating Modes
30.5.3.1
Software Initialization
30.5.3.2
Normal Operation
30.5.3.3
CAN FD Operation
30.5.4
Transmitter Delay Compensation
30.5.4.1
Description
30.5.4.2
Transmitter Delay Compensation Measurement
30.5.5
Restricted Operation Mode
30.5.6
Bus Monitoring Mode
30.5.7
Disabled Automatic Retransmission (DAR) Mode
30.5.7.1
Frame Transmission in DAR Mode
30.5.8
Clock Stop Mode
30.5.8.1
Suspend Mode
30.5.8.2
Wakeup Request
30.5.9
Test Modes
30.5.9.1
External Loop Back Mode
30.5.9.2
Internal Loop Back Mode
30.5.10
Timestamp Generation
30.5.10.1
External Timestamp Counter
30.5.11
Timeout Counter
30.5.12
Safety
30.5.12.1
ECC Wrapper
30.5.12.2
ECC Aggregator
30.5.12.2.1
ECC Aggregator Overview
30.5.12.2.2
ECC Aggregator Registers
30.5.12.3
Reads to ECC Control and Status Registers
30.5.12.4
ECC Interrupts
30.5.13
Rx Handling
30.5.13.1
Acceptance Filtering
30.5.13.1.1
Range Filter
30.5.13.1.2
Filter for Specific IDs
30.5.13.1.3
Classic Bit Mask Filter
30.5.13.1.4
Standard Message ID Filtering
30.5.13.1.5
Extended Message ID Filtering
30.5.13.2
Rx FIFOs
30.5.13.2.1
Rx FIFO Blocking Mode
30.5.13.2.2
Rx FIFO Overwrite Mode
30.5.13.3
Dedicated Rx Buffers
30.5.13.3.1
Rx Buffer Handling
30.5.14
Tx Handling
30.5.14.1
Transmit Pause
30.5.14.2
Dedicated Tx Buffers
30.5.14.3
Tx FIFO
30.5.14.4
Tx Queue
30.5.14.5
Mixed Dedicated Tx Buffers/Tx FIFO
30.5.14.6
Mixed Dedicated Tx Buffers/Tx Queue
30.5.14.7
Transmit Cancellation
30.5.14.8
Tx Event Handling
30.5.15
FIFO Acknowledge Handling
30.5.16
Message RAM
30.5.16.1
Message RAM Configuration
30.5.16.2
Rx Buffer and FIFO Element
30.5.16.3
Tx Buffer Element
30.5.16.4
Tx Event FIFO Element
30.5.16.5
Standard Message ID Filter Element
30.5.16.6
Extended Message ID Filter Element
30.6
Software
30.6.1
MCAN Examples
30.6.1.1
MCAN Loopback with Interrupts Example Using SYSCONFIG Tool - SINGLE_CORE
30.6.1.2
MCAN Loopback with Polling Example Using SYSCONFIG Tool - SINGLE_CORE
30.6.1.3
MCAN Loopback with Interrupts Example Using SYSCONFIG Tool - SINGLE_CORE
30.6.1.4
MCAN External Transmit using Tx Buffer - SINGLE_CORE
30.6.1.5
MCAN receive using Rx Buffer - SINGLE_CORE
30.6.1.6
MCAN External Transmit using Tx Buffer - SINGLE_CORE
30.7
MCAN Registers
30.7.1
MCAN Base Address Table
30.7.2
MCANSS_REGS Registers
30.7.3
MCAN_REGS Registers
30.7.4
MCAN_ERROR_REGS Registers
31
EtherCAT® SubordinateDevice Controller (ESC)
31.1
Introduction
31.1.1
EtherCAT Related Collateral
31.1.2
ESC Features
31.1.3
ESC Subsystem Integrated Features
31.1.4
ESC versus Beckhoff ET1100
31.1.5
EtherCAT IP Block Diagram
31.1.6
ESC Functional Blocks
31.1.6.1
Interface to EtherCAT MainDevice
31.1.6.2
Process Data Interface
31.1.6.3
General-Purpose Inputs and Outputs
31.1.6.4
EtherCAT Processing Unit (EPU)
31.1.6.5
Fieldbus Memory Management Unit (FMMU)
31.1.6.6
Sync Manager
31.1.6.7
Monitoring
31.1.6.8
Reset Controller
31.1.6.9
PHY Management
31.1.6.10
Distributed Clock (DC)
31.1.6.11
EEPROM
31.1.6.12
Status / LEDs
31.1.7
EtherCAT Physical Layer
31.1.7.1
MII Interface
31.1.7.2
PHY Management Interface
31.1.7.2.1
PHY Address Configuration
31.1.7.2.2
PHY Reset Signal
31.1.7.2.3
PHY Clock
31.1.8
EtherCAT Protocol
31.1.9
EtherCAT State Machine (ESM)
31.1.10
More Information on EtherCAT
31.1.11
Beckhoff® Automation EtherCAT IP Errata
31.2
ESC and ESCSS Description
31.2.1
ESC RAM Parity and Memory Address Maps
31.2.1.1
ESC RAM Parity Logic
31.2.1.2
CPU1 ESC Memory Address Map
31.2.1.3
CPU2 ESC Memory Address Map
31.2.2
Local Host Communication
31.2.2.1
Byte Accessibility Through PDI
31.2.2.2
Software Details for Operation Across Clock Domains
31.2.3
Debug Emulation Mode Operation
31.2.4
ESC SubSystem
31.2.4.1
CPU1 Bus Interface
31.2.4.2
CPU2/CPU3 Bus Interface
31.2.5
Interrupts and Interrupt Mapping
31.2.6
Power, Clocks, and Resets
31.2.6.1
Power
31.2.6.2
Clocking
31.2.6.3
Resets
31.2.6.3.1
Chip-Level Reset
31.2.6.3.2
EtherCAT Soft Resets
31.2.6.3.3
Reset Out (RESET_OUT)
31.2.7
LED Controls
31.2.8
SubordinateDevice Node Configuration and EEPROM
31.2.9
General-Purpose Inputs and Outputs
31.2.9.1
General-Purpose Inputs
31.2.9.2
General-Purpose Output
31.2.10
Distributed Clocks – Sync and Latch
31.2.10.1
Clock Synchronization
31.2.10.2
SYNC Signals
31.2.10.2.1
Seeking Host Intervention
31.2.10.3
LATCH Signals
31.2.10.3.1
Timestamping
31.2.10.4
Device Control and Synchronization
31.2.10.4.1
Synchronization of PWM
31.2.10.4.2
ECAP SYNC Inputs
31.2.10.4.3
SYNC Signal Conditioning and Rerouting
31.3
Software Initialization Sequence and Allocating Ownership
31.4
ESC Configuration Constants
31.5
Software
31.5.1
ECAT_SS Registers to Driverlib Functions
31.5.2
ETHERNET Examples
31.6
ETHERCAT Registers
31.6.1
ETHERCAT Base Address Table
31.6.2
ESCSS_REGS Registers
31.6.3
ESCSS_CONFIG_REGS Registers
32
Fast Serial Interface (FSI)
32.1
Introduction
32.1.1
FSI Related Collateral
32.1.2
FSI Features
32.2
System-level Integration
32.2.1
CPU Interface
32.2.2
Signal Description
32.2.2.1
Configuring Device Pins
32.2.3
FSI Interrupts
32.2.3.1
Transmitter Interrupts
32.2.3.2
Receiver Interrupts
32.2.3.3
Configuring Interrupts
32.2.3.4
Handling Interrupts
32.2.4
RTDMA Interface
32.2.5
External Frame Trigger Mux
32.3
FSI Functional Description
32.3.1
Introduction to Operation
32.3.2
FSI Transmitter Module
32.3.2.1
Initialization
32.3.2.2
FSI_TX Clocking
32.3.2.3
Transmitting Frames
32.3.2.3.1
Software Triggered Frames
32.3.2.3.2
Externally Triggered Frames
32.3.2.3.3
Ping Frame Generation
32.3.2.3.3.1
Automatic Ping Frames
32.3.2.3.3.2
Software Triggered Ping Frame
32.3.2.3.3.3
Externally Triggered Ping Frame
32.3.2.3.4
Transmitting Frames with RTDMA
32.3.2.4
Transmit Buffer Management
32.3.2.5
CRC Submodule
32.3.2.6
Conditions in Which the Transmitter Must Undergo a Soft Reset
32.3.2.7
Reset
32.3.3
FSI Receiver Module
32.3.3.1
Initialization
32.3.3.2
FSI_RX Clocking
32.3.3.3
Receiving Frames
32.3.3.3.1
Receiving Frames with RTDMA
32.3.3.4
Ping Frame Watchdog
32.3.3.5
Frame Watchdog
32.3.3.6
Delay Line Control
32.3.3.7
Buffer Management
32.3.3.8
CRC Submodule
32.3.3.9
Using the Zero Bits of the Receiver Tag Registers
32.3.3.10
Conditions in Which the Receiver Must Undergo a Soft Reset
32.3.3.11
FSI_RX Reset
32.3.4
Frame Format
32.3.4.1
FSI Frame Phases
32.3.4.2
Frame Types
32.3.4.2.1
Ping Frames
32.3.4.2.2
Error Frames
32.3.4.2.3
Data Frames
32.3.4.3
Multi-Lane Transmission
32.3.5
Flush Sequence
32.3.6
Internal Loopback
32.3.7
CRC Generation
32.3.8
ECC Module
32.3.9
FSI-SPI Compatibility Mode
32.3.9.1
Available SPI Modes
32.3.9.1.1
FSITX as SPI Controller, Transmit Only
32.3.9.1.1.1
Initialization
32.3.9.1.1.2
Operation
32.3.9.1.2
FSIRX as SPI Peripheral, Receive Only
32.3.9.1.2.1
Initialization
32.3.9.1.2.2
Operation
32.3.9.1.3
FSITX and FSIRX Emulating a Full Duplex SPI Controller
32.3.9.1.3.1
Initialization
32.3.9.1.3.2
Operation
32.4
FSI Programing Guide
32.4.1
Establishing the Communication Link
32.4.1.1
Establishing the Communication Link from the Main Device
32.4.1.2
Establishing the Communication Link from the Remote Device
32.4.2
Register Protection
32.4.3
Emulation Mode
32.5
Software
32.5.1
FSI Registers to Driverlib Functions
32.5.2
FSI Examples
32.5.2.1
Lab solution on Using Communication Peripherals - SINGLE_CORE
32.5.2.2
FSI Loopback:CPU Control - SINGLE_CORE
32.5.2.3
FSI data transfers upon CPU Timer event - SINGLE_CORE
32.6
FSI Registers
32.6.1
FSI Base Address Table
32.6.2
FSI_TX_REGS Registers
32.6.3
FSI_RX_REGS Registers
33
Inter-Integrated Circuit Module (I2C)
33.1
Introduction
33.1.1
I2C Related Collateral
33.1.2
Features
33.1.3
Features Not Supported
33.1.4
Functional Overview
33.1.5
Clock Generation
33.1.6
I2C Clock Divider Registers (I2CCLKL and I2CCLKH)
33.1.6.1
Formula for the Controller Clock Period
33.2
Configuring Device Pins
33.3
I2C Module Operational Details
33.3.1
Input and Output Voltage Levels
33.3.2
Selecting Pullup Resistors
33.3.3
Data Validity
33.3.4
Operating Modes
33.3.5
I2C Module START and STOP Conditions
33.3.6
Non-repeat Mode versus Repeat Mode
33.3.7
Serial Data Formats
33.3.7.1
7-Bit Addressing Format
33.3.7.2
10-Bit Addressing Format
33.3.7.3
Free Data Format
33.3.7.4
Using a Repeated START Condition
33.3.8
Clock Synchronization
33.3.9
Clock Stretching
33.3.10
Arbitration
33.3.11
Digital Loopback Mode
33.3.12
NACK Bit Generation
33.4
Interrupt Requests Generated by the I2C Module
33.4.1
Basic I2C Interrupt Requests
33.4.2
I2C FIFO Interrupts
33.5
Resetting or Disabling the I2C Module
33.6
Software
33.6.1
I2C Registers to Driverlib Functions
33.6.2
I2C Examples
33.6.2.1
I2C Digital Loopback with FIFO Interrupts - SINGLE_CORE
33.6.2.2
I2C EEPROM - SINGLE_CORE
33.6.2.3
I2C Digital External Loopback with FIFO Interrupts - SINGLE_CORE
33.6.2.4
I2C Extended Clock Stretching Controller TX - SINGLE_CORE
33.6.2.5
I2C Extended Clock Stretching Target RX - SINGLE_CORE
33.7
I2C Registers
33.7.1
I2C Base Address Table
33.7.2
I2C_REGS Registers
34
Power Management Bus Module (PMBus)
34.1
Introduction
34.1.1
PMBUS Related Collateral
34.1.2
Features
34.1.3
Block Diagram
34.2
Configuring Device Pins
34.3
Target Mode Operation
34.3.1
Configuration
34.3.2
Message Handling
34.3.2.1
Quick Command
34.3.2.2
Send Byte
34.3.2.3
Receive Byte
34.3.2.4
Write Byte and Write Word
34.3.2.5
Read Byte and Read Word
34.3.2.6
Process Call
34.3.2.7
Block Write
34.3.2.8
Block Read
34.3.2.9
Block Write-Block Read Process Call
34.3.2.10
Alert Response
34.3.2.11
Extended Command
34.3.2.12
Group Command
34.4
Controller Mode Operation
34.4.1
Configuration
34.4.2
Message Handling
34.4.2.1
Quick Command
34.4.2.2
Send Byte
34.4.2.3
Receive Byte
34.4.2.4
Write Byte and Write Word
34.4.2.5
Read Byte and Read Word
34.4.2.6
Process Call
34.4.2.7
Block Write
34.4.2.8
Block Read
34.4.2.9
Block Write-Block Read Process Call
34.4.2.10
Alert Response
34.4.2.11
Extended Command
34.4.2.12
Group Command
34.5
Software
34.5.1
PMBUS Registers to Driverlib Functions
34.5.2
PMBUS Examples
34.5.2.1
PMBus in I2C Mode Controller - SINGLE_CORE
34.5.2.2
PMBus in I2C Mode Target - SINGLE_CORE
34.6
PMBUS Registers
34.6.1
PMBUS Base Address Table
34.6.2
PMBUS_REGS Registers
35
Universal Asynchronous Receiver/Transmitter (UART)
35.1
Introduction
35.1.1
Features
35.1.2
UART Related Collateral
35.1.3
Block Diagram
35.2
Functional Description
35.2.1
Transmit and Receive Logic
35.2.2
Baud-Rate Generation
35.2.3
Data Transmission
35.2.4
Serial IR (SIR)
35.2.5
9-Bit UART Mode
35.2.6
FIFO Operation
35.2.7
Interrupts
35.2.8
Loopback Operation
35.2.9
RTDMA Operation
35.2.9.1
Receiving Data Using UART with RTDMA
35.2.9.2
Transmitting Data Using UART with RTDMA
35.3
Initialization and Configuration
35.4
Software
35.4.1
UART Registers to Driverlib Functions
35.4.2
UART Examples
35.4.2.1
UART Academy Lab - SINGLE_CORE
35.4.2.2
UART Loopback - SINGLE_CORE
35.4.2.3
UART Loopback with Interrupt - SINGLE_CORE
35.4.2.4
UART Loopback with DMA - SINGLE_CORE
35.4.2.5
UART Echoback - SINGLE_CORE
35.5
UART Registers
35.5.1
UART Base Address Table
35.5.2
UART_REGS Registers
35.5.3
UART_REGS_WRITE Registers
36
Local Interconnect Network (LIN)
36.1
LIN Overview
36.1.1
LIN Mode Features
36.1.2
SCI Mode Features
36.1.3
Block Diagram
36.2
Serial Communications Interface Module
36.2.1
SCI Communication Formats
36.2.1.1
SCI Frame Formats
36.2.1.2
SCI Asynchronous Timing Mode
36.2.1.3
SCI Baud Rate
36.2.1.3.1
Superfractional Divider, SCI Asynchronous Mode
36.2.1.4
SCI Multiprocessor Communication Modes
36.2.1.4.1
Idle-Line Multiprocessor Modes
36.2.1.4.2
Address-Bit Multiprocessor Mode
36.2.1.5
SCI Multibuffered Mode
36.2.2
SCI Interrupts
36.2.2.1
Transmit Interrupt
36.2.2.2
Receive Interrupt
36.2.2.3
WakeUp Interrupt
36.2.2.4
Error Interrupts
36.2.3
SCI RTDMA Interface
36.2.3.1
Receive RTDMA Requests
36.2.3.2
Transmit RTDMA Requests
36.2.4
SCI Configurations
36.2.4.1
Receiving Data
36.2.4.1.1
Receiving Data in Single-Buffer Mode
36.2.4.1.2
Receiving Data in Multibuffer Mode
36.2.4.2
Transmitting Data
36.2.4.2.1
Transmitting Data in Single-Buffer Mode
36.2.4.2.2
Transmitting Data in Multibuffer Mode
36.2.5
SCI Low-Power Mode
36.2.5.1
Sleep Mode for Multiprocessor Communication
36.3
Local Interconnect Network Module
36.3.1
LIN Communication Formats
36.3.1.1
LIN Standards
36.3.1.2
Message Frame
36.3.1.2.1
Message Header
36.3.1.2.2
Response
36.3.1.3
Synchronizer
36.3.1.4
Baud Rate
36.3.1.4.1
Fractional Divider
36.3.1.4.2
Superfractional Divider
36.3.1.4.2.1
Superfractional Divider In LIN Mode
36.3.1.5
Header Generation
36.3.1.5.1
Event Triggered Frame Handling
36.3.1.5.2
Header Reception and Adaptive Baud Rate
36.3.1.6
Extended Frames Handling
36.3.1.7
Timeout Control
36.3.1.7.1
No-Response Error (NRE)
36.3.1.7.2
Bus Idle Detection
36.3.1.7.3
Timeout After Wakeup Signal and Timeout After Three Wakeup Signals
36.3.1.8
TXRX Error Detector (TED)
36.3.1.8.1
Bit Errors
36.3.1.8.2
Physical Bus Errors
36.3.1.8.3
ID Parity Errors
36.3.1.8.4
Checksum Errors
36.3.1.9
Message Filtering and Validation
36.3.1.10
Receive Buffers
36.3.1.11
Transmit Buffers
36.3.2
LIN Interrupts
36.3.3
Servicing LIN Interrupts
36.3.4
LIN RTDMA Interface
36.3.4.1
LIN Receive RTDMA Requests
36.3.4.2
LIN Transmit RTDMA Requests
36.3.5
LIN Configurations
36.3.5.1
Receiving Data
36.3.5.1.1
Receiving Data in Single-Buffer Mode
36.3.5.1.2
Receiving Data in Multibuffer Mode
36.3.5.2
Transmitting Data
36.3.5.2.1
Transmitting Data in Single-Buffer Mode
36.3.5.2.2
Transmitting Data in Multibuffer Mode
36.4
Low-Power Mode
36.4.1
Entering Sleep Mode
36.4.2
Wakeup
36.4.3
Wakeup Timeouts
36.5
Emulation Mode
36.6
Software
36.6.1
LIN Registers to Driverlib Functions
36.6.2
LIN Examples
36.6.2.1
LIN Internal Loopback with Interrupts - SINGLE_CORE
36.6.2.2
LIN SCI Mode Internal Loopback with Interrupts - SINGLE_CORE
36.6.2.3
LIN SCI MODE Internal Loopback with DMA - SINGLE_CORE
36.6.2.4
LIN Internal Loopback without interrupts (polled mode) - SINGLE_CORE
36.6.2.5
LIN SCI MODE (Single Buffer) Internal Loopback with DMA - SINGLE_CORE
36.7
LIN Registers
36.7.1
LIN Base Address Table
36.7.2
LIN_REGS Registers
37
Serial Peripheral Interface (SPI)
37.1
Introduction
37.1.1
Features
37.1.2
Block Diagram
37.2
System-Level Integration
37.2.1
SPI Module Signals
37.2.2
Configuring Device Pins
37.2.2.1
GPIOs Required for High-Speed Mode
37.2.3
SPI Interrupts
37.2.4
RTDMA Support
37.3
SPI Operation
37.3.1
Introduction to Operation
37.3.2
Controller Mode
37.3.3
Peripheral Mode
37.3.4
Data Format
37.3.4.1
Transmission of Bit from SPIRXBUF
37.3.5
Baud Rate Selection
37.3.5.1
Baud Rate Determination
37.3.5.2
Baud Rate Calculation in Non-High Speed Mode (HS_MODE = 0)
37.3.5.3
Baud Rate Calculation
37.3.6
SPI Clocking Schemes
37.3.7
SPI FIFO Description
37.3.8
SPI RTDMA Transfers
37.3.8.1
Transmitting Data Using SPI with RTDMA
37.3.8.2
Receiving Data Using SPI with RTDMA
37.3.9
SPI High-Speed Mode
37.3.10
SPI 3-Wire Mode Description
37.4
Programming Procedure
37.4.1
Initialization Upon Reset
37.4.2
Configuring the SPI
37.4.3
Configuring the SPI for High-Speed Mode
37.4.4
Data Transfer Example
37.4.5
SPI 3-Wire Mode Code Examples
37.4.5.1
3-Wire Controller Mode Transmit
1753
37.4.5.2.1
3-Wire Controller Mode Receive
1755
37.4.5.2.1
3-Wire Peripheral Mode Transmit
1757
37.4.5.2.1
3-Wire Peripheral Mode Receive
37.4.6
SPI STEINV Bit in Digital Audio Transfers
37.5
Software
37.5.1
SPI Registers to Driverlib Functions
37.5.2
SPI Examples
37.5.2.1
SPI Digital Loopback - SINGLE_CORE
37.5.2.2
SPI Digital Loopback with FIFO Interrupts - SINGLE_CORE
37.5.2.3
SPI Digital External Loopback without FIFO Interrupts - SINGLE_CORE
37.5.2.4
SPI Digital External Loopback with FIFO Interrupts - SINGLE_CORE
37.5.2.5
SPI Digital Loopback with DMA - SINGLE_CORE
37.6
SPI Registers
37.6.1
SPI Base Address Table
37.6.2
SPI_REGS Registers
38
Single Edge Nibble Transmission (SENT)
38.1
Introduction
38.1.1
Features
38.1.2
SENT Related Collateral
38.2
Advanced Topologies: MTPG
38.2.1
MTPG Features
38.2.2
MTPG Description
38.2.3
Channel Triggers
38.2.4
Timeout
38.3
Protocol Description
38.3.1
Nibble Frame Format
38.3.2
Cyclic Redundancy Check (CRC)
38.3.3
Short Serial Message Format
38.3.4
Enhanced Serial Message Format
38.3.5
Enhanced Serial Message Format CRC
38.3.6
Receive Modes
38.4
RTDMA Trigger
38.5
Interrupts Configuration
38.6
Glitch Filter
38.7
Software
38.7.1
SENT Registers to Driverlib Functions
38.7.2
SENT Examples
38.7.2.1
SENT Single Sensor - SINGLE_CORE
38.8
SENT Registers
38.8.1
SENT Base Address Table
38.8.2
SENT_CFG Registers
38.8.3
SENT_MEM Registers
38.8.4
SENT_MTPG Registers
► SECURITY PERIPHERALS
Technical Reference Manual Overview
39
Security Modules
39.1
Hardware Security Module (HSM)
39.1.1
HSM Related Collateral
39.2
Cryptographic Accelerators
40
Revision History
33.6
Software