SPRUJ79
November 2024
F29H850TU
,
F29H859TU-Q1
1
Read This First
About This Manual
Notational Conventions
Glossary
Related Documentation From Texas Instruments
Support Resources
Trademarks
1
► C29x SYSTEM RESOURCES
Technical Reference Manual Overview
2
F29x Processor
2.1
CPU Architecture
2.1.1
C29x Related Collateral
2.2
Lock and Commit Registers
2.3
C29x CPU Registers
2.3.1
C29CPU Base Address Table
2.3.2
C29_RTINT_STACK Registers
2.3.3
C29_SECCALL_STACK Registers
2.3.4
C29_SECURE_REGS Registers
2.3.5
C29_DIAG_REGS Registers
2.3.6
C29_SELFTEST_REGS Registers
3
System Control and Interrupts
3.1
C29x System Control Introduction
3.2
System Control Functional Description
3.2.1
Device Identification
3.2.2
Device Configuration Registers
3.3
Resets
3.3.1
Reset Sources
3.3.2
External Reset (XRS)
3.3.3
Simulate External Reset
3.3.4
Power-On Reset (POR)
3.3.5
Debugger Reset (SYSRS)
3.3.6
Watchdog Reset (WDRS)
3.3.7
ESM NMI Watchdog Reset (NMIWDRS)
3.3.8
EtherCAT Slave Controller (ESC) Module Reset Output
3.4
Safety Features
3.4.1
Write Protection on Registers
3.4.1.1
LOCK Protection on System Configuration Registers
3.4.1.2
EALLOW Protection
3.4.2
PIPE Vector Address Validity Check
3.4.3
NMIWDs
3.4.4
System Control Registers Parity Protection
3.4.5
ECC Enabled RAMs, Shared RAMs Protection
3.4.6
ECC Enabled Flash Memory
3.4.7
ERRORSTS Pin
3.5
Clocking
3.5.1
Clock Sources
3.5.1.1
Primary Internal Oscillator (INTOSC2)
3.5.1.2
Backup Internal Oscillator (INTOSC1)
3.5.1.3
External Oscillator (XTAL)
3.5.1.4
Auxiliary Clock Input (AUXCLKIN)
3.5.2
Derived Clocks
3.5.2.1
Oscillator Clock (OSCCLK)
3.5.2.2
System PLL Output Clock (PLLRAWCLK)
3.5.3
Device Clock Domains
3.5.3.1
System Clock (PLLSYSCLK)
3.5.3.2
CPU Clock (CPUCLK)
3.5.3.3
Peripheral Clock (PERx.SYSCLK)
3.5.3.4
MCAN Bit Clock
3.5.3.5
CPU Timer2 Clock (TIMER2CLK)
3.5.4
External Clock Output (XCLKOUT)
3.5.5
Clock Connectivity
3.5.6
Using an External Crystal or Resonator
3.5.6.1
X1/X2 Precondition Circuit
3.5.7
PLL
3.5.7.1
System Clock Setup
3.5.7.2
SYS PLL Bypass
3.5.8
Clock (OSCCLK) Failure Detection
3.5.8.1
Missing Clock Detection Logic
3.5.8.2
Dual Clock Comparator (DCC)
3.6
Bus Architecture
3.6.1
Safe Interconnect
3.6.1.1
Safe Interconnect for Read Operation
3.6.1.2
Safe Interconnect for Write Operation
3.6.2
Peripheral Access Configuration using FRAMESEL
3.6.3
Bus Arbitration
3.7
32-Bit CPU Timers 0/1/2
3.8
Watchdog Timers
3.8.1
Servicing the Watchdog Timer
3.8.2
Minimum Window Check
3.8.3
Watchdog Reset or Watchdog Interrupt Mode
3.8.4
Watchdog Operation in Low-Power Modes
3.8.5
Emulation Considerations
3.9
Low-Power Modes
3.9.1
IDLE
3.9.2
STANDBY
3.10
Memory Subsystem (MEMSS)
3.10.1
Introduction
3.10.2
Features
3.10.3
Configuration Bits
3.10.3.1
Memory Initialization
3.10.4
RAM
3.10.4.1
MEMSS Architecture
3.10.4.2
RAM Memory Controller Overview
3.10.4.3
Memory Controllers
3.10.4.3.1
128-Bit LPx and CPx Memory Controller
3.10.4.3.2
64-Bit LDx and CDx Memory Controller
3.10.4.3.3
M0 Memory Controller
3.10.4.4
RTDMA Burst Support
3.10.4.5
Atomic Memory Operations
3.10.4.6
RAM ECC
3.10.4.7
Read-Modify-Write Operations
3.10.4.8
Dataline Buffer
3.10.4.9
HSM Sync Bridge
3.10.4.10
Access Bridges
3.10.4.10.1
Debug Access Bridge
3.10.4.10.2
Global Access Bridge
3.10.4.10.3
Program Access Bridge
3.10.5
ROM
3.10.5.1
ROM Dataline Buffer
3.10.5.2
ROM Prefetch
3.10.6
Arbitration
3.10.7
Test Modes
3.10.8
Emulation Mode
3.11
System Control Register Configuration Restrictions
3.12
Software
3.12.1
SYSCTL Registers to Driverlib Functions
3.12.2
MEMSS Registers to Driverlib Functions
3.12.3
CPU Registers to Driverlib Functions
3.12.4
WD Registers to Driverlib Functions
3.12.5
CPUTIMER Registers to Driverlib Functions
3.12.6
XINT Registers to Driverlib Functions
3.12.7
LPOST Registers to Driverlib Functions
3.12.8
SYSCTL Examples
3.12.8.1
Missing clock detection (MCD) - SINGLE_CORE
3.12.8.2
XCLKOUT (External Clock Output) Configuration - SINGLE_CORE
3.12.9
TIMER Examples
3.12.9.1
Timer Academy Lab - SINGLE_CORE
3.12.9.2
CPU Timers - SINGLE_CORE
3.12.9.3
CPU Timers - SINGLE_CORE
3.12.10
WATCHDOG Examples
3.12.10.1
Watchdog - SINGLE_CORE
3.12.11
LPM Examples
3.12.11.1
Low Power Modes: Device Idle Mode and Wakeup using GPIO - SINGLE_CORE
3.12.11.2
Low Power Modes: Device Idle Mode and Wakeup using Watchdog - SINGLE_CORE
3.12.11.3
Low Power Modes: Device Standby Mode and Wakeup using GPIO - SINGLE_CORE
3.12.11.4
Low Power Modes: Device Standby Mode and Wakeup using Watchdog - SINGLE_CORE
3.13
SYSCTRL Registers
3.13.1
SYSCTRL Base Address Table
3.13.2
DEV_CFG_REGS Registers
3.13.3
MEMSS_L_CONFIG_REGS Registers
3.13.4
MEMSS_C_CONFIG_REGS Registers
3.13.5
MEMSS_M_CONFIG_REGS Registers
3.13.6
MEMSS_MISCI_REGS Registers
3.13.7
CPU_SYS_REGS Registers
3.13.8
CPU_PER_CFG_REGS Registers
3.13.9
WD_REGS Registers
3.13.10
CPUTIMER_REGS Registers
3.13.11
XINT_REGS Registers
4
ROM Code and Peripheral Booting
4.1
Introduction
4.1.1
ROM Related Collateral
4.2
Device Boot Sequence
4.3
Device Boot Modes
4.3.1
Default Boot Modes
4.3.2
Custom Boot Modes
4.4
Device Boot Configurations
4.4.1
Configuring Boot Mode Pins
4.4.2
Configuring Boot Mode Table Options
4.4.3
Boot Mode Example Use Cases
4.4.3.1
Zero Boot Mode Select Pins
4.4.3.2
One Boot Mode Select Pin
4.4.3.3
Three Boot Mode Select Pins
4.5
Device Boot Flow Diagrams
4.5.1
Device Boot Flow
4.5.2
CPU1 Boot Flow
4.5.3
Emulation Boot Flow
4.5.4
Standalone Boot Flow
4.6
Device Reset and Exception Handling
4.6.1
Reset Causes and Handling
4.6.2
Exceptions and Interrupts Handling
4.7
Boot ROM Description
4.7.1
Boot ROM Configuration Registers
4.7.1.1
MPOST and LPOST Configurations
4.7.2
Entry Points
4.7.3
Wait Points
4.7.4
Memory Maps
4.7.4.1
Boot ROM Memory-Maps
4.7.4.2
Reserved RAM Memory-Maps
4.7.5
ROM Structure and Status Information
4.7.6
Boot Modes and Loaders
4.7.6.1
Boot Modes
4.7.6.1.1
Flash Boot
4.7.6.1.2
RAM Boot
4.7.6.1.3
Wait Boot
4.7.6.2
Bootloaders
4.7.6.2.1
SPI Boot Mode
4.7.6.2.2
I2C Boot Mode
4.7.6.2.3
Parallel Boot Mode
4.7.6.2.4
CAN Boot Mode
4.7.6.2.5
CAN-FD Boot Mode
4.7.6.2.6
UART Boot Mode
4.7.7
GPIO Assignments
4.7.8
HSM and C29 ROM Task Ownership and Interactions
4.7.8.1
Application Authentication by HSM
4.7.9
Boot Status Information
4.7.9.1
Booting Status
4.7.10
BootROM Timing
4.8
Software
4.8.1
BOOT Examples
5
Lockstep Compare Module (LCM)
5.1
Introduction
5.1.1
Features
5.1.2
Block Diagram
5.1.3
Lockstep Compare Modules
5.2
Enabling LCM Comparators
5.3
LCM Redundant Module Configuration
5.4
LCM Error Handling
5.5
Debug Mode with LCM
5.6
Register Parity Error Protection
5.7
Functional Logic
5.7.1
Comparator Logic
5.7.2
Self-Test Logic
5.7.2.1
Match Test Mode
5.7.2.2
Mismatch Test Mode
5.7.3
Error Injection Tests
5.7.3.1
Comparator Error Force Test
5.7.3.2
Register Parity Error Test
5.8
Software
5.8.1
LCM Registers to Driverlib Functions
5.9
LCM Registers
5.9.1
LCM Base Address Table
5.9.2
LCM_REGS Registers
6
Peripheral Interrupt Priority and Expansion (PIPE)
6.1
Introduction
6.1.1
Features
6.1.2
Interrupt Concepts
6.1.3
PIPE Related Collateral
6.2
Interrupt Architecture
6.2.1
Dynamic Priority Arbitration Block
6.2.2
Post Processing Block
6.2.3
Memory-Mapped Registers
6.3
Interrupt Propagation
6.4
Configuring Interrupts
6.4.1
Enabling and Disabling Interrupts
6.4.2
Prioritization
6.4.2.1
User-Configured Interrupt Priority
6.4.2.2
Index-Based Fixed Interrupt Priority
6.4.3
Nesting and Priority Grouping
6.4.4
Stack Protection
6.4.5
Context
6.5
Safety and Security
6.5.1
Access Control
6.5.2
PIPE Errors
6.5.3
Register Data Integrity and Safety
6.5.4
Self-Test and Diagnostics
6.6
Software
6.6.1
PIPE Registers to Driverlib Functions
6.6.2
INTERRUPT Examples
6.6.2.1
RTINT vs INT Latency example - SINGLE_CORE
6.6.2.2
INT and RTINT Nesting Example - SINGLE_CORE
6.7
PIPE Registers
6.7.1
PIPE Base Address Table
6.7.2
PIPE_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.1.1
EDC_REGS Registers
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
8
Error Aggregator
8.1
Introduction
8.2
Error Aggregator Modules
8.3
Error Propagation Path from Source to CPU
8.4
Error Aggregator Interface
8.4.1
Functional Description
8.5
Error Condition Handling User Guide
8.6
Error Type Information
8.7
Error Sources Information
8.8
Software
8.8.1
ERROR_AGGREGATOR Registers to Driverlib Functions
8.9
ERRORAGGREGATOR Registers
8.9.1
ERRORAGGREGATOR Base Address Table
8.9.2
HSM_ERROR_AGGREGATOR_CONFIG_REGS Registers
8.9.3
ERROR_AGGREGATOR_CONFIG_REGS Registers
9
Flash Module
9.1
Introduction to Flash Memory
9.1.1
FLASH Related Collateral
9.1.2
Features
9.1.3
Flash Tools
9.1.4
Block Diagram
9.2
Flash Subsystem Overview
9.3
Flash Banks and Pumps
9.4
Flash Read Interfaces
9.4.1
Bank Modes and Swapping
9.4.2
Flash Wait States
9.4.3
Buffer and Cache Mechanisms
9.4.3.1
Prefetch Mechanism and Block Cache
9.4.3.2
Data Line Buffer
9.4.3.3
Sequential Data Pre-read Mode
9.4.4
Flash Read Arbitration
9.4.5
Error Correction Code (ECC) Protection
9.4.6
Procedure to Change Flash Read Interface Registers
9.5
Flash Erase and Program
9.5.1
Flash Semaphore and Update Protection
9.5.2
Erase
9.5.3
Program
9.6
Migrating an Application from RAM to Flash
9.7
Flash Registers
9.7.1
FLASH Base Address Table
9.7.2
FLASH_CMD_REGS_FLC1 Registers
9.7.3
FLASH_CMD_REGS_FLC2 Registers
9.7.4
FRI_CTRL_REGS Registers
10
Safety and Security Unit (SSU)
10.1
Introduction
10.1.1
SSU Related Collateral
10.1.2
Block Diagram
10.1.3
System SSU Configuration Example
10.2
Access Protection Ranges
10.2.1
Access Protection Inheritance
10.3
LINKs
10.4
STACKs
10.5
ZONEs
10.6
SSU-CPU Interface
10.6.1
SSU Operation in Lockstep Mode
10.7
SSU Operation Modes
10.8
Security Configuration and Flash Management
10.8.1
BANKMGMT Sectors
10.8.2
SECCFG Sectors
10.8.3
SECCFG Sector Address Mapping
10.8.4
SECCFG Sector Memory Map
10.8.5
SECCFG CRC
10.9
Flash Write/Erase Access Control
10.9.1
Permanent Flash Lock (Write/Erase Protection)
10.9.2
Updating Flash MAIN Sectors
10.9.3
Firmware-Over-The-Air Updates (FOTA)
10.9.4
Updating Flash SECCFG Sectors
10.9.5
Reading Flash SECCFG Sectors
10.10
RAMOPEN Feature
10.11
Debug Authorization
10.11.1
Global CPU Debug Enable
10.11.2
ZONE Debug
10.11.3
Authentication for Debug Access
10.11.3.1
Password-based Authentication
10.11.3.2
CPU-based Authentication
10.12
Hardcoded Protections
10.13
SSU Register Access Permissions
10.13.1
Permissions for SSU General Control Registers
10.13.2
Permissions for SSU CPU1 Configuration Registers
10.13.3
Permissions for SSU CPU2+ Configuration Registers
10.13.4
Permissions for CPU1 Access Protection Registers
10.13.5
Permissions for CPU2+ Access Protection Registers
10.14
SSU Fault Signals
10.15
Software
10.15.1
SSU Registers to Driverlib Functions
10.16
SSU Registers
10.16.1
SSU Base Address Table
10.16.2
SSU_GEN_REGS Registers
10.16.3
SSU_CPU1_CFG_REGS Registers
10.16.4
SSU_CPU2_CFG_REGS Registers
10.16.5
SSU_CPU3_CFG_REGS Registers
10.16.6
SSU_CPU1_AP_REGS Registers
10.16.7
SSU_CPU2_AP_REGS Registers
10.16.8
SSU_CPU3_AP_REGS Registers
11
Configurable Logic Block (CLB)
11.1
Introduction
11.1.1
CLB Related Collateral
11.2
Description
11.2.1
CLB Clock
11.3
CLB Input/Output Connection
11.3.1
Overview
11.3.2
CLB Input Selection
11.3.3
CLB Output Selection
11.3.4
CLB Output Signal Multiplexer
11.4
CLB Tile
11.4.1
Static Switch Block
11.4.2
Counter Block
11.4.2.1
Counter Description
11.4.2.2
Counter Operation
11.4.2.3
Serializer Mode
11.4.2.4
Linear Feedback Shift Register (LFSR) Mode
11.4.3
FSM Block
11.4.4
LUT4 Block
11.4.5
Output LUT Block
11.4.6
Asynchronous Output Conditioning (AOC) Block
11.4.7
High Level Controller (HLC)
11.4.7.1
High Level Controller Events
11.4.7.2
High Level Controller Instructions
11.4.7.3
<Src> and <Dest>
11.4.7.4
Operation of the PUSH and PULL Instructions (Overflow and Underflow Detection)
11.5
CPU Interface
11.5.1
Register Description
11.5.2
Non-Memory Mapped Registers
11.6
RTDMA Access
11.7
CLB Data Export Through SPI RX Buffer
11.8
CLB Pipeline Mode
11.9
Software
11.9.1
CLB Registers to Driverlib Functions
11.9.2
CLB Examples
11.10
CLB Registers
11.10.1
CLB Base Address Table
11.10.2
CLB_LOGIC_CONFIG_REGS Registers
11.10.3
CLB_LOGIC_CONTROL_REGS Registers
11.10.4
CLB_DATA_EXCHANGE_REGS Registers
12
Dual-Clock Comparator (DCC)
12.1
Introduction
12.1.1
Features
12.1.2
Block Diagram
12.2
Module Operation
12.2.1
Configuring DCC Counters
12.2.2
Single-Shot Measurement Mode
12.2.3
Continuous Monitoring Mode
12.2.4
Error Conditions
12.3
Interrupts
12.4
Software
12.4.1
DCC Registers to Driverlib Functions
12.4.2
DCC Examples
12.4.2.1
DCC Single shot Clock verification - SINGLE_CORE
12.4.2.2
DCC Single shot Clock measurement - SINGLE_CORE
12.4.2.3
DCC Continuous clock monitoring - SINGLE_CORE
12.5
DCC Registers
12.5.1
DCC Base Address Table
12.5.2
DCC_REGS Registers
13
Real-Time Direct Memory Access (RTDMA)
13.1
Introduction
13.1.1
Features
13.1.2
RTDMA Related Collateral
13.1.3
Block Diagram
13.2
RTDMA Trigger Source Options
13.3
RTDMA Bus
13.4
Address Pointer and Transfer Control
13.5
Pipeline Timing and Throughput
13.6
Channel Priority
13.6.1
Round-Robin Mode
13.6.2
Software Configurable Priority of Channels
13.7
Overrun Detection Feature
13.8
Burst Mode
13.9
Safety and Security
13.9.1
Safety
13.9.1.1
Lockstep Mode
13.9.1.2
Memory Protection Unit (MPU)
13.9.1.2.1
MPU Errors
13.9.2
Security
13.9.3
RTDMA Errors
13.9.4
Self-Test and Diagnostics
13.10
Software
13.10.1
RTDMA Registers to Driverlib Functions
13.10.2
RTDMA Examples
13.10.2.1
RTDMA Academy Lab - SINGLE_CORE
13.10.2.2
RTDMA Transfer - SINGLE_CORE
13.10.2.3
RTDMA Transfer with MPU - SINGLE_CORE
13.11
RTDMA Registers
13.11.1
RTDMA Base Address Table
13.11.2
RTDMA_REGS Registers
13.11.3
RTDMA_DIAG_REGS Registers
13.11.4
RTDMA_SELFTEST_REGS Registers
13.11.5
RTDMA_MPU_REGS Registers
13.11.6
RTDMA_CH_REGS Registers
14
External Memory Interface (EMIF)
14.1
Introduction
14.1.1
Purpose of the Peripheral
14.1.2
Features
14.1.2.1
Asynchronous Memory Support
14.1.2.2
Synchronous DRAM Memory Support
14.1.3
Functional Block Diagram
14.1.4
Configuring Device Pins
14.2
EMIF Module Architecture
14.2.1
EMIF Clock Control
14.2.2
EMIF Requests
14.2.3
EMIF Signal Descriptions
14.2.4
EMIF Signal Multiplexing Control
14.2.5
SDRAM Controller and Interface
14.2.5.1
SDRAM Commands
14.2.5.2
Interfacing to SDRAM
14.2.5.3
SDRAM Configuration Registers
14.2.5.4
SDRAM Auto-Initialization Sequence
14.2.5.5
SDRAM Configuration Procedure
14.2.5.6
EMIF Refresh Controller
14.2.5.6.1
Determining the Appropriate Value for the RR Field
14.2.5.7
Self-Refresh Mode
14.2.5.8
Power-Down Mode
14.2.5.9
SDRAM Read Operation
14.2.5.10
SDRAM Write Operations
14.2.5.11
Mapping from Logical Address to EMIF Pins
14.2.6
Asynchronous Controller and Interface
14.2.6.1
Interfacing to Asynchronous Memory
14.2.6.2
Accessing Larger Asynchronous Memories
14.2.6.3
Configuring EMIF for Asynchronous Accesses
14.2.6.4
Read and Write Operations in Normal Mode
14.2.6.4.1
Asynchronous Read Operations (Normal Mode)
14.2.6.4.2
Asynchronous Write Operations (Normal Mode)
14.2.6.5
Read and Write Operation in Select Strobe Mode
14.2.6.5.1
Asynchronous Read Operations (Select Strobe Mode)
14.2.6.5.2
Asynchronous Write Operations (Select Strobe Mode)
14.2.6.6
Extended Wait Mode and the EM1WAIT Pin
14.2.7
Data Bus Parking
14.2.8
Reset and Initialization Considerations
14.2.9
Interrupt Support
14.2.9.1
Interrupt Events
14.2.10
RTDMA Event Support
14.2.11
EMIF Signal Multiplexing
14.2.12
Memory Map
14.2.13
Priority and Arbitration
14.2.14
System Considerations
14.2.14.1
Asynchronous Request Times
14.2.15
Power Management
14.2.15.1
Power Management Using Self-Refresh Mode
14.2.15.2
Power Management Using Power Down Mode
14.2.16
Emulation Considerations
14.3
EMIF Subsystem (EMIFSS)
14.3.1
Burst Support
14.3.2
EMIFSS Performance Improvement
14.3.3
Buffer Module
14.3.3.1
CPU Write FIFO
14.3.4
Emulation Mode
14.4
Example Configuration
14.4.1
Hardware Interface
14.4.2
Software Configuration
14.4.2.1
Configuring the SDRAM Interface
14.4.2.1.1
PLL Programming for EMIF to K4S641632H-TC(L)70 Interface
14.4.2.1.2
SDRAM Timing Register (SDRAM_TR) Settings for EMIF to K4S641632H-TC(L)70 Interface
14.4.2.1.3
SDRAM Self Refresh Exit Timing Register (SDR_EXT_TMNG) Settings for EMIF to K4S641632H-TC(L)70 Interface
14.4.2.1.4
SDRAM Refresh Control Register (SDRAM_RCR) Settings for EMIF to K4S641632H-TC(L)70 Interface
14.4.2.1.5
SDRAM Configuration Register (SDRAM_CR) Settings for EMIF to K4S641632H-TC(L)70 Interface
14.4.2.2
Configuring the Flash Interface
14.4.2.2.1
Asynchronous 1 Configuration Register (ASYNC_CS2_CFG) Settings for EMIF to LH28F800BJE-PTTL90 Interface
14.5
Software
14.5.1
EMIF Registers to Driverlib Functions
14.5.2
EMIF Examples
14.6
EMIF Registers
14.6.1
EMIF Base Address Table
14.6.2
EMIF_REGS Registers
15
General-Purpose Input/Output (GPIO)
15.1
Introduction
15.1.1
GPIO Related Collateral
15.2
Configuration Overview
15.3
Digital Inputs on ADC Pins (AIOs)
15.4
Digital Inputs and Outputs on ADC Pins (AGPIOs)
15.5
Digital General-Purpose I/O Control
15.6
Input Qualification
15.6.1
No Synchronization (Asynchronous Input)
15.6.2
Synchronization to SYSCLKOUT Only
15.6.3
Qualification Using a Sampling Window
15.7
PMBUS and I2C Signals
15.8
GPIO and Peripheral Muxing
15.8.1
GPIO Muxing
15.8.2
Peripheral Muxing
15.9
Internal Pullup Configuration Requirements
15.10
Software
15.10.1
GPIO Registers to Driverlib Functions
15.10.2
GPIO Examples
15.10.2.1
Device GPIO Toggle - SINGLE_CORE
15.10.2.2
XINT/XBAR example - SINGLE_CORE
15.10.3
LED Examples
15.10.3.1
LED Blinky Example - MULTI_CORE
15.10.3.2
LED Blinky Example (CPU1,CPU3) - MULTI_CORE
15.10.3.3
LED Blinky example - SINGLE_CORE
15.10.3.4
LED Blinky Example (CPU1|CPU2|CPU3) - MULTI_CORE
15.10.3.5
LED Blinky Example (CPU2) - MULTI_CORE
15.10.3.6
LED Blinky Example (CPU3) - MULTI_CORE
15.11
GPIO Registers
15.11.1
GPIO Base Address Table
15.11.2
GPIO_CTRL_REGS Registers
15.11.3
GPIO_DATA_REGS Registers
15.11.4
GPIO_DATA_READ_REGS Registers
16
Interprocessor Communication (IPC)
16.1
Introduction
16.2
IPC Flags and Interrupts
16.3
IPC Command Registers
16.4
Free-Running Counter
16.5
IPC Communication Protocol
16.6
Software
16.6.1
IPC Registers to Driverlib Functions
16.6.2
IPC Examples
16.6.2.1
IPC basic message passing example with interrupt - MULTI_CORE
16.6.2.2
IPC basic message passing example with interrupt - MULTI_CORE
16.6.2.3
IPC basic message passing example with interrupt - MULTI_CORE
16.6.2.4
IPC basic message passing example with interrupt - MULTI_CORE
16.7
IPC Registers
16.7.1
IPC Base Address Table
16.7.2
IPC_COUNTER_REGS Registers
16.7.3
CPU1_IPC_SEND_REGS Registers
16.7.4
CPU2_IPC_SEND_REGS Registers
16.7.5
CPU3_IPC_SEND_REGS Registers
16.7.6
CPU1_IPC_RCV_REGS Registers
16.7.7
CPU2_IPC_RCV_REGS Registers
16.7.8
CPU3_IPC_RCV_REGS Registers
17
Embedded Real-time Analysis and Diagnostic (ERAD)
17.1
Introduction
17.2
Enhanced Bus Comparator Unit
17.2.1
Enhanced Bus Comparator Unit Operations
17.2.2
Stack Qualification
17.2.3
Event Masking and Exporting
17.3
System Event Counter Unit
17.3.1
System Event Counter Modes
17.3.1.1
Counting Active Levels Versus Edges
17.3.1.2
Max and Min Mode
17.3.1.3
Cumulative Mode
17.3.1.4
Input Signal Selection
17.3.2
Reset on Event
17.3.3
Operation Conditions
17.4
Program Counter Trace
17.4.1
Functional Block Diagram
17.4.2
Trace Qualification Modes
17.4.2.1
Trace Input Signal Conditioning
17.4.3
Trace Memory
17.4.4
PC Trace Software Operation
17.4.5
Trace Operation in Debug Mode
17.5
ERAD Ownership, Initialization, and Reset
17.5.1
Feature Level Ownership
17.5.2
Feature Access Security Mechanism
17.5.3
PC Trace Access Security Mechanism
17.6
ERAD Programming Sequence
17.6.1
Hardware Breakpoint and Hardware Watch Point Programming Sequence
17.6.2
Timer and Counter Programming Sequence
17.7
Software
17.7.1
ERAD Registers to Driverlib Functions
17.8
ERAD Registers
17.8.1
ERAD Base Address Table
17.8.1.1
ERAD_REGS Registers
18
Data Logger and Trace (DLT)
18.1
Introduction
18.1.1
Features
18.1.2
DLT Related Collateral
18.1.3
Interfaces
18.1.3.1
Block Diagram
18.2
Functional Overview
18.2.1
DLT Configuration
18.2.1.1
LINK Filter
18.2.1.2
TAG Filter
18.2.1.3
ERAD Event Trigger
18.2.1.4
Concurrent FILTERING modes
18.2.2
Time-stamping
18.2.3
FIFO Construction
18.2.3.1
FIFO Interrupt
18.3
Software
18.3.1
DLT Registers to Driverlib Functions
18.3.2
DLT Examples
18.3.2.1
DLT TAG filter example - SINGLE_CORE
18.3.2.2
DLT TAG filter example - SINGLE_CORE
18.3.2.3
DLT ERAD filter example - SINGLE_CORE
18.4
DLT Registers
18.4.1
DLT Base Address Table
18.4.2
DLT_CORE_REGS Registers
18.4.3
DLT_FIFO_REGS Registers
19
Waveform Analyzer Diagnostic (WADI)
19.1
WADI Overview
19.1.1
Features
19.1.2
WADI Related Collateral
19.1.3
Block Diagram
19.1.4
Description
19.2
Signal and Trigger Input Configuration
19.2.1
SIG1 and SIG2 Configuration
19.2.2
Trigger 1 and Trigger 2
19.3
WADI Block
19.3.1
Overview
19.3.2
Counters
19.3.3
Pulse Width
19.3.3.1
Pulse Width Single Measurement
19.3.3.2
Pulse Width Aggregation
19.3.3.3
Pulse Width Average and Peak
19.3.4
Edge Count
19.3.4.1
Edge Count with Fixed Window
19.3.4.2
Edge Count with Moving Window
19.3.5
Signal1 to Signal2 Comparison
19.3.6
Dead Band and Phase
19.3.7
Simultaneous Measurement
19.4
Safe State Sequencer (SSS)
19.4.1
SSS Configuration
19.5
Lock and Commit Registers
19.6
Interrupt and Error Handling
19.7
RTDMA Interfaces
19.7.1
RTDMA Trigger
19.8
Software
19.8.1
WADI Registers to Driverlib Functions
19.8.2
WADI Examples
19.8.2.1
WADI Duty and Frequency check - SINGLE_CORE
19.9
WADI Registers
19.9.1
WADI Base Address Table
19.9.2
WADI_CONFIG_REGS Registers
19.9.3
WADI_OPER_SSS_REGS Registers
20
Crossbar (X-BAR)
20.1
X-BAR Related Collateral
20.2
Input X-BAR, ICL XBAR, MINDB XBAR,
20.2.1
ICL and MINDB X-BAR
20.3
ePWM , CLB, and GPIO Output X-BAR
20.3.1
ePWM X-BAR
20.3.1.1
ePWM X-BAR Architecture
20.3.2
CLB X-BAR
20.3.2.1
CLB X-BAR Architecture
20.3.3
GPIO Output X-BAR
20.3.3.1
GPIO Output X-BAR Architecture
20.3.4
X-BAR Flags
20.4
Software
20.4.1
INPUT_XBAR Registers to Driverlib Functions
20.4.2
EPWM_XBAR Registers to Driverlib Functions
20.4.3
CLB_XBAR Registers to Driverlib Functions
20.4.4
OUTPUT_XBAR Registers to Driverlib Functions
20.4.5
MDL_XBAR Registers to Driverlib Functions
20.4.6
ICL_XBAR Registers to Driverlib Functions
20.4.7
XBAR Registers to Driverlib Functions
20.4.8
XBAR Examples
20.4.8.1
Input XBAR to Output XBAR Connection - SINGLE_CORE
20.4.8.2
Output XBAR Pulse Stretch - SINGLE_CORE
20.5
XBAR Registers
20.5.1
XBAR Base Address Table
20.5.2
INPUT_XBAR_REGS Registers
20.5.3
EPWM_XBAR_REGS Registers
20.5.4
CLB_XBAR_REGS Registers
20.5.5
OUTPUTXBAR_REGS Registers
20.5.6
MDL_XBAR_REGS Registers
20.5.7
ICL_XBAR_REGS Registers
20.5.8
OUTPUTXBAR_FLAG_REGS Registers
20.5.9
XBAR_REGS Registers
21
Embedded Pattern Generator (EPG)
21.1
Introduction
21.1.1
Features
21.1.2
EPG Block Diagram
21.1.3
EPG Related Collateral
21.2
Clock Generator Modules
21.2.1
DCLK (50% duty cycle clock)
21.2.2
Clock Stop
21.3
Signal Generator Module
21.4
EPG Peripheral Signal Mux Selection
21.5
Application Software Notes
21.6
EPG Example Use Cases
21.6.1
EPG Example: Synchronous Clocks with Offset
21.6.1.1
Synchronous Clocks with Offset Register Configuration
21.6.2
EPG Example: Serial Data Bit Stream (LSB first)
21.6.2.1
Serial Data Bit Stream (LSB first) Register Configuration
21.6.3
EPG Example: Serial Data Bit Stream (MSB first)
21.6.3.1
Serial Data Bit Stream (MSB first) Register Configuration
21.6.4
EPG Example: Clock and Data Pair
21.6.4.1
Clock and Data Pair Register Configuration
21.6.5
EPG Example: Clock and Skewed Data Pair
21.6.5.1
Clock and Skewed Data Pair Register Configuration
21.6.6
EPG Example: Capturing Serial Data with a Known Baud Rate
21.6.6.1
Capturing Serial Data with a Known Baud Rate Register Configuration
21.7
EPG Interrupt
21.8
Software
21.8.1
EPG Registers to Driverlib Functions
21.8.2
EPG Examples
21.8.2.1
EPG Generating Synchronous Clocks - SINGLE_CORE
21.8.2.2
EPG Generating Two Offset Clocks - SINGLE_CORE
21.8.2.3
EPG Generating Two Offset Clocks With SIGGEN - SINGLE_CORE
21.8.2.4
EPG Generate Serial Data - SINGLE_CORE
21.8.2.5
EPG Generate Serial Data Shift Mode - SINGLE_CORE
21.9
EPG Registers
21.9.1
EPG Base Address Table
21.9.2
EPG_REGS Registers
21.9.3
EPG_MUX_REGS Registers
22
► ANALOG PERIPHERALS
Technical Reference Manual Overview
23
Analog Subsystem
23.1
Introduction
23.1.1
Features
23.1.2
Block Diagram
23.2
Optimizing Power-Up Time
23.3
Digital Inputs on ADC Pins (AIOs)
23.4
Digital Inputs and Outputs on ADC Pins (AGPIOs)
23.5
Analog Pins and Internal Connections
23.6
Software
23.6.1
ASYSCTL Registers to Driverlib Functions
23.7
Lock Registers
23.8
ASBSYS Registers
23.8.1
ASBSYS Base Address Table
23.8.2
ANALOG_SUBSYS_REGS Registers
24
Analog-to-Digital Converter (ADC)
24.1
Introduction
24.1.1
ADC Related Collateral
24.1.2
Features
24.1.3
Block Diagram
24.2
ADC Configurability
24.2.1
Clock Configuration
24.2.2
Resolution
24.2.3
Voltage Reference
24.2.3.1
External Reference Mode
24.2.3.2
Internal Reference Mode
24.2.3.3
Ganged References
24.2.3.4
Selecting Reference Mode
24.2.4
Signal Mode
24.2.5
Expected Conversion Results
24.2.6
Interpreting Conversion Results
24.3
SOC Principle of Operation
24.3.1
SOC Configuration
24.3.2
Trigger Operation
24.3.2.1
Global Software Trigger
24.3.2.2
Trigger Repeaters
24.3.2.2.1
Oversampling Mode
24.3.2.2.2
Undersampling Mode
24.3.2.2.3
Trigger Phase Delay
24.3.2.2.4
Re-trigger Spread
24.3.2.2.5
Trigger Repeater Configuration
24.3.2.2.5.1
Register Shadow Updates
24.3.2.2.6
Re-Trigger Logic
24.3.2.2.7
Multi-Path Triggering Behavior
24.3.3
ADC Acquisition (Sample and Hold) Window
24.3.4
ADC Input Models
24.3.5
Channel Selection
24.3.5.1
External Channel Selection
24.3.5.1.1
External Channel Selection Timing
24.4
SOC Configuration Examples
24.4.1
Single Conversion from ePWM Trigger
24.4.2
Oversampled Conversion from ePWM Trigger
24.4.3
Multiple Conversions from CPU Timer Trigger
24.4.4
Software Triggering of SOCs
24.5
ADC Conversion Priority
24.6
Burst Mode
24.6.1
Burst Mode Example
24.6.2
Burst Mode Priority Example
24.7
EOC and Interrupt Operation
24.7.1
Interrupt Overflow
24.7.2
Continue to Interrupt Mode
24.7.3
Early Interrupt Configuration Mode
24.8
Post-Processing Blocks
24.8.1
PPB Offset Correction
24.8.2
PPB Error Calculation
24.8.3
PPB Result Delta Calculation
24.8.4
PPB Limit Detection and Zero-Crossing Detection
24.8.4.1
PPB Digital Trip Filter
24.8.5
PPB Sample Delay Capture
24.8.6
PPB Oversampling
24.8.6.1
Accumulation, Minimum, Maximum, and Average Functions
24.8.6.2
Outlier Rejection
24.9
Result Safety Checker
24.9.1
Result Safety Checker Operation
24.9.2
Result Safety Checker Interrupts and Events
24.10
Opens/Shorts Detection Circuit (OSDETECT)
24.10.1
Implementation
24.10.2
Detecting an Open Input Pin
24.10.3
Detecting a Shorted Input Pin
24.11
Power-Up Sequence
24.12
ADC Calibration
24.12.1
ADC Zero Offset Calibration
24.13
ADC Timings
24.13.1
ADC Timing Diagrams
24.13.2
Post-Processing Block Timings
24.14
Additional Information
24.14.1
Ensuring Synchronous Operation
24.14.1.1
Basic Synchronous Operation
24.14.1.2
Synchronous Operation with Multiple Trigger Sources
24.14.1.3
Synchronous Operation with Uneven SOC Numbers
24.14.1.4
Synchronous Operation with Different Resolutions
24.14.1.5
Non-overlapping Conversions
24.14.2
Choosing an Acquisition Window Duration
24.14.3
Achieving Simultaneous Sampling
24.14.4
Result Register Mapping
24.14.5
Internal Temperature Sensor
24.14.6
Designing an External Reference Circuit
24.14.7
Internal Test Mode
24.14.8
ADC Gain and Offset Calibration
24.15
Software
24.15.1
ADC Registers to Driverlib Functions
24.15.2
ADC Examples
24.15.2.1
ADC Software Triggering - SINGLE_CORE
24.15.2.2
ADC ePWM Triggering - SINGLE_CORE
24.15.2.3
ADC Temperature Sensor Conversion - SINGLE_CORE
24.15.2.4
ADC Synchronous SOC Software Force (adc_soc_software_sync) - SINGLE_CORE
24.15.2.5
ADC Continuous Triggering (adc_soc_continuous) - SINGLE_CORE
24.15.2.6
ADC Continuous Conversions Read by DMA (adc_soc_continuous_dma) - SINGLE_CORE
24.15.2.7
ADC PPB Offset (adc_ppb_offset) - SINGLE_CORE
24.15.2.8
ADC PPB Limits (adc_ppb_limits) - SINGLE_CORE
24.15.2.9
ADC PPB Delay Capture (adc_ppb_delay) - SINGLE_CORE
24.15.2.10
ADC ePWM Triggering Multiple SOC - SINGLE_CORE
24.15.2.11
ADC Burst Mode - SINGLE_CORE
24.15.2.12
ADC Burst Mode Oversampling - SINGLE_CORE
24.15.2.13
ADC SOC Oversampling - SINGLE_CORE
24.15.2.14
ADC PPB PWM trip (adc_ppb_pwm_trip) - SINGLE_CORE
24.15.2.15
ADC Trigger Repeater Oversampling - SINGLE_CORE
24.15.2.16
ADC Trigger Repeater Undersampling - SINGLE_CORE
24.15.2.17
ADC Safety Checker - SINGLE_CORE
24.16
ADC Registers
24.16.1
ADC Base Address Table
24.16.2
ADC_RESULT_REGS Registers
24.16.3
ADC_REGS Registers
24.16.4
ADC_SAFECHECK_REGS Registers
24.16.5
ADC_SAFECHECK_INTEVT_REGS Registers
24.16.6
ADC_GLOBAL_REGS Registers
25
Buffered Digital-to-Analog Converter (DAC)
25.1
Introduction
25.1.1
DAC Related Collateral
25.1.2
Features
25.1.3
Block Diagram
25.2
Using the DAC
25.2.1
Initialization Sequence
25.2.2
DAC Offset Adjustment
25.2.3
EPWMSYNCPER Signal
25.3
Lock Registers
25.4
Software
25.4.1
DAC Registers to Driverlib Functions
25.4.2
DAC Examples
25.4.2.1
Buffered DAC Enable - SINGLE_CORE
25.4.2.2
Buffered DAC Random - SINGLE_CORE
25.5
DAC Registers
25.5.1
DAC Base Address Table
25.5.2
DAC_REGS Registers
26
Comparator Subsystem (CMPSS)
26.1
Introduction
26.1.1
CMPSS Related Collateral
26.1.2
Features
26.1.3
Block Diagram
26.2
Comparator
26.3
Reference DAC
26.4
Ramp Generator
26.4.1
Ramp Generator Overview
26.4.2
Ramp Generator Behavior
26.4.3
Ramp Generator Behavior at Corner Cases
26.5
Digital Filter
26.5.1
Filter Initialization Sequence
26.6
Using the CMPSS
26.6.1
LATCHCLR, EPWMSYNCPER, and EPWMBLANK Signals
26.6.2
Synchronizer, Digital Filter, and Latch Delays
26.6.3
Calibrating the CMPSS
26.6.4
Enabling and Disabling the CMPSS Clock
26.7
Software
26.7.1
CMPSS Registers to Driverlib Functions
26.7.2
CMPSS Examples
26.7.2.1
CMPSS Asynchronous Trip - SINGLE_CORE
26.7.2.2
CMPSS Digital Filter Configuration - SINGLE_CORE
26.8
CMPSS Registers
26.8.1
CMPSS Base Address Table
26.8.2
CMPSS_REGS Registers
27
► CONTROL PERIPHERALS
Technical Reference Manual Overview
28
Enhanced Capture (eCAP)
28.1
Introduction
28.1.1
Features
28.1.2
ECAP Related Collateral
28.2
Description
28.3
Configuring Device Pins for the eCAP
28.4
Capture and APWM Operating Mode
28.5
Capture Mode Description
28.5.1
Event Prescaler
28.5.2
Glitch Filter
28.5.3
Edge Polarity Select and Qualifier
28.5.4
Continuous/One-Shot Control
28.5.5
32-Bit Counter and Phase Control
28.5.6
CAP1-CAP4 Registers
28.5.7
eCAP Synchronization
28.5.7.1
Example 1 - Using SWSYNC with ECAP Module
28.5.8
Interrupt Control
28.5.9
RTDMA Interrupt
28.5.10
ADC SOC Event
28.5.11
Shadow Load and Lockout Control
28.5.12
APWM Mode Operation
28.5.13
Signal Monitoring Unit
28.5.13.1
Pulse Width and Period Monitoring
28.5.13.2
Edge Monitoring
28.6
Application of the eCAP Module
28.6.1
Example 1 - Absolute Time-Stamp Operation Rising-Edge Trigger
28.6.2
Example 2 - Absolute Time-Stamp Operation Rising- and Falling-Edge Trigger
28.6.3
Example 3 - Time Difference (Delta) Operation Rising-Edge Trigger
28.6.4
Example 4 - Time Difference (Delta) Operation Rising- and Falling-Edge Trigger
28.7
Application of the APWM Mode
28.7.1
Example 1 - Simple PWM Generation (Independent Channels)
28.8
Software
28.8.1
ECAP Registers to Driverlib Functions
28.8.2
ECAP Examples
28.8.2.1
eCAP APWM Example - SINGLE_CORE
28.8.2.2
eCAP Capture PWM Example - SINGLE_CORE
28.8.2.3
eCAP APWM Phase-shift Example - SINGLE_CORE
28.9
ECAP Registers
28.9.1
ECAP Base Address Table
28.9.2
ECAP_REGS Registers
28.9.3
ECAP_SIGNAL_MONITORING Registers
28.9.4
HRCAP_REGS Registers
29
High Resolution Capture (HRCAP)
29.1
Introduction
29.1.1
HRCAP Related Collateral
29.1.2
Features
29.1.3
Description
29.2
Operational Details
29.2.1
HRCAP Clocking
29.2.2
HRCAP Initialization Sequence
29.2.3
HRCAP Interrupts
29.2.4
HRCAP Calibration
29.2.4.1
Applying the Scale Factor
29.3
Known Exceptions
29.4
Software
29.4.1
HRCAP Examples
29.4.1.1
HRCAP Capture and Calibration Example - SINGLE_CORE
29.5
HRCAP Registers
29.5.1
HRCAP Base Address Table
29.5.2
HRCAP_REGS Registers
30
Enhanced Pulse Width Modulator (ePWM)
30.1
Introduction
30.1.1
EPWM Related Collateral
30.1.2
Submodule Overview
30.2
Configuring Device Pins
30.3
ePWM Modules Overview
30.4
Time-Base (TB) Submodule
30.4.1
Purpose of the Time-Base Submodule
30.4.2
Controlling and Monitoring the Time-Base Submodule
30.4.3
Calculating PWM Period and Frequency
30.4.3.1
Time-Base Period Shadow Register
30.4.3.2
Time-Base Clock Synchronization
30.4.3.3
Time-Base Counter Synchronization
30.4.3.4
ePWM SYNC Selection
30.4.4
Phase Locking the Time-Base Clocks of Multiple ePWM Modules
30.4.5
Simultaneous Writes Between ePWM Register Instances
30.4.6
Time-Base Counter Modes and Timing Waveforms
30.4.7
Global Load
30.4.7.1
Global Load Pulse Pre-Scalar
30.4.7.2
One-Shot Load Mode
30.4.7.3
One-Shot Sync Mode
30.5
Counter-Compare (CC) Submodule
30.5.1
Purpose of the Counter-Compare Submodule
30.5.2
Controlling and Monitoring the Counter-Compare Submodule
30.5.3
Operational Highlights for the Counter-Compare Submodule
30.5.4
Count Mode Timing Waveforms
30.6
Action-Qualifier (AQ) Submodule
30.6.1
Purpose of the Action-Qualifier Submodule
30.6.2
Action-Qualifier Submodule Control and Status Register Definitions
30.6.3
Action-Qualifier Event Priority
30.6.4
AQCTLA and AQCTLB Shadow Mode Operations
30.6.5
Configuration Requirements for Common Waveforms
30.7
XCMP Complex Waveform Generator Mode
30.7.1
XCMP Allocation to CMPA and CMPB
30.7.2
XCMP Shadow Buffers
30.7.3
XCMP Operation
30.8
Dead-Band Generator (DB) Submodule
30.8.1
Purpose of the Dead-Band Submodule
30.8.2
Dead-band Submodule Additional Operating Modes
30.8.3
Operational Highlights for the Dead-Band Submodule
30.9
PWM Chopper (PC) Submodule
30.9.1
Purpose of the PWM Chopper Submodule
30.9.2
Operational Highlights for the PWM Chopper Submodule
30.9.3
Waveforms
30.9.3.1
One-Shot Pulse
30.9.3.2
Duty Cycle Control
30.10
Trip-Zone (TZ) Submodule
30.10.1
Purpose of the Trip-Zone Submodule
30.10.2
Operational Highlights for the Trip-Zone Submodule
30.10.2.1
Trip-Zone Configurations
30.10.3
Generating Trip Event Interrupts
30.11
Diode Emulation (DE) Submodule
30.11.1
DEACTIVE Mode
30.11.2
Exiting DE Mode
30.11.3
Re-Entering DE Mode
30.11.4
DE Monitor
30.12
Minimum Dead-Band (MINDB) + Illegal Combination Logic (ICL) Submodules
30.12.1
Minimum Dead-Band (MINDB)
30.12.2
Illegal Combo Logic (ICL)
30.13
Event-Trigger (ET) Submodule
30.13.1
Operational Overview of the ePWM Event-Trigger Submodule
30.14
Digital Compare (DC) Submodule
30.14.1
Purpose of the Digital Compare Submodule
30.14.2
Enhanced Trip Action Using CMPSS
30.14.3
Using CMPSS to Trip the ePWM on a Cycle-by-Cycle Basis
30.14.4
Operation Highlights of the Digital Compare Submodule
30.14.4.1
Digital Compare Events
30.14.4.2
Event Filtering
30.14.4.3
Valley Switching
30.14.4.4
Event Detection
30.14.4.4.1
Input Signal Detection
30.14.4.4.2
MIN and MAX Detection Circuit
30.15
ePWM Crossbar (X-BAR)
30.16
Applications to Power Topologies
30.16.1
Overview of Multiple Modules
30.16.2
Key Configuration Capabilities
30.16.3
Controlling Multiple Buck Converters With Independent Frequencies
30.16.4
Controlling Multiple Buck Converters With Same Frequencies
30.16.5
Controlling Multiple Half H-Bridge (HHB) Converters
30.16.6
Controlling Dual 3-Phase Inverters for Motors (ACI and PMSM)
30.16.7
Practical Applications Using Phase Control Between PWM Modules
30.16.8
Controlling a 3-Phase Interleaved DC/DC Converter
30.16.9
Controlling Zero Voltage Switched Full Bridge (ZVSFB) Converter
30.16.10
Controlling a Peak Current Mode Controlled Buck Module
30.16.11
Controlling H-Bridge LLC Resonant Converter
30.17
Register Lock Protection
30.18
High-Resolution Pulse Width Modulator (HRPWM)
30.18.1
Operational Description of HRPWM
30.18.1.1
Controlling the HRPWM Capabilities
30.18.1.2
HRPWM Source Clock
30.18.1.3
Configuring the HRPWM
30.18.1.4
Configuring High-Resolution in Deadband Rising-Edge and Falling-Edge Delay
30.18.1.5
Principle of Operation
30.18.1.5.1
Edge Positioning
30.18.1.5.2
Scaling Considerations
30.18.1.5.3
Duty Cycle Range Limitation
30.18.1.5.4
High-Resolution Period
30.18.1.5.4.1
High-Resolution Period Configuration
30.18.1.6
Deadband High-Resolution Operation
30.18.1.7
Scale Factor Optimizing Software (SFO)
30.18.1.8
HRPWM Examples Using Optimized Assembly Code
30.18.1.8.1
#Defines for HRPWM Header Files
30.18.1.8.2
Implementing a Simple Buck Converter
30.18.1.8.2.1
HRPWM Buck Converter Initialization Code
30.18.1.8.2.2
HRPWM Buck Converter Run-Time Code
30.18.1.8.3
Implementing a DAC Function Using an R+C Reconstruction Filter
30.18.1.8.3.1
PWM DAC Function Initialization Code
30.18.1.8.3.2
PWM DAC Function Run-Time Code
30.18.2
SFO Library Software - SFO_TI_Build_V8.lib
30.18.2.1
Scale Factor Optimizer Function - int SFO()
30.18.2.2
Software Usage
30.18.2.2.1
A Sample of How to Add "Include" Files
1131
30.18.2.2.2
Declaring an Element
1133
30.18.2.2.3
Initializing With a Scale Factor Value
1135
30.18.2.2.4
SFO Function Calls
30.19
Software
30.19.1
EPWM Registers to Driverlib Functions
30.19.2
HRPWMCAL Registers to Driverlib Functions
30.19.3
EPWM Examples
30.19.3.1
ePWM Trip Zone - SINGLE_CORE
30.19.3.2
ePWM Up Down Count Action Qualifier - SINGLE_CORE
30.19.3.3
ePWM Synchronization - SINGLE_CORE
30.19.3.4
ePWM Digital Compare - SINGLE_CORE
30.19.3.5
ePWM Digital Compare Event Filter Blanking Window - SINGLE_CORE
30.19.3.6
ePWM Valley Switching - SINGLE_CORE
30.19.3.7
ePWM Digital Compare Edge Filter - SINGLE_CORE
30.19.3.8
ePWM Deadband - SINGLE_CORE
30.19.3.9
ePWM DMA - SINGLE_CORE
30.19.3.10
ePWM Chopper - SINGLE_CORE
30.19.3.11
EPWM Configure Signal - SINGLE_CORE
30.19.3.12
Realization of Monoshot mode - SINGLE_CORE
30.19.3.13
EPWM Action Qualifier (epwm_up_aq) - SINGLE_CORE
30.19.3.14
ePWM XCMP Mode - SINGLE_CORE
30.19.3.15
ePWM Event Detection - SINGLE_CORE
30.20
EPWM Registers
30.20.1
EPWM Base Address Table
30.20.2
EPWM_REGS Registers
30.20.3
EPWM_XCMP_REGS Registers
30.20.4
DE_REGS Registers
30.20.5
MINDB_LUT_REGS Registers
30.20.6
HRPWMCAL_REGS Registers
31
Enhanced Quadrature Encoder Pulse (eQEP)
31.1
Introduction
31.1.1
EQEP Related Collateral
31.2
Configuring Device Pins
31.3
Description
31.3.1
EQEP Inputs
31.3.2
Functional Description
31.3.3
eQEP Memory Map
31.4
Quadrature Decoder Unit (QDU)
31.4.1
Position Counter Input Modes
31.4.1.1
Quadrature Count Mode
31.4.1.2
Direction-Count Mode
31.4.1.3
Up-Count Mode
31.4.1.4
Down-Count Mode
31.4.2
eQEP Input Polarity Selection
31.4.3
Position-Compare Sync Output
31.5
Position Counter and Control Unit (PCCU)
31.5.1
Position Counter Operating Modes
31.5.1.1
Position Counter Reset on Index Event (QEPCTL[PCRM] = 00)
31.5.1.2
Position Counter Reset on Maximum Position (QEPCTL[PCRM] = 01)
31.5.1.3
Position Counter Reset on the First Index Event (QEPCTL[PCRM] = 10)
31.5.1.4
Position Counter Reset on Unit Time-out Event (QEPCTL[PCRM] = 11)
31.5.2
Position Counter Latch
31.5.2.1
Index Event Latch
31.5.2.2
Strobe Event Latch
31.5.3
Position Counter Initialization
31.5.4
eQEP Position-compare Unit
31.6
eQEP Edge Capture Unit
31.7
eQEP Watchdog
31.8
eQEP Unit Timer Base
31.9
QMA Module
31.9.1
Modes of Operation
31.9.1.1
QMA Mode-1 (QMACTRL[MODE] = 1)
31.9.1.2
QMA Mode-2 (QMACTRL[MODE] = 2)
31.9.2
Interrupt and Error Generation
31.10
eQEP Interrupt Structure
31.11
Software
31.11.1
EQEP Registers to Driverlib Functions
31.11.2
EQEP Examples
31.11.2.1
Frequency Measurement Using eQEP via unit timeout interrupt - SINGLE_CORE
31.11.2.2
Motor speed and direction measurement using eQEP via unit timeout interrupt - SINGLE_CORE
31.12
EQEP Registers
31.12.1
EQEP Base Address Table
31.12.2
EQEP_REGS Registers
32
Sigma Delta Filter Module (SDFM)
32.1
Introduction
32.1.1
SDFM Related Collateral
32.1.2
Features
32.1.3
Block Diagram
32.2
Configuring Device Pins
32.3
Input Qualification
32.4
Input Control Unit
32.5
SDFM Clock Control
32.6
Sinc Filter
32.6.1
Data Rate and Latency of the Sinc Filter
32.7
Data (Primary) Filter Unit
32.7.1
32-bit or 16-bit Data Filter Output Representation
32.7.2
Data FIFO
32.7.3
SDSYNC Event
32.8
Comparator (Secondary) Filter Unit
32.8.1
Higher Threshold (HLT) Comparators
32.8.2
Lower Threshold (LLT) Comparators
32.8.3
Digital Filter
32.9
Theoretical SDFM Filter Output
32.10
Interrupt Unit
32.10.1
SDFM (SDyERR) Interrupt Sources
32.10.2
Data Ready (DRINT) Interrupt Sources
32.11
Software
32.11.1
SDFM Registers to Driverlib Functions
32.11.2
SDFM Examples
32.12
SDFM Registers
32.12.1
SDFM Base Address Table
32.12.2
SDFM_REGS Registers
33
► COMMUNICATION PERIPHERALS
Technical Reference Manual Overview
34
Modular Controller Area Network (MCAN)
34.1
MCAN Introduction
34.1.1
MCAN Related Collateral
34.1.2
MCAN Features
34.2
MCAN Environment
34.3
CAN Network Basics
34.4
MCAN Integration
34.5
MCAN Functional Description
34.5.1
Module Clocking Requirements
34.5.2
Interrupt Requests
34.5.3
Operating Modes
34.5.3.1
Software Initialization
34.5.3.2
Normal Operation
34.5.3.3
CAN FD Operation
34.5.4
Transmitter Delay Compensation
34.5.4.1
Description
34.5.4.2
Transmitter Delay Compensation Measurement
34.5.5
Restricted Operation Mode
34.5.6
Bus Monitoring Mode
34.5.7
Disabled Automatic Retransmission (DAR) Mode
34.5.7.1
Frame Transmission in DAR Mode
34.5.8
Clock Stop Mode
34.5.8.1
Suspend Mode
34.5.8.2
Wakeup Request
34.5.9
Test Modes
34.5.9.1
External Loop Back Mode
34.5.9.2
Internal Loop Back Mode
34.5.10
Timestamp Generation
34.5.10.1
External Timestamp Counter
34.5.11
Timeout Counter
34.5.12
Safety
34.5.12.1
ECC Wrapper
34.5.12.2
ECC Aggregator
34.5.12.2.1
ECC Aggregator Overview
34.5.12.2.2
ECC Aggregator Registers
34.5.12.3
Reads to ECC Control and Status Registers
34.5.12.4
ECC Interrupts
34.5.13
Rx Handling
34.5.13.1
Acceptance Filtering
34.5.13.1.1
Range Filter
34.5.13.1.2
Filter for Specific IDs
34.5.13.1.3
Classic Bit Mask Filter
34.5.13.1.4
Standard Message ID Filtering
34.5.13.1.5
Extended Message ID Filtering
34.5.13.2
Rx FIFOs
34.5.13.2.1
Rx FIFO Blocking Mode
34.5.13.2.2
Rx FIFO Overwrite Mode
34.5.13.3
Dedicated Rx Buffers
34.5.13.3.1
Rx Buffer Handling
34.5.14
Tx Handling
34.5.14.1
Transmit Pause
34.5.14.2
Dedicated Tx Buffers
34.5.14.3
Tx FIFO
34.5.14.4
Tx Queue
34.5.14.5
Mixed Dedicated Tx Buffers/Tx FIFO
34.5.14.6
Mixed Dedicated Tx Buffers/Tx Queue
34.5.14.7
Transmit Cancellation
34.5.14.8
Tx Event Handling
34.5.15
FIFO Acknowledge Handling
34.5.16
Message RAM
34.5.16.1
Message RAM Configuration
34.5.16.2
Rx Buffer and FIFO Element
34.5.16.3
Tx Buffer Element
34.5.16.4
Tx Event FIFO Element
34.5.16.5
Standard Message ID Filter Element
34.5.16.6
Extended Message ID Filter Element
34.6
Software
34.6.1
MCAN Examples
34.6.1.1
MCAN Loopback with Interrupts Example Using SYSCONFIG Tool - SINGLE_CORE
34.6.1.2
MCAN Loopback with Polling Example Using SYSCONFIG Tool - SINGLE_CORE
34.6.1.3
MCAN Loopback with Interrupts Example Using SYSCONFIG Tool - SINGLE_CORE
34.7
MCAN Registers
34.7.1
MCAN Base Address Table
34.7.2
MCANSS_REGS Registers
34.7.3
MCAN_REGS Registers
34.7.4
MCAN_ERROR_REGS Registers
35
EtherCAT® SubordinateDevice Controller (ESC)
35.1
Introduction
35.1.1
EtherCAT Related Collateral
35.1.2
ESC Features
35.1.3
ESC Subsystem Integrated Features
35.1.4
ESC versus Beckhoff ET1100
35.1.5
EtherCAT IP Block Diagram
35.1.6
ESC Functional Blocks
35.1.6.1
Interface to EtherCAT MainDevice
35.1.6.2
Process Data Interface
35.1.6.3
General-Purpose Inputs and Outputs
35.1.6.4
EtherCAT Processing Unit (EPU)
35.1.6.5
Fieldbus Memory Management Unit (FMMU)
35.1.6.6
Sync Manager
35.1.6.7
Monitoring
35.1.6.8
Reset Controller
35.1.6.9
PHY Management
35.1.6.10
Distributed Clock (DC)
35.1.6.11
EEPROM
35.1.6.12
Status / LEDs
35.1.7
EtherCAT Physical Layer
35.1.7.1
MII Interface
35.1.7.2
PHY Management Interface
35.1.7.2.1
PHY Address Configuration
35.1.7.2.2
PHY Reset Signal
35.1.7.2.3
PHY Clock
35.1.8
EtherCAT Protocol
35.1.9
EtherCAT State Machine (ESM)
35.1.10
More Information on EtherCAT
35.1.11
Beckhoff® Automation EtherCAT IP Errata
35.2
ESC and ESCSS Description
35.2.1
ESC RAM Parity and Memory Address Maps
35.2.1.1
ESC RAM Parity Logic
35.2.1.2
CPU1 ESC Memory Address Map
35.2.1.3
CPU2 ESC Memory Address Map
35.2.2
Local Host Communication
35.2.2.1
Byte Accessibility Through PDI
35.2.2.2
Software Details for Operation Across Clock Domains
35.2.3
Debug Emulation Mode Operation
35.2.4
ESC SubSystem
35.2.4.1
CPU1 Bus Interface
35.2.4.2
CPU2/CPU3 Bus Interface
35.2.5
Interrupts and Interrupt Mapping
35.2.6
Power, Clocks, and Resets
35.2.6.1
Power
35.2.6.2
Clocking
35.2.6.3
Resets
35.2.6.3.1
Chip-Level Reset
35.2.6.3.2
EtherCAT Soft Resets
35.2.6.3.3
Reset Out (RESET_OUT)
35.2.7
LED Controls
35.2.8
SubordinateDevice Node Configuration and EEPROM
35.2.9
General-Purpose Inputs and Outputs
35.2.9.1
General-Purpose Inputs
35.2.9.2
General-Purpose Output
35.2.10
Distributed Clocks – Sync and Latch
35.2.10.1
Clock Synchronization
35.2.10.2
SYNC Signals
35.2.10.2.1
Seeking Host Intervention
35.2.10.3
LATCH Signals
35.2.10.3.1
Timestamping
35.2.10.4
Device Control and Synchronization
35.2.10.4.1
Synchronization of PWM
35.2.10.4.2
ECAP SYNC Inputs
35.2.10.4.3
SYNC Signal Conditioning and Rerouting
35.3
Software Initialization Sequence and Allocating Ownership
35.4
ESC Configuration Constants
35.5
Software
35.5.1
ECAT_SS Registers to Driverlib Functions
35.5.2
ETHERNET Examples
35.6
ETHERCAT Registers
35.6.1
ETHERCAT Base Address Table
35.6.2
ESCSS_REGS Registers
35.6.3
ESCSS_CONFIG_REGS Registers
36
Fast Serial Interface (FSI)
36.1
Introduction
36.1.1
FSI Related Collateral
36.1.2
FSI Features
36.2
System-level Integration
36.2.1
CPU Interface
36.2.2
Signal Description
36.2.2.1
Configuring Device Pins
36.2.3
FSI Interrupts
36.2.3.1
Transmitter Interrupts
36.2.3.2
Receiver Interrupts
36.2.3.3
Configuring Interrupts
36.2.3.4
Handling Interrupts
36.2.4
RTDMA Interface
36.2.5
External Frame Trigger Mux
36.3
FSI Functional Description
36.3.1
Introduction to Operation
36.3.2
FSI Transmitter Module
36.3.2.1
Initialization
36.3.2.2
FSI_TX Clocking
36.3.2.3
Transmitting Frames
36.3.2.3.1
Software Triggered Frames
36.3.2.3.2
Externally Triggered Frames
36.3.2.3.3
Ping Frame Generation
36.3.2.3.3.1
Automatic Ping Frames
36.3.2.3.3.2
Software Triggered Ping Frame
36.3.2.3.3.3
Externally Triggered Ping Frame
36.3.2.3.4
Transmitting Frames with RTDMA
36.3.2.4
Transmit Buffer Management
36.3.2.5
CRC Submodule
36.3.2.6
Conditions in Which the Transmitter Must Undergo a Soft Reset
36.3.2.7
Reset
36.3.3
FSI Receiver Module
36.3.3.1
Initialization
36.3.3.2
FSI_RX Clocking
36.3.3.3
Receiving Frames
36.3.3.3.1
Receiving Frames with RTDMA
36.3.3.4
Ping Frame Watchdog
36.3.3.5
Frame Watchdog
36.3.3.6
Delay Line Control
36.3.3.7
Buffer Management
36.3.3.8
CRC Submodule
36.3.3.9
Using the Zero Bits of the Receiver Tag Registers
36.3.3.10
Conditions in Which the Receiver Must Undergo a Soft Reset
36.3.3.11
FSI_RX Reset
36.3.4
Frame Format
36.3.4.1
FSI Frame Phases
36.3.4.2
Frame Types
36.3.4.2.1
Ping Frames
36.3.4.2.2
Error Frames
36.3.4.2.3
Data Frames
36.3.4.3
Multi-Lane Transmission
36.3.5
Flush Sequence
36.3.6
Internal Loopback
36.3.7
CRC Generation
36.3.8
ECC Module
36.3.9
FSI-SPI Compatibility Mode
36.3.9.1
Available SPI Modes
36.3.9.1.1
FSITX as SPI Controller, Transmit Only
36.3.9.1.1.1
Initialization
36.3.9.1.1.2
Operation
36.3.9.1.2
FSIRX as SPI Peripheral, Receive Only
36.3.9.1.2.1
Initialization
36.3.9.1.2.2
Operation
36.3.9.1.3
FSITX and FSIRX Emulating a Full Duplex SPI Controller
36.3.9.1.3.1
Initialization
36.3.9.1.3.2
Operation
36.4
FSI Programing Guide
36.4.1
Establishing the Communication Link
36.4.1.1
Establishing the Communication Link from the Main Device
36.4.1.2
Establishing the Communication Link from the Remote Device
36.4.2
Register Protection
36.4.3
Emulation Mode
36.5
Software
36.5.1
FSI Registers to Driverlib Functions
36.5.2
FSI Examples
36.5.2.1
FSI Loopback:CPU Control - SINGLE_CORE
36.5.2.2
FSI data transfers upon CPU Timer event - SINGLE_CORE
36.6
FSI Registers
36.6.1
FSI Base Address Table
36.6.2
FSI_TX_REGS Registers
36.6.3
FSI_RX_REGS Registers
37
Inter-Integrated Circuit Module (I2C)
37.1
Introduction
37.1.1
I2C Related Collateral
37.1.2
Features
37.1.3
Features Not Supported
37.1.4
Functional Overview
37.1.5
Clock Generation
37.1.6
I2C Clock Divider Registers (I2CCLKL and I2CCLKH)
37.1.6.1
Formula for the Controller Clock Period
37.2
Configuring Device Pins
37.3
I2C Module Operational Details
37.3.1
Input and Output Voltage Levels
37.3.2
Selecting Pullup Resistors
37.3.3
Data Validity
37.3.4
Operating Modes
37.3.5
I2C Module START and STOP Conditions
37.3.6
Non-repeat Mode versus Repeat Mode
37.3.7
Serial Data Formats
37.3.7.1
7-Bit Addressing Format
37.3.7.2
10-Bit Addressing Format
37.3.7.3
Free Data Format
37.3.7.4
Using a Repeated START Condition
37.3.8
Clock Synchronization
37.3.9
Clock Stretching
37.3.10
Arbitration
37.3.11
Digital Loopback Mode
37.3.12
NACK Bit Generation
37.4
Interrupt Requests Generated by the I2C Module
37.4.1
Basic I2C Interrupt Requests
37.4.2
I2C FIFO Interrupts
37.5
Resetting or Disabling the I2C Module
37.6
Software
37.6.1
I2C Registers to Driverlib Functions
37.6.2
I2C Examples
37.6.2.1
I2C Digital Loopback with FIFO Interrupts - SINGLE_CORE
37.6.2.2
I2C EEPROM - SINGLE_CORE
37.6.2.3
I2C Digital External Loopback with FIFO Interrupts - SINGLE_CORE
37.6.2.4
I2C Extended Clock Stretching Controller TX - SINGLE_CORE
37.6.2.5
I2C Extended Clock Stretching Target RX - SINGLE_CORE
37.7
I2C Registers
37.7.1
I2C Base Address Table
37.7.2
I2C_REGS Registers
38
Power Management Bus Module (PMBus)
38.1
Introduction
38.1.1
PMBUS Related Collateral
38.1.2
Features
38.1.3
Block Diagram
38.2
Configuring Device Pins
38.3
Target Mode Operation
38.3.1
Configuration
38.3.2
Message Handling
38.3.2.1
Quick Command
38.3.2.2
Send Byte
38.3.2.3
Receive Byte
38.3.2.4
Write Byte and Write Word
38.3.2.5
Read Byte and Read Word
38.3.2.6
Process Call
38.3.2.7
Block Write
38.3.2.8
Block Read
38.3.2.9
Block Write-Block Read Process Call
38.3.2.10
Alert Response
38.3.2.11
Extended Command
38.3.2.12
Group Command
38.4
Controller Mode Operation
38.4.1
Configuration
38.4.2
Message Handling
38.4.2.1
Quick Command
38.4.2.2
Send Byte
38.4.2.3
Receive Byte
38.4.2.4
Write Byte and Write Word
38.4.2.5
Read Byte and Read Word
38.4.2.6
Process Call
38.4.2.7
Block Write
38.4.2.8
Block Read
38.4.2.9
Block Write-Block Read Process Call
38.4.2.10
Alert Response
38.4.2.11
Extended Command
38.4.2.12
Group Command
38.5
Software
38.5.1
PMBUS Registers to Driverlib Functions
38.6
PMBUS Registers
38.6.1
PMBUS Base Address Table
38.6.2
PMBUS_REGS Registers
39
Universal Asynchronous Receiver/Transmitter (UART)
39.1
Introduction
39.1.1
Features
39.1.2
UART Related Collateral
39.1.3
Block Diagram
39.2
Functional Description
39.2.1
Transmit and Receive Logic
39.2.2
Baud-Rate Generation
39.2.3
Data Transmission
39.2.4
Serial IR (SIR)
39.2.5
9-Bit UART Mode
39.2.6
FIFO Operation
39.2.7
Interrupts
39.2.8
Loopback Operation
39.2.9
RTDMA Operation
39.2.9.1
Receiving Data Using UART with RTDMA
39.2.9.2
Transmitting Data Using UART with RTDMA
39.3
Initialization and Configuration
39.4
Software
39.4.1
UART Registers to Driverlib Functions
39.4.2
UART Examples
39.4.2.1
UART Loopback - SINGLE_CORE
39.4.2.2
UART Loopback with Interrupt - SINGLE_CORE
39.4.2.3
UART Loopback with DMA - SINGLE_CORE
39.4.2.4
UART Echoback - SINGLE_CORE
39.5
UART Registers
39.5.1
UART Base Address Table
39.5.2
UART_REGS Registers
39.5.3
UART_REGS_WRITE Registers
40
Local Interconnect Network (LIN)
40.1
LIN Overview
40.1.1
LIN Mode Features
40.1.2
SCI Mode Features
40.1.3
Block Diagram
40.2
Serial Communications Interface Module
40.2.1
SCI Communication Formats
40.2.1.1
SCI Frame Formats
40.2.1.2
SCI Asynchronous Timing Mode
40.2.1.3
SCI Baud Rate
40.2.1.3.1
Superfractional Divider, SCI Asynchronous Mode
40.2.1.4
SCI Multiprocessor Communication Modes
40.2.1.4.1
Idle-Line Multiprocessor Modes
40.2.1.4.2
Address-Bit Multiprocessor Mode
40.2.1.5
SCI Multibuffered Mode
40.2.2
SCI Interrupts
40.2.2.1
Transmit Interrupt
40.2.2.2
Receive Interrupt
40.2.2.3
WakeUp Interrupt
40.2.2.4
Error Interrupts
40.2.3
SCI RTDMA Interface
40.2.3.1
Receive RTDMA Requests
40.2.3.2
Transmit RTDMA Requests
40.2.4
SCI Configurations
40.2.4.1
Receiving Data
40.2.4.1.1
Receiving Data in Single-Buffer Mode
40.2.4.1.2
Receiving Data in Multibuffer Mode
40.2.4.2
Transmitting Data
40.2.4.2.1
Transmitting Data in Single-Buffer Mode
40.2.4.2.2
Transmitting Data in Multibuffer Mode
40.2.5
SCI Low-Power Mode
40.2.5.1
Sleep Mode for Multiprocessor Communication
40.3
Local Interconnect Network Module
40.3.1
LIN Communication Formats
40.3.1.1
LIN Standards
40.3.1.2
Message Frame
40.3.1.2.1
Message Header
40.3.1.2.2
Response
40.3.1.3
Synchronizer
40.3.1.4
Baud Rate
40.3.1.4.1
Fractional Divider
40.3.1.4.2
Superfractional Divider
40.3.1.4.2.1
Superfractional Divider In LIN Mode
40.3.1.5
Header Generation
40.3.1.5.1
Event Triggered Frame Handling
40.3.1.5.2
Header Reception and Adaptive Baud Rate
40.3.1.6
Extended Frames Handling
40.3.1.7
Timeout Control
40.3.1.7.1
No-Response Error (NRE)
40.3.1.7.2
Bus Idle Detection
40.3.1.7.3
Timeout After Wakeup Signal and Timeout After Three Wakeup Signals
40.3.1.8
TXRX Error Detector (TED)
40.3.1.8.1
Bit Errors
40.3.1.8.2
Physical Bus Errors
40.3.1.8.3
ID Parity Errors
40.3.1.8.4
Checksum Errors
40.3.1.9
Message Filtering and Validation
40.3.1.10
Receive Buffers
40.3.1.11
Transmit Buffers
40.3.2
LIN Interrupts
40.3.3
Servicing LIN Interrupts
40.3.4
LIN RTDMA Interface
40.3.4.1
LIN Receive RTDMA Requests
40.3.4.2
LIN Transmit RTDMA Requests
40.3.5
LIN Configurations
40.3.5.1
Receiving Data
40.3.5.1.1
Receiving Data in Single-Buffer Mode
40.3.5.1.2
Receiving Data in Multibuffer Mode
40.3.5.2
Transmitting Data
40.3.5.2.1
Transmitting Data in Single-Buffer Mode
40.3.5.2.2
Transmitting Data in Multibuffer Mode
40.4
Low-Power Mode
40.4.1
Entering Sleep Mode
40.4.2
Wakeup
40.4.3
Wakeup Timeouts
40.5
Emulation Mode
40.6
Software
40.6.1
LIN Registers to Driverlib Functions
40.6.2
LIN Examples
40.6.2.1
LIN Internal Loopback with Interrupts - SINGLE_CORE
40.6.2.2
LIN SCI Mode Internal Loopback with Interrupts - SINGLE_CORE
40.6.2.3
LIN SCI MODE Internal Loopback with DMA - SINGLE_CORE
40.6.2.4
LIN Internal Loopback without interrupts (polled mode) - SINGLE_CORE
40.6.2.5
LIN SCI MODE (Single Buffer) Internal Loopback with DMA - SINGLE_CORE
40.7
LIN Registers
40.7.1
LIN Base Address Table
40.7.2
LIN_REGS Registers
41
Serial Peripheral Interface (SPI)
41.1
Introduction
41.1.1
Features
41.1.2
Block Diagram
41.2
System-Level Integration
41.2.1
SPI Module Signals
41.2.2
Configuring Device Pins
41.2.2.1
GPIOs Required for High-Speed Mode
41.2.3
SPI Interrupts
41.2.4
RTDMA Support
41.3
SPI Operation
41.3.1
Introduction to Operation
41.3.2
Controller Mode
41.3.3
Peripheral Mode
41.3.4
Data Format
41.3.4.1
Transmission of Bit from SPIRXBUF
41.3.5
Baud Rate Selection
41.3.5.1
Baud Rate Determination
41.3.5.2
Baud Rate Calculation in Non-High Speed Mode (HS_MODE = 0)
41.3.5.3
Baud Rate Calculation
41.3.6
SPI Clocking Schemes
41.3.7
SPI FIFO Description
41.3.8
SPI RTDMA Transfers
41.3.8.1
Transmitting Data Using SPI with RTDMA
41.3.8.2
Receiving Data Using SPI with RTDMA
41.3.9
SPI High-Speed Mode
41.3.10
SPI 3-Wire Mode Description
41.4
Programming Procedure
41.4.1
Initialization Upon Reset
41.4.2
Configuring the SPI
41.4.3
Configuring the SPI for High-Speed Mode
41.4.4
Data Transfer Example
41.4.5
SPI 3-Wire Mode Code Examples
41.4.5.1
3-Wire Controller Mode Transmit
1703
41.4.5.2.1
3-Wire Controller Mode Receive
1705
41.4.5.2.1
3-Wire Peripheral Mode Transmit
1707
41.4.5.2.1
3-Wire Peripheral Mode Receive
41.4.6
SPI STEINV Bit in Digital Audio Transfers
41.5
Software
41.5.1
SPI Registers to Driverlib Functions
41.5.2
SPI Examples
41.5.2.1
SPI Digital Loopback - SINGLE_CORE
41.5.2.2
SPI Digital Loopback with FIFO Interrupts - SINGLE_CORE
41.5.2.3
SPI Digital External Loopback without FIFO Interrupts - SINGLE_CORE
41.5.2.4
SPI Digital External Loopback with FIFO Interrupts - SINGLE_CORE
41.5.2.5
SPI Digital Loopback with DMA - SINGLE_CORE
41.6
SPI Registers
41.6.1
SPI Base Address Table
41.6.2
SPI_REGS Registers
42
Single Edge Nibble Transmission (SENT)
42.1
Introduction
42.1.1
Features
42.1.2
SENT Related Collateral
42.2
Advanced Topologies: MTPG
42.2.1
MTPG Features
42.2.2
MTPG Description
42.2.3
Channel Triggers
42.2.4
Timeout
42.3
Protocol Description
42.3.1
Nibble Frame Format
42.3.2
CRC
42.3.3
Short Serial Message Format
42.3.4
Enhanced Serial Message Format
42.3.5
Enhanced Serial Message Format CRC
42.3.6
Receive Modes
42.4
RTDMA Trigger
42.5
Interrupts Configuration
42.6
Glitch Filter
42.7
Software
42.7.1
SENT Registers to Driverlib Functions
42.7.2
SENT Examples
42.7.2.1
SENT Single Sensor - SINGLE_CORE
42.8
SENT Registers
42.8.1
SENT Base Address Table
42.8.2
SENT_CFG Registers
42.8.3
SENT_MEM Registers
42.8.4
SENT_MTPG Registers
43
► SECURITY PERIPHERALS
Technical Reference Manual Overview
44
Security Modules
44.1
Hardware Security Module (HSM)
44.1.1
HSM Related Collateral
44.2
Cryptographic Accelerators
45
Revision History
19.1.2
WADI Related Collateral
Foundational Materials
C29x Academy - Waveform Analyzer Diagnostic (WADI)