SPRUJ79 November   2024 F29H850TU , F29H859TU-Q1

 

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

EPWM_REGS Registers

Table 30-25 lists the memory-mapped registers for the EPWM_REGS registers. All register offset addresses not listed in Table 30-25 should be considered as reserved locations and the register contents should not be modified.

Table 30-25 EPWM_REGS Registers
OffsetAcronymRegister NameProtection
0hTBCTLTime Base Control Register
2hTBCTL2Time Base Control Register 2
6hEPWMSYNCINSELEPWMxSYNCIN Source Select Register
8hTBCTRTime Base Counter Register
AhTBSTSTime Base Status Register
ChEPWMSYNCOUTENEPWMxSYNCOUT Source Enable Register
EhTBCTL3Time Base Control Register 3
10hCMPCTLCounter Compare Control Register
12hCMPCTL2Counter Compare Control Register 2
18hDBCTLDead-Band Generator Control Register
1AhDBCTL2Dead-Band Generator Control Register 2
20hAQCTLAction Qualifier Control Register
22hAQTSRCSELAction Qualifier Trigger Event Source Select Register
28hPCCTLPWM Chopper Control Register
30hVCAPCTLValley Capture Control Register
32hVCNTCFGValley Counter Config Register
40hHRCNFGHRPWM Configuration Register
4EhHRCNFG2HRPWM Configuration 2 Register
5AhHRPCTLHigh Resolution Period Control Register
5ChTRREMHRPWM High Resolution Remainder Register
68hGLDCTLGlobal PWM Load Control Register
6AhGLDCFGGlobal PWM Load Config Register
80hAQCTLAAction Qualifier Control Register For Output A
82hAQCTLA2Additional Action Qualifier Control Register For Output A
84hAQCTLBAction Qualifier Control Register For Output B
86hAQCTLB2Additional Action Qualifier Control Register For Output B
8EhAQSFRCAction Qualifier Software Force Register
92hAQCSFRCAction Qualifier Continuous S/W Force Register
A0hDBREDHRDead-Band Generator Rising Edge Delay High Resolution Mirror Register
A2hDBREDDead-Band Generator Rising Edge Delay High Resolution Mirror Register
A4hDBFEDHRDead-Band Generator Falling Edge Delay High Resolution Register
A6hDBFEDDead-Band Generator Falling Edge Delay Count Register
C0hTBPHSTime Base Phase High
C4hTBPRDHRTime Base Period High Resolution Register
C6hTBPRDTime Base Period Register
D4hCMPACounter Compare A Register
D8hCMPBCompare B Register
DEhCMPCCounter Compare C Register
E2hCMPDCounter Compare D Register
E8hGLDCTL2Global PWM Load Control Register 2
EEhSWVDELVALSoftware Valley Mode Delay Register
100hTZSELTrip Zone Select Register
102hTZSEL2Trip Zone Select Register 2
104hTZDCSELTrip Zone Digital Comparator Select Register
108hTZCTLTrip Zone Control Register
10AhTZCTL2Additional Trip Zone Control Register
10ChTZCTLDCATrip Zone Control Register Digital Compare A
10EhTZCTLDCBTrip Zone Control Register Digital Compare B
11AhTZEINTTrip Zone Enable Interrupt Register
126hTZFLGTrip Zone Flag Register
128hTZCBCFLGTrip Zone CBC Flag Register
12AhTZOSTFLGTrip Zone OST Flag Register
12EhTZCLRTrip Zone Clear Register
130hTZCBCCLRTrip Zone CBC Clear Register
132hTZOSTCLRTrip Zone OST Clear Register
136hTZFRCTrip Zone Force Register
13AhTZTRIPOUTSELTrip Zone Force Register
148hETSELEvent Trigger Selection Register
14ChETPSEvent Trigger Pre-Scale Register
150hETFLGEvent Trigger Flag Register
154hETCLREvent Trigger Clear Register
158hETFRCEvent Trigger Force Register
15ChETINTPSEvent-Trigger Interrupt Pre-Scale Register
160hETSOCPSEvent-Trigger SOC Pre-Scale Register
164hETCNTINITCTLEvent-Trigger Counter Initialization Control Register
168hETCNTINITEvent-Trigger Counter Initialization Register
16ChETINTMIXENEvent-Trigger Mixed INT Selection
170hETSOCAMIXENEvent-Trigger Mixed SOCA Selection
174hETSOCBMIXENEvent-Trigger Mixed SOCB Selection
180hDCTRIPSELDigital Compare Trip Select Register
186hDCACTLDigital Compare A Control Register
188hDCBCTLDigital Compare B Control Register
18EhDCFCTLDigital Compare Filter Control Register
190hDCCAPCTLDigital Compare Capture Control Register
192hDCFOFFSETDigital Compare Filter Offset Register
194hDCFOFFSETCNTDigital Compare Filter Offset Counter Register
196hDCFWINDOWDigital Compare Filter Window Register
198hDCFWINDOWCNTDigital Compare Filter Window Counter Register
19AhBLANKPULSEMIXSELBlanking window trigger pulse select register
19ChDCCAPMIXSELCapture Event pulse select register
19EhDCCAPDigital Compare Counter Capture Register
1A4hDCAHTRIPSELDigital Compare AH Trip Select
1A6hDCALTRIPSELDigital Compare AL Trip Select
1A8hDCBHTRIPSELDigital Compare BH Trip Select
1AAhDCBLTRIPSELDigital Compare BL Trip Select
1AChCAPCTLEvent Capture Control Register
1AEhCAPGATETRIPSELEvent Capture Gate Trip input select
1B0hCAPINTRIPSELEvent Capture Trip input select
1B2hCAPTRIPSELEvent Capture Signal Select
1F4hEPWMLOCKEPWM Lock Register
1FAhHWVDELVALHardware Valley Mode Delay Register
1FChVCNTVALHardware Valley Counter Register

Complex bit access types are encoded to fit into small table cells. Table 30-26 shows the codes that are used for access types in this section.

Table 30-26 EPWM_REGS Access Type Codes
Access TypeCodeDescription
Read Type
RRRead
R-0R
-0
Read
Returns 0s
Write Type
WWWrite
W1CW
1C
Write
1 to clear
W1SW
1S
Write
1 to set
WOnceW
Once
Write
Write once
Reset or Default Value
-nValue after reset or the default value
Register Array Variables
i,j,k,l,m,nWhen these variables are used in a register name, an offset, or an address, they refer to the value of a register array where the register is part of a group of repeating registers. The register groups form a hierarchical structure and the array is represented with a formula.
yWhen this variable is used in a register name, an offset, or an address it refers to the value of a register array.

30.20.2.1 TBCTL Register (Offset = 0h) [Reset = 0083h]

TBCTL is shown in Figure 30-122 and described in Table 30-27.

Return to the Summary Table.

Time Base Control Register

Figure 30-122 TBCTL Register
15141312111098
FREE_SOFTPHSDIRCLKDIVHSPCLKDIV
R/W-0hR/W-0hR/W-0hR/W-1h
76543210
HSPCLKDIVSWFSYNCRESERVEDPRDLDPHSENCTRMODE
R/W-1hR-0/W1S-0hR-0hR/W-0hR/W-0hR/W-3h
Table 30-27 TBCTL Register Field Descriptions
BitFieldTypeResetDescription
15-14FREE_SOFTR/W0hEmulation Mode Bits. These bits select the behavior of the ePWM time-base counter during emulation events

00: Stop after the next time-base counter increment or decrement
01: Stop when counter completes a whole cycle:
- Up-count mode: stop when the time-base counter = period (TBCTR = TBPRD)
- Down-count mode: stop when the time-base counter = 0x00 (TBCTR = 0x00)
- Up-down-count mode: stop when the time-base counter = 0x00 (TBCTR = 0x00)
1x: Free run

Reset type: SYSRSn

13PHSDIRR/W0hPhase Direction Bit

This bit is only used when the time-base counter is configured in the up-down-count mode. The
PHSDIR bit indicates the direction the time-base counter (TBCTR) will count after a synchronization
event occurs and a new phase value is loaded from the phase (TBPHS) register. This is
irrespective of the direction of the counter before the synchronization event..
In the up-count and down-count modes this bit is ignored.

0: Count down after the synchronization event.
1: Count up after the synchronization event.

Reset type: SYSRSn

12-10CLKDIVR/W0hTime Base Clock Pre-Scale Bits

These bits select the time base clock pre-scale value (TBCLK = EPWMCLK/(HSPCLKDIV * CLKDIV):

000: /1 (default on reset)
001: /2
010: /4
011: /8
100: /16
101: /32
110: /64
111: /128

Reset type: SYSRSn

9-7HSPCLKDIVR/W1hHigh Speed Time Base Clock Pre-Scale Bits

These bits determine part of the time-base clock prescale value.
TBCLK = EPWMCLK / (HSPCLKDIV x CLKDIV). This divisor emulates the HSPCLK in the TMS320x281x system as used on the Event Manager (EV) peripheral.

000: /1
001: /2 (default on reset)
010: /4
011: /6
100: /8
101: /10
110: /12
111: /14

Reset type: SYSRSn

6SWFSYNCR-0/W1S0hSoftware Forced Sync Pulse

0: Writing a 0 has no effect and reads always return a 0.
1: Writing a 1 forces a one-time synchronization pulse to be generated.
SWFSYNC can be enabled to affect EPWMxSYNCO by setting the EPWMSYNCOUTEN.SWEN bit.

Reset type: SYSRSn

5-4RESERVEDR0hReserved
3PRDLDR/W0hActive Period Reg Load from Shadow Select

0: The period register (TBPRD) is loaded from its shadow register when the time-base counter, TBCTR, is equal to zero and/or a sync event as determined by the TBCTL2[PRDLDSYNC] bit.
A write/read to the TBPRD register accesses the shadow register.

1: Immediate Mode (Shadow register bypassed): A write or read to the TBPRD register accesses the active register.

Reset type: SYSRSn

2PHSENR/W0hCounter Reg Load from Phase Reg Enable

0: Do not load the time-base counter (TBCTR) from the time-base phase register (TBPHS).
1: Allow Counter to be loaded from the Phase register (TBPHS) and shadow to active load events when an EPWMxSYNCI input signal occurs or a software-forced sync signal, see bit 6.

Reset type: SYSRSn

1-0CTRMODER/W3hCounter Mode

The time-base counter mode is normally configured once and not changed during normal operation. If you change the mode of the counter, the change will take effect at the next TBCLK edge and the current counter value shall increment or decrement from the value before the mode change. These bits set the time-base counter mode of operation as follows:
00: Up-count mode
01: Down-count mode
10: Up-down count mode
11: Freeze counter operation (default on reset)

Reset type: SYSRSn

30.20.2.2 TBCTL2 Register (Offset = 2h) [Reset = 0000h]

TBCTL2 is shown in Figure 30-123 and described in Table 30-28.

Return to the Summary Table.

Time Base Control Register 2

Figure 30-123 TBCTL2 Register
15141312111098
PRDLDSYNCRESERVEDRESERVED
R/W-0hR-0hR-0-0h
76543210
OSHTSYNCOSHTSYNCMODERESERVEDRESERVED
R-0/W1S-0hR/W-0hR/W-0hR-0-0h
Table 30-28 TBCTL2 Register Field Descriptions
BitFieldTypeResetDescription
15-14PRDLDSYNCR/W0hShadow to Active Period Register Load on SYNC event

00: Shadow to Active Load of TBPRD occurs only when TBCTR = 0 (same as legacy).
01: Shadow to Active Load of TBPRD occurs both when TBCTR = 0 and when SYNC occurs.
10: Shadow to Active Load of TBPRD occurs only when a SYNC is received.
11: Reserved

Note: This bit selection is valid only if TBCTL[PRDLD]=0.

Reset type: SYSRSn

13-12RESERVEDR0hReserved
11-8RESERVEDR-00hReserved
7OSHTSYNCR-0/W1S0hOneshot sync bit

0: Writing a '0' has no effect.
1: Allow one sync pulse to propogate.

Reset type: SYSRSn

6OSHTSYNCMODER/W0hOneshot sync enable bit

0: Oneshot sync mode disabled
1: Oneshot sync mode enabled

Reset type: SYSRSn

5RESERVEDR/W0hReserved
4-0RESERVEDR-00hReserved

30.20.2.3 EPWMSYNCINSEL Register (Offset = 6h) [Reset = 0001h]

EPWMSYNCINSEL is shown in Figure 30-124 and described in Table 30-29.

Return to the Summary Table.

EPWMxSYNCIN Source Select Register

Figure 30-124 EPWMSYNCINSEL Register
15141312111098
RESERVED
R-0h
76543210
RESERVEDSEL
R-0hR/W-1h
Table 30-29 EPWMSYNCINSEL Register Field Descriptions
BitFieldTypeResetDescription
15-7RESERVEDR0hReserved
6-0SELR/W1hThese bits determine the source of the EPWMxSYNCI signal.
0x00 Disabled
Other Values defined in the 'ePWM SYNC Selection' table

Reset type: SYSRSn

30.20.2.4 TBCTR Register (Offset = 8h) [Reset = 0000h]

TBCTR is shown in Figure 30-125 and described in Table 30-30.

Return to the Summary Table.

Time Base Counter Register

Figure 30-125 TBCTR Register
15141312111098
TBCTR
R/W-0h
76543210
TBCTR
R/W-0h
Table 30-30 TBCTR Register Field Descriptions
BitFieldTypeResetDescription
15-0TBCTRR/W0hTime Base Counter Register

Reset type: SYSRSn

30.20.2.5 TBSTS Register (Offset = Ah) [Reset = 0001h]

TBSTS is shown in Figure 30-126 and described in Table 30-31.

Return to the Summary Table.

Time Base Status Register

Figure 30-126 TBSTS Register
15141312111098
RESERVED
R-0-0h
76543210
RESERVEDCTRMAXSYNCICTRDIR
R-0-0hR/W1C-0hR/W1C-0hR-1h
Table 30-31 TBSTS Register Field Descriptions
BitFieldTypeResetDescription
15-3RESERVEDR-00hReserved
2CTRMAXR/W1C0hTime-Base Counter Max Latched Status Bit

0: Reading a 0 indicates the time-base counter never reached its maximum value. Writing a 0 will have no effect.
1: Reading a 1 on this bit indicates that the time-base counter reached the max value 0xFFFF. Writing a 1 to this bit will clear the latched event.

Reset type: SYSRSn

1SYNCIR/W1C0hInput Synchronization Latched Status Bit

0: Writing a 0 will have no effect. Reading a 0 indicates no external synchronization event has occurred.
1: Reading a 1 on this bit indicates that an external synchronization event has occurred (EPWMxSYNCI). Writing a 1 to this bit will clear the latched event.

Reset type: SYSRSn

0CTRDIRR1hTime Base Counter Direction Status Bit

0: Time-Base Counter is currently counting down.
1: Time-Base Counter is currently counting up.

Note: This bit is only valid when the counter is not frozen.

Reset type: SYSRSn

30.20.2.6 EPWMSYNCOUTEN Register (Offset = Ch) [Reset = 0001h]

EPWMSYNCOUTEN is shown in Figure 30-127 and described in Table 30-32.

Return to the Summary Table.

EPWMxSYNCOUT Source Enable Register

Figure 30-127 EPWMSYNCOUTEN Register
15141312111098
RESERVED
R-0h
76543210
RESERVEDDCBEVT1ENDCAEVT1ENCMPDENCMPCENCMPBENZEROENSWEN
R-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-1h
Table 30-32 EPWMSYNCOUTEN Register Field Descriptions
BitFieldTypeResetDescription
15-8RESERVEDR0hReserved
7RESERVEDR0hReserved
6DCBEVT1ENR/W0hThis bit enables the DCBEVT1.sync event to set the EPWMxSYNCO signal.
0 Disabled
1 The EPWMxSYNCO signal is pulsed for one PWM clock period upon a DCBEVT1.sync event

Reset type: SYSRSn

5DCAEVT1ENR/W0hThis bit enables the DCAEVT1.sync event to set the EPWMxSYNCOUT signal.
0 Disabled
1 The EPWMxSYNCOUT signal is pulsed for one PWM clock period upon a DCAEVT1.sync event

Reset type: SYSRSn

4CMPDENR/W0hThis bit enables the TBCTR = CMPD event to set the EPWMxSYNCO signal.
0 Disabled
1 The EPWMxSYNCO signal is pulsed for one PWM clock period upon a time-base counter equal to counter compare D event (TBCTR = CMPD)

Reset type: SYSRSn

3CMPCENR/W0hThis bit enables the TBCTR = CMPC event to set the EPWMxSYNCO signal.
0 Disabled
1 The EPWMxSYNCO signal is pulsed for one PWM clock period upon a time-base counter equal to counter compare C event (TBCTR = CMPC)

Reset type: SYSRSn

2CMPBENR/W0hThis bit enables the TBCTR = CMPB event to set the EPWMxSYNCO signal.
0 Disabled
1 The EPWMxSYNCO signal is pulsed for one PWM clock period upon a time-base counter equal to counter compare B event (TBCTR = CMPB)

Reset type: SYSRSn

1ZEROENR/W0hThis bit enables the TBCTR = 0x0000 event to set the EPWMxSYNCOUT signal.
0 Disabled
1 The EPWMxSYNCOUT signal is pulsed for one PWM clock period upon the value of TBCTR changing to 0x0000

Reset type: SYSRSn

0SWENR/W1hThis bit enables the TBCTL.SWFSYNC bit to set the EPWMxSYNCO signal.
0 Disabled
1 The EPWMxSYNCO signal is pulsed for one PWM clock period when the TBCTL.SWFSYNC bit is set

Reset type: SYSRSn

30.20.2.7 TBCTL3 Register (Offset = Eh) [Reset = 0000h]

TBCTL3 is shown in Figure 30-128 and described in Table 30-33.

Return to the Summary Table.

Time Base Control Register 3

Figure 30-128 TBCTL3 Register
15141312111098
RESERVED
R-0h
76543210
RESERVEDOSSFRCEN
R-0hR/W-0h
Table 30-33 TBCTL3 Register Field Descriptions
BitFieldTypeResetDescription
15-1RESERVEDR0hReserved
0OSSFRCENR/W0hThis bit determines which bit sets the EPWMxSYNCOUT One Shot Latch.
0 TBCTL2[OSHTSYNC] sets the One Shot Latch
1 GLDCTL2[OSHTLD] sets the One Shot Latch

Reset type: SYSRSn

30.20.2.8 CMPCTL Register (Offset = 10h) [Reset = 0000h]

CMPCTL is shown in Figure 30-129 and described in Table 30-34.

Return to the Summary Table.

Counter Compare Control Register

Figure 30-129 CMPCTL Register
15141312111098
LINKDUTYHRRESERVEDLOADBSYNCLOADASYNCSHDWBFULLSHDWAFULL
R/W-0hR-0-0hR/W-0hR/W-0hR-0hR-0h
76543210
RESERVEDSHDWBMODERESERVEDSHDWAMODELOADBMODELOADAMODE
R-0-0hR/W-0hR-0-0hR/W-0hR/W-0hR/W-0h
Table 30-34 CMPCTL Register Field Descriptions
BitFieldTypeResetDescription
15LINKDUTYHRR/W0hCMPAHR, CMPBHR Register Linking:
0 PWMA and PWMB outputs generated independently and CMPAHR, CMPBHR are independent values as on Type-4
1 When this bit is set CMPBHR assumes the same value as CMPAHR. This is typically used in complimentary PWM output generation
(Section 7 details of the operation)

Reset type: SYSRSn

14RESERVEDR-00hReserved
13-12LOADBSYNCR/W0hShadow to Active CMPB Register Load on SYNC event

00: Shadow to Active Load of CMPB:CMPBHR occurs according to LOADBMODE (bits 1,0) (same as legacy)
01: Shadow to Active Load of CMPB:CMPBHR occurs both according to LOADBMODE bits and when SYNC occurs
10: Shadow to Active Load of CMPB:CMPBHR occurs only when a SYNC is received
11: Reserved

Note: This bit is valid only if CMPCTL[SHDWBMODE] = 0.

Reset type: SYSRSn

11-10LOADASYNCR/W0hShadow to Active CMPA Register Load on SYNC event

00: Shadow to Active Load of CMPA:CMPAHR occurs according to LOADAMODE (bits 1,0) (same as legacy)
01: Shadow to Active Load of CMPA:CMPAHR occurs both according to LOADAMODE bits and when SYNC occurs
10: Shadow to Active Load of CMPA:CMPAHR occurs only when a SYNC is received
11: Reserved

Note: This bit is valid only if CMPCTL[SHDWAMODE] = 0.

Reset type: SYSRSn

9SHDWBFULLR0hCounter-compare B (CMPB) Shadow Register Full Status Flag

This bit self clears once a loadstrobe occurs.

0: CMPB shadow register not full yet
1: Indicates the CMPB shadow register is full
a CPU write will overwrite current shadow value

Reset type: SYSRSn

8SHDWAFULLR0hCounter-compare A (CMPA) Shadow Register Full Status Flag

The flag bit is set when a 32-bit write to CMPA:CMPAHR register or a 16-bit write to CMPA register is made. A 16-bit write to CMPAHR register will not affect the flag. This bit self clears once a load-strobe occurs.

0: CMPA shadow register not full yet
1: Indicates the CMPA shadow register is full, a CPU write will overwrite the current shadow value

Reset type: SYSRSn

7RESERVEDR-00hReserved
6SHDWBMODER/W0hCounter-compare B (CMPB) Register Operating Mode

0: Shadow mode. Operates as a double buffer. All writes via the CPU access the shadow register
1: Immediate mode. Only the active compare B register is used. All writes and reads directly access the active register for immediate compare action

Reset type: SYSRSn

5RESERVEDR-00hReserved
4SHDWAMODER/W0hCounter-compare A (CMPA) Register Operating Mode

0: Shadow mode. Operates as a double buffer. All writes via the CPU access the shadow register
1: Immediate mode. Only the active compare register is used. All writes and reads directly access the active register for immediate compare action

Reset type: SYSRSn

3-2LOADBMODER/W0hActive Counter-Compare B (CMPB) Load From Shadow Select Mode

This bit has no effect in immediate mode (CMPCTL[SHDWBMODE] = 1).

00: Load on CTR = Zero: Time-base counter equal to zero (TBCTR = 0x0000)
01: Load on CTR = PRD: Time-base counter equal to period (TBCTR = TBPRD)
10: Load on either CTR = Zero or CTR = PRD
11: Freeze (no loads possible)

Reset type: SYSRSn

1-0LOADAMODER/W0hActive Counter-Compare A (CMPA) Load From Shadow Select Mode

This bit has no effect in immediate mode (CMPCTL[SHDWAMODE] = 1).

00: Load on CTR = Zero: Time-base counter equal to zero (TBCTR = 0x0000)
01: Load on CTR = PRD: Time-base counter equal to period (TBCTR = TBPRD)
10: Load on either CTR = Zero or CTR = PRD
11: Freeze (no loads possible)

Reset type: SYSRSn

30.20.2.9 CMPCTL2 Register (Offset = 12h) [Reset = 0000h]

CMPCTL2 is shown in Figure 30-130 and described in Table 30-35.

Return to the Summary Table.

Counter Compare Control Register 2

Figure 30-130 CMPCTL2 Register
15141312111098
RESERVEDLOADDSYNCLOADCSYNCRESERVED
R-0-0hR/W-0hR/W-0hR-0-0h
76543210
RESERVEDSHDWDMODERESERVEDSHDWCMODELOADDMODELOADCMODE
R-0-0hR/W-0hR-0-0hR/W-0hR/W-0hR/W-0h
Table 30-35 CMPCTL2 Register Field Descriptions
BitFieldTypeResetDescription
15-14RESERVEDR-00hReserved
13-12LOADDSYNCR/W0hShadow to Active CMPD Register Load on SYNC event

00: Shadow to Active Load of CMPD occurs according to LOADDMODE
01: Shadow to Active Load of CMPD occurs both according to LOADDMODE bits and when SYNC occurs
10: Shadow to Active Load of CMPD occurs only when a SYNC is received
11: Reserved

Note: This bit is valid only if CMPCTL2[SHDWDMODE] = 0.

Reset type: SYSRSn

11-10LOADCSYNCR/W0hShadow to Active CMPC Register Load on SYNC event

00: Shadow to Active Load of CMPC occurs according to LOADCMODE
01: Shadow to Active Load of CMPC occurs both according to LOADCMODE bits and when SYNC occurs
10: Shadow to Active Load of CMPC occurs only when a SYNC is received
11: Reserved

Note: This bit is valid only if CMPCTL2[SHDWCMODE] = 0.

Reset type: SYSRSn

9-7RESERVEDR-00hReserved
6SHDWDMODER/W0hCounter-Compare D Register Operating Mode

0: Shadow mode - operates as a double buffer. All writes via the CPU access Shadow register.
1: Immediate mode - only the Active compare register is used. All writes/reads via the CPU directly access the Active register for immediate Compare action.

Reset type: SYSRSn

5RESERVEDR-00hReserved
4SHDWCMODER/W0hCounter-Compare C Register Operating Mode

0: Shadow mode - operates as a double buffer. All writes via the CPU access Shadow register.
1: Immediate mode - only the Active compare register is used. All writes/reads via the CPU directly access the Active register for immediate Compare action.

Reset type: SYSRSn

3-2LOADDMODER/W0hActive Counter-Compare D (CMPD) Load from Shadow Select Mode

00: Load on CTR = Zero: Time-base counter equal to zero (TBCTR = 0x0000)
01: Load on CTR = PRD: Time-base counter equal to period (TBCTR = TBPRD)
10: Load on either CTR = Zero or CTR = PRD
11: Freeze (no loads possible)

Note: Has no effect in Immediate mode.

Reset type: SYSRSn

1-0LOADCMODER/W0hActive Counter-Compare C (CMPC) Load from Shadow Select Mode

00: Load on CTR = Zero: Time-base counter equal to zero (TBCTR = 0x0000)
01: Load on CTR = PRD: Time-base counter equal to period (TBCTR = TBPRD)
10: Load on either CTR = Zero or CTR = PRD
11: Freeze (no loads possible)

Note: Has no effect in Immediate mode.

Reset type: SYSRSn

30.20.2.10 DBCTL Register (Offset = 18h) [Reset = 0000h]

DBCTL is shown in Figure 30-131 and described in Table 30-36.

Return to the Summary Table.

Dead-Band Generator Control Register

Figure 30-131 DBCTL Register
15141312111098
HALFCYCLEDEDB_MODEOUTSWAPSHDWDBFEDMODESHDWDBREDMODELOADFEDMODE
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
76543210
LOADREDMODEIN_MODEPOLSELOUT_MODE
R/W-0hR/W-0hR/W-0hR/W-0h
Table 30-36 DBCTL Register Field Descriptions
BitFieldTypeResetDescription
15HALFCYCLER/W0hHalf Cycle Clocking Enable Bit

0: Full cycle clocking enabled. The dead-band counters are clocked at the TBCLK rate.
1: Half cycle clocking enabled. The dead-band counters are clocked at TBCLK*2.

Reset type: SYSRSn

14DEDB_MODER/W0hDead Band Dual-Edge B Mode Control (S8 switch)

0: Rising edge delay applied to InA/InB as selected by S4 switch (IN-MODE bits) on A signal path only. Falling edge delay applied to InA/InB as selected by S5 switch (INMODE bits) on B signal path only.
1: Rising edge delay and falling edge delay applied to source selected by S4 switch (INMODE bits) and output to B signal path only. Note: When this bit is set to 1, user should always either set OUT_MODE bits such that Apath = InA OR OUTSWAP bits such that OutA=Bpath
otherwise, OutA will be invalid.

Reset type: SYSRSn

13-12OUTSWAPR/W0hDead Band Output Swap Control

Bit 13 controls the S6 switch and bit 12 controls the S7 switch.

00: OutA and OutB signals are as defined by OUT-MODE bits.
01: OutA = A-path as defined by OUT-MODE bits.
OutB = A-path as defined by OUT-MODE bits (rising edge delay or delay-bypassed A signal path).
10: OutA = B-path as defined by OUT-MODE bits (falling edge delay or delay-bypassed B signal path).
OutB = B-path as defined by OUT-MODE bits.
11: OutA = B-path as defined by OUT-MODE bits (falling edge delay or delay-bypassed B signal path).
OutB = A-path as defined by OUT-MODE bits (rising edge delay or delay-bypassed A signal path).

Reset type: SYSRSn

11SHDWDBFEDMODER/W0hFED Dead-Band Load Mode

0: Immediate mode. Only the active DBFED register is used. All writes/reads via the CPU directly access the active register for immediate 'FED dead-band action.'
1: Shadow mode. Operates as a double buffer. All writes via the CPU access Shadow register. Default at Reset is Immediate mode (for compatibility with legacy).

Reset type: SYSRSn

10SHDWDBREDMODER/W0hRED Dead-Band Load Mode

0: Immediate mode. Only the active DBRED register is used. All writes/reads via the CPU directly access the active register for immediate 'RED dead-band action.'
1: Shadow mode. Operates as a double buffer. All writes via the CPU access Shadow register. Default at Reset is Immediate mode (for compatibility with legacy).

Reset type: SYSRSn

9-8LOADFEDMODER/W0hActive DBFED Load from Shadow Select Mode

00: Load on Counter = 0 (CNT_eq)
01: Load on Counter = Period (PRD_eq)
10: Load on either Counter = 0, or Counter = Period
11: Freeze (no loads possible)

Note: has no effect in Immediate mode.

Reset type: SYSRSn

7-6LOADREDMODER/W0hActive DBRED Load from Shadow Select Mode

00: Load on Counter = 0 (CNT_eq)
01: Load on Counter = Period (PRD_eq)
10: Load on either Counter = 0, or Counter = Period
11: Freeze (no loads possible)

Note: has no effect in Immediate mode.

Reset type: SYSRSn

5-4IN_MODER/W0hDead-Band Input Mode Control

Bit 5 controls the S5 switch and bit 4 controls the S4 switch shown. This allows you to select the input source to the falling-edge and rising-edge delay. To produce classical dead-band waveforms the default is EPWMxA In is the source for both falling and rising-edge delays.

00: EPWMxA In (from the action-qualifier) is the source for both falling-edge and rising-edge delay.
01: EPWMxB In (from the action-qualifier) is the source for rising-edge delayed signal.
EPWMxA In (from the action-qualifier) is the source for falling-edge delayed signal.
10: EPWMxA In (from the action-qualifier) is the source for rising-edge delayed signal.
EPWMxB In (from the action-qualifier) is the source for falling-edge delayed signal.
11: EPWMxB In (from the action-qualifier) is the source for both rising-edge delay and falling-edge delayed signal.

Reset type: SYSRSn

3-2POLSELR/W0hPolarity Select Control

Bit 3 controls the S3 switch and bit 2 controls the S2 switch. This allows you to selectively invert one of the delayed signals before it is sent out of the dead-band submodule. The following descriptions correspond to classical upper/lower switch control as found in one leg of a digital motor control inverter. These assume that DBCTL[OUT_MODE] = 1,1 and DBCTL[IN_MODE] = 0x0. Other enhanced modes are also possible, but not regarded as typical usage modes.

00: Active high (AH) mode. Neither EPWMxA nor EPWMxB is inverted (default).
01: Active low complementary (ALC) mode. EPWMxA is inverted.
10: Active high complementary (AHC). EPWMxB is inverted.
11: Active low (AL) mode. Both EPWMxA and EPWMxB are inverted.

Reset type: SYSRSn

1-0OUT_MODER/W0hDead-Band Output Mode Control

Bit 1 controls the S1 switch and bit 0 controls the S0 switch.

00: DBM is fully disabled or by-passed. In this mode the POLSEL and IN-MODE bits have no effect.
01: Apath = InA (delay is by-passed for A signal path)
Bpath = FED (Falling Edge Delay in B signal path)
10: Apath = RED (Rising Edge Delay in A signal path)
Bpath = InB (delay is by-passed for B signal path)
11: DBM is fully enabled (i.e. both RED and FED active)

Reset type: SYSRSn

30.20.2.11 DBCTL2 Register (Offset = 1Ah) [Reset = 0000h]

DBCTL2 is shown in Figure 30-132 and described in Table 30-37.

Return to the Summary Table.

Dead-Band Generator Control Register 2

Figure 30-132 DBCTL2 Register
15141312111098
RESERVED
R-0-0h
76543210
RESERVEDSHDWDBCTLMODELOADDBCTLMODE
R-0-0hR/W-0hR/W-0h
Table 30-37 DBCTL2 Register Field Descriptions
BitFieldTypeResetDescription
15-3RESERVEDR-00hReserved
2SHDWDBCTLMODER/W0hDBCTL Load Mode

0: Immediate mode - only the Active DBCTL register is used. All writes/reads via the CPU directly access the Active register.
1: Shadow mode - All writes and reads to bits [5:0] of the DBCTL register are shadowed. All other bits still access the active register.

Reset type: SYSRSn

1-0LOADDBCTLMODER/W0hActive DBCTL Load from Shadow Select Mode

00: Load on Counter = 0 (CNT_eq)
01: Load on Counter = Period (PRD_eq)
10: Load on either Counter = 0, or Counter = Period
11: Freeze (no loads possible)

Note: has no effect in Immediate mode

Reset type: SYSRSn

30.20.2.12 AQCTL Register (Offset = 20h) [Reset = 0000h]

AQCTL is shown in Figure 30-133 and described in Table 30-38.

Return to the Summary Table.

Action Qualifier Control Register

Figure 30-133 AQCTL Register
15141312111098
RESERVEDLDAQBSYNCLDAQASYNC
R-0-0hR/W-0hR/W-0h
76543210
RESERVEDSHDWAQBMODERESERVEDSHDWAQAMODELDAQBMODELDAQAMODE
R-0-0hR/W-0hR-0-0hR/W-0hR/W-0hR/W-0h
Table 30-38 AQCTL Register Field Descriptions
BitFieldTypeResetDescription
15-12RESERVEDR-00hReserved
11-10LDAQBSYNCR/W0hShadow to Active AQCTLB Register Load on SYNC event

00: Shadow to Active Load of AQCTLB occurs according to LDAQBMODE
01: Shadow to Active Load of AQCTLB occurs both according to LDAQBMODE bits and when SYNC occurs.
10: Shadow to Active Load of AQCTLB occurs only when a SYNC is received.
11: Reserved

Note: This bit is valid only if AQCTL[SHDWAQBMODE] = 1.

Reset type: SYSRSn

9-8LDAQASYNCR/W0hShadow to Active AQCTLA Register Load on SYNC event

00: Shadow to Active Load of AQCTLA occurs according to LDAQAMODE
01: Shadow to Active Load of AQCTLA occurs both according to LDAQAMODE bits and when SYNC occurs.
10: Shadow to Active Load of AQCTLA occurs only when a SYNC is received.
11: Reserved

Note: This bit is valid only if AQCTL[SHDWAQAMODE] = 1.

Reset type: SYSRSn

7RESERVEDR-00hReserved
6SHDWAQBMODER/W0hAction Qualifier B Register operating mode

1: Shadow mode - operates as a double buffer. All writes via the CPU access Shadow register.
0: Immediate mode - only the Active action qualifier register is used. All writes/reads via the CPU directly access the Active register.

Reset type: SYSRSn

5RESERVEDR-00hReserved
4SHDWAQAMODER/W0hAction Qualifier A Register operating mode

1: Shadow mode - operates as a double buffer. All writes via the CPU access Shadow register.
0: Immediate mode - only the Active action qualifier register is used. All writes/reads via the CPU directly access the Active register.

Reset type: SYSRSn

3-2LDAQBMODER/W0hActive Action Qualifier B Load from Shadow Select Mode

00: Load on CTR = Zero: Time-base counter equal to zero (TBCTR = 0x0000)
01: Load on CTR = PRD: Time-base counter equal to period (TBCTR = TBPRD)
10: Load on either CTR = Zero or CTR = PRD
11: Freeze (no loads possible)

Note: has no effect in Immediate mode.

Reset type: SYSRSn

1-0LDAQAMODER/W0hActive Action Qualifier A Load from Shadow Select Mode

00: Load on CTR = Zero: Time-base counter equal to zero (TBCTR = 0x0000)
01: Load on CTR = PRD: Time-base counter equal to period (TBCTR = TBPRD)
10: Load on either CTR = Zero or CTR = PRD
11: Freeze (no loads possible)

Note: has no effect in Immediate mode.

Reset type: SYSRSn

30.20.2.13 AQTSRCSEL Register (Offset = 22h) [Reset = 0000h]

AQTSRCSEL is shown in Figure 30-134 and described in Table 30-39.

Return to the Summary Table.

Action Qualifier Trigger Event Source Select Register

Figure 30-134 AQTSRCSEL Register
15141312111098
RESERVED
R-0-0h
76543210
T2SELT1SEL
R/W-0hR/W-0h
Table 30-39 AQTSRCSEL Register Field Descriptions
BitFieldTypeResetDescription
15-8RESERVEDR-00hReserved
7-4T2SELR/W0hT2 Event Source Select Bits

0000: DCAEVT1
0001: DCAEVT2
0010: DCBEVT1
0011: DCBEVT2
0100: TZ1
0101: TZ2
0110: TZ3
0111: EPWMxSYNCI
1000: DCEVTFILT
Others: Reserved

Reset type: SYSRSn

3-0T1SELR/W0hT1 Event Source Select Bits

0000: DCAEVT1
0001: DCAEVT2
0010: DCBEVT1
0011: DCBEVT2
0100: TZ1
0101: TZ2
0110: TZ3
0111: EPWMxSYNCI
1000: DCEVTFILT
Others: Reserved

Reset type: SYSRSn

30.20.2.14 PCCTL Register (Offset = 28h) [Reset = 0000h]

PCCTL is shown in Figure 30-135 and described in Table 30-40.

Return to the Summary Table.

PWM Chopper Control Register

Figure 30-135 PCCTL Register
15141312111098
RESERVEDCHPDUTY
R-0-0hR/W-0h
76543210
CHPFREQOSHTWTHCHPEN
R/W-0hR/W-0hR/W-0h
Table 30-40 PCCTL Register Field Descriptions
BitFieldTypeResetDescription
15-11RESERVEDR-00hReserved
10-8CHPDUTYR/W0hChopping Clock Duty Cycle

000: Duty = 1/8 (12.5%)
001: Duty = 2/8 (25.0%)
010: Duty = 3/8 (37.5%)
011: Duty = 4/8 (50.0%)
100: Duty = 5/8 (62.5%)
101: Duty = 6/8 (75.0%)
110: Duty = 7/8 (87.5%)
111: Reserved

Reset type: SYSRSn

7-5CHPFREQR/W0hChopping Clock Frequency

000: Divide by 1 (no prescale, = 12.5 MHz at 100 MHz TBCLK)
001: Divide by 2 (6.25 MHz at 100 MHz TBCLK)
010: Divide by 3 (4.16 MHz at 100 MHz TBCLK)
011: Divide by 4 (3.12 MHz at 100 MHz TBCLK)
100: Divide by 5 (2.50 MHz at 100 MHz TBCLK)
101: Divide by 6 (2.08 MHz at 100 MHz TBCLK)
110: Divide by 7 (1.78 MHz at 100 MHz TBCLK)
111: Divide by 8 (1.56 MHz at 100 MHz TBCLK)

Reset type: SYSRSn

4-1OSHTWTHR/W0hOne-Shot Pulse Width

0000: 1 x EPWMCLK / 8 wide ( = 80 ns at 100 MHz EPWMCLK)
0001: 2 x EPWMCLK / 8 wide ( = 160 ns at 100 MHz EPWMCLK)
0010: 3 x EPWMCLK / 8 wide ( = 240 ns at 100 MHz EPWMCLK)
0011: 4 x EPWMCLK / 8 wide ( = 320 ns at 100 MHz EPWMCLK)
0100: 5 x EPWMCLK / 8 wide ( = 400 ns at 100 MHz EPWMCLK)
0101: 6 x EPWMCLK / 8 wide ( = 480 ns at 100 MHz EPWMCLK)
0110: 7 x EPWMCLK / 8 wide ( = 560 ns at 100 MHz EPWMCLK)
0111: 8 x EPWMCLK / 8 wide ( = 640 ns at 100 MHz EPWMCLK)
1000: 9 x EPWMCLK / 8 wide ( = 720 ns at 100 MHz EPWMCLK)
1001: 10 x EPWMCLK / 8 wide ( = 800 ns at 100 MHz EPWMCLK)
1010: 11 x EPWMCLK / 8 wide ( = 880 ns at 100 MHz EPWMCLK)
1011: 12 x EPWMCLK / 8 wide ( = 960 ns at 100 MHz EPWMCLK)
1100: 13 x EPWMCLK / 8 wide ( = 1040 ns at 100 MHz EPWMCLK)
1101: 14 x EPWMCLK / 8 wide ( = 1120 ns at 100 MHz EPWMCLK)
1110: 15 x EPWMCLK / 8 wide ( = 1200 ns at 100 MHz EPWMCLK)
1111: 16 x EPWMCLK / 8 wide ( = 1280 ns at 100 MHz EPWMCLK)

Reset type: SYSRSn

0CHPENR/W0hPWM-Chopping Enable

0: Disable (bypass) PWM chopping function
1: Enable chopping function

Reset type: SYSRSn

30.20.2.15 VCAPCTL Register (Offset = 30h) [Reset = 0000h]

VCAPCTL is shown in Figure 30-136 and described in Table 30-41.

Return to the Summary Table.

Valley Capture Control Register

Figure 30-136 VCAPCTL Register
15141312111098
RESERVEDEDGEFILTDLYSELVDELAYDIV
R-0-0hR/W-0hR/W-0h
76543210
VDELAYDIVRESERVEDTRIGSELVCAPSTARTVCAPE
R/W-0hR-0-0hR/W-0hR-0/W1S-0hR/W-0h
Table 30-41 VCAPCTL Register Field Descriptions
BitFieldTypeResetDescription
15-11RESERVEDR-00hReserved
10EDGEFILTDLYSELR/W0hValley Switching Mode Delay Selection

0: No delay applied to the edge filter output
1: HWDELAYVAL delay applied to the edge filter output

Reset type: SYSRSn

9-7VDELAYDIVR/W0hValley Delay Mode Divide Enable

000: HWVDELVAL = SWVDELVAL
001: HWVDELVAL = VCNTVAL+SWVDELVAL
010: HWVDELVAL = VCNTVAL>>1+SWVDELVAL
011: HWVDELVAL = VCNTVAL>>2+SWVDELVAL
100: HWVDELVAL = VCNTVAL>>4+SWVDELVAL

Note: Delay value between the consecutive edge captures can optionally be divided by using these bits.

Reset type: SYSRSn

6-5RESERVEDR-00hReserved
4-2TRIGSELR/W0hStatus of Numbered of Captured Events

000: Capture sequence is triggered by software via writes to VCAPCTL[VCAPSTART].
001: Capture sequence is triggered by CNT_zero event.
010: Capture sequence is triggered by PRD_eq event.
011: Capture sequence is triggered by CNT_zero or PRD_eq event.
100: Capture sequence is triggered by DCAEVT1 event.
101: Capture sequence is triggered by DCAEVT2 event.
110: Capture sequence is triggered by DCBEVT1 event.
111: Capture sequence is triggered by DCBEVT2 event.

Note: Valley capture sequence triggered by the selected event in this register field. Once the chosen event occurs the capture sequence is armed. Event captures occur based of the event chosen in DCFCTL[SRCSEL] register.

Note: Same event may not be chosen in both DCFCTL[SRCSEL] and VCAPCTL[TRIGSEL] registers.

Note: Once the chosen event in VCAPCTL[TRIGSEL] occurs, irrespective of the current capture status, capture sequence is retriggered.

Reset type: SYSRSn

1VCAPSTARTR-0/W1S0hValley Capture Start

0: Writing a 0 has no effect
1: Trigger the capture sequence once if VCAPCTL[TRIGSEL]=0x0

Note: This bit is used to start valley capture sequence through software. VCAPCTL[TRIGSEL] has to be chosen for software trigger for this bit to have any effect. Writing of 1 will result in one capture sequence trigger.

Reset type: SYSRSn

0VCAPER/W0hValley Capture Enable/Disable

0: Disabled
1: Enabled

Reset type: SYSRSn

30.20.2.16 VCNTCFG Register (Offset = 32h) [Reset = 0000h]

VCNTCFG is shown in Figure 30-137 and described in Table 30-42.

Return to the Summary Table.

Valley Counter Config Register

Figure 30-137 VCNTCFG Register
15141312111098
STOPEDGESTSRESERVEDSTOPEDGE
R-0hR-0-0hR/W-0h
76543210
STARTEDGESTSRESERVEDSTARTEDGE
R-0hR-0-0hR/W-0h
Table 30-42 VCNTCFG Register Field Descriptions
BitFieldTypeResetDescription
15STOPEDGESTSR0hStop Edge Status Bit

0: Stop edge has not occurred
1: Stop edge occurred

Note: This bit is set only after the trigger sequence is armed (upon occurrence of trigger pulse selected through VCAPCTL[TRIGSEL]) and STOPEDGE occurs.

Note:This bit is reset by the occurrence of the trigger pulse selected through VCAPCTL[TRIGSEL]

Reset type: SYSRSn

14-12RESERVEDR-00hReserved
11-8STOPEDGER/W0hCounter Stop Edge Selection

Once the counter operation is armed, upon occurrence of trigger pulse selected through VCAPCTL[TRIGSEL] pulse - valley counter would stop counting upon the occurrence of chosen number of events thorough this bit field. Stop counting on occurrence of:

0000: Do not stop
0001
1st edge
0010: 2nd edge
0011: 3rd edge
...
1,1,1,1: 15th edge

Reset type: SYSRSn

7STARTEDGESTSR0hStart Edge Status Bit

0: Start edge has not occurred
1: Start edge occurred

Note: This bit is set only after the trigger sequence is armed (upon occurrence of trigger pulse selected through VCAPCTL[TRIGSEL]) and STARTEDGE occurs.

Note:This bit is reset by the occurrence of the trigger pulse selected through VCAPCTL[TRIGSEL]

Reset type: SYSRSn

6-4RESERVEDR-00hReserved
3-0STARTEDGER/W0hCounter Start Edge Selection

Once the counter operation is armed, upon occurrence of trigger pulse selected through VCAPCTL[TRIGSEL] pulse - valley counter would start counting upon the occurrence of chosen number of events thorough this bit field. Start counting on occurrence of

0000: Do not start
0001: 1st edge
0010: 2nd edge
0011: 3rd edge
...
1111: 15th edge

Reset type: SYSRSn

30.20.2.17 HRCNFG Register (Offset = 40h) [Reset = 0000h]

HRCNFG is shown in Figure 30-138 and described in Table 30-43.

Return to the Summary Table.

HRPWM Configuration Register

This register is only accessible on EPWM modules with HRPWM capabilities.

Figure 30-138 HRCNFG Register
15141312111098
RESERVEDRESERVEDHRLOADBCTLMODEBEDGMODEB
R/W-0hR-0-0hR/W-0hR/W-0hR/W-0h
76543210
SWAPABAUTOCONVSELOUTBHRLOADCTLMODEEDGMODE
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-43 HRCNFG Register Field Descriptions
BitFieldTypeResetDescription
15-14RESERVEDR/W0hReserved
13RESERVEDR-00hReserved
12-11HRLOADBR/W0hShadow Mode Bit

Selects the time event that loads the CMPBHR shadow value into the active register.

00: Load on CTR = Zero: Time-base counter equal to zero (TBCTR = 0x0000)
01: Load on CTR = PRD: Time-base counter equal to period (TBCTR = TBPRD)
10: Load on either CTR = Zero or CTR = PRD
11: Load on CMPB_EQ (Translator Event CMPB-3)

Reset type: SYSRSn

10CTLMODEBR/W0hControl Mode Bits

Selects the register (CMP/TBPRD or TBPHS) that controls the MEP:

0: CMPBHR(8) or TBPRDHR(8) Register controls the edge position (i.e., this is duty or period control mode). (Default on Reset)
1: TBPHSHR(8) Register controls the edge position (i.e., this is phase control mode).

Reset type: SYSRSn

9-8EDGMODEBR/W0hEdge Mode Bits

Selects the edge of the PWM that is controlled by the micro-edge position (MEP) logic:

00: HRPWM capability is disabled (default on reset)
01: MEP control of rising edge (CMPBHR)
10: MEP control of falling edge (CMPBHR)
11: MEP control of both edges (TBPHSHR or TBPRDHR)

Reset type: SYSRSn

7SWAPABR/W0hSwap ePWM A & B Output Signals

This bit enables the swapping of the A & B signal outputs. The selection is as follows:

0: ePWMxA and ePWMxB outputs are unchanged.
1: ePWMxA signal appears on ePWMxB output and ePWMxB signal appears on ePWMxA output.

Reset type: SYSRSn

6AUTOCONVR/W0hAuto Convert Delay Line Value

Selects whether the fractional duty cycle/period/phase in the CMPAHR/TBPRDHR/TBPHSHR register is automatically scaled by the MEP scale factor in the HRMSTEP register or manually scaled by calculations in application software. The SFO library function automatically updates the HRMSTEP register with the appropriate MEP scale factor.

0: Automatic HRMSTEP scaling is disabled.
1: Automatic HRMSTEP scaling is enabled.

If application software is manually scaling the fractional duty cycle, or phase (i.e. software sets CMPAHR = (fraction(PWMduty * PWMperiod) * MEP Scale Factor)<<8 + 0x080 for duty cycle), then this mode must be disabled.

Reset type: SYSRSn

5SELOUTBR/W0hEPWMxB Output Select Bit

This bit selects which signal is output on the ePWMxB channel output.
The inversion will take the high resolution mode into account and the inverted signal will contain any high resolution modification. The inversion takes place as the last step in modifying the ePWMxB signal.

0: ePWMxB output is normal.
1: ePWMxB output is inverted version of ePWMxA signal.

Reset type: SYSRSn

4-3HRLOADR/W0hShadow Mode Bit

Selects the time event that loads the CMPAHR shadow value into the active register.

00: Load on CTR = Zero: Time-base counter equal to zero (TBCTR = 0x0000)
01: Load on CTR = PRD: Time-base counter equal to period (TBCTR = TBPRD)
10: Load on either CTR = Zero or CTR = PRD
11: Load on CMPA_EQ (Translator Event CMPA-3)

Reset type: SYSRSn

2CTLMODER/W0hControl Mode Bits

Selects the register (CMP/TBPRD or TBPHS) that controls the MEP:

0: CMPAHR(8) or TBPRDHR(8) Register controls the edge position (i.e., this is duty or period control mode). (Default on Reset)
1: TBPHSHR(8) Register controls the edge position (i.e., this is phase control mode).

Reset type: SYSRSn

1-0EDGMODER/W0hEdge Mode Bits

Selects the edge of the PWM that is controlled by the micro-edge position (MEP) logic:

00: HRPWM capability is disabled (default on reset)
01: MEP control of rising edge (CMPAHR)
10: MEP control of falling edge (CMPAHR)
11: MEP control of both edges (TBPHSHR or TBPRDHR)

Reset type: SYSRSn

30.20.2.18 HRCNFG2 Register (Offset = 4Eh) [Reset = 0000h]

HRCNFG2 is shown in Figure 30-139 and described in Table 30-44.

Return to the Summary Table.

HRPWM Configuration 2 Register

This register is only accessible on EPWM modules with HRPWM capabilities. Only 16 bit accesses are allowed for this register. Debugger access in 32 bit mode may display incorrect values.

Figure 30-139 HRCNFG2 Register
15141312111098
RESERVEDRESERVEDRESERVED
R/W-0hR-0/W1S-0hR-0-0h
76543210
RESERVEDCTLMODEDBFEDCTLMODEDBREDEDGMODEDB
R-0-0hR/W-0hR/W-0hR/W-0h
Table 30-44 HRCNFG2 Register Field Descriptions
BitFieldTypeResetDescription
15RESERVEDR/W0hReserved
14RESERVEDR-0/W1S0hReserved
13-6RESERVEDR-00hReserved
5-4CTLMODEDBFEDR/W0hShadow Mode Bit - selection should match DBCTL[LOADFEDMODE]

Selects the time event that loads the DBFEDHR shadow value into the active register.

00 Load on CTR = Zero: Time-base counter equal to zero (TBCTR = 0x0000)
01 Load on CTR = PRD: Time-base counter equal to period (TBCTR = TBPRD)
10 Load on either CTR = Zero or CTR = PRD
11 Reserved

Reset type: SYSRSn

3-2CTLMODEDBREDR/W0hShadow Mode Bit - selection should match DBCTL[LOADREDMODE]

Selects the time event that loads the DBREDHR shadow value into the active register.

00 Load on CTR = Zero: Time-base counter equal to zero (TBCTR = 0x0000)
01 Load on CTR = PRD: Time-base counter equal to period (TBCTR = TBPRD)
10 Load on either CTR = Zero or CTR = PRD
11 Reserved

Reset type: SYSRSn

1-0EDGMODEDBR/W0hEdge Mode Bits

Selects the edge of the PWM that is controlled by the micro-edge position (MEP) logic:

00 HRPWM capability is disabled (default on reset)
01 MEP control of rising edge (DBREDHR)
10 MEP control of falling edge (DBFEDHR)
11 MEP control of both edges (rising edge of DBREDHR or falling edge of DBFEDHR )

Reset type: SYSRSn

30.20.2.19 HRPCTL Register (Offset = 5Ah) [Reset = 0000h]

HRPCTL is shown in Figure 30-140 and described in Table 30-45.

Return to the Summary Table.

High Resolution Period Control Register

Fields in this register related to HRPWM are only applicable on EPWM modules with HRPWM capabilities.

Figure 30-140 HRPCTL Register
15141312111098
RESERVED
R-0-0h
76543210
RESERVEDPWMSYNCSELXRESERVEDTBPHSHRLOADEPWMSYNCSELHRPE
R-0-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-45 HRPCTL Register Field Descriptions
BitFieldTypeResetDescription
15-7RESERVEDR-00hReserved
6-4PWMSYNCSELXR/W0hExtended selection bits for EPWMSYNCPER

000: EPWMSYNCPER is defined by PWMSYNCSEL - > default condition (compatible with previous EPWM versions)
001: Reserved
010: Reserved
011: Reserved
100: CTR = CMPC, Count direction Up
101: CTR = CMPC, Count direction Down
110: CTR = CMPD, Count direction Up
111: CTR = CMPD, Count direction Down

Reset type: SYSRSn

3RESERVEDR/W0hReserved
2TBPHSHRLOADER/W0hTBPHSHR Load Enable

This bit allows you to synchronize ePWM modules with a high-resolution phase on a SYNCIN, TBCTL[SWFSYNC] or digital compare event. This allows for multiple ePWM modules operating at the same frequency to be phase aligned with high-resolution.

0: Disables synchronization of high-resolution phase on a SYNCIN, TBCTL[SWFSYNC] or digital compare event:
1: Synchronize the high-resolution phase on a SYNCIN, TBCTL[SWFSYNC] or digital comparator synchronization event. The phase is synchronized using the contents of the high-resolution phase TBPHSHR register. The TBCTL[PHSEN] bit which enables the loading of the TBCTR register with TBPHS register value on a SYNCIN or TBCTL[SWFSYNC] event works independently. However, users need to enable this bit also if they want to control phase in conjunction with the high-resolution period feature.

This bit and the TBCTL[PHSEN] bit must be set to 1 when high-resolution period is enabled for up-down count mode even if TBPHSHR = 0x0000. This bit does not need to be set when only high-resolution duty is enabled.

Reset type: SYSRSn

1PWMSYNCSELR/W0hPWMSYNC Source Select Bit: This bit selects the source for the EPWMSYNCPER signal that goes to the CMPSS and GPDAC:

0 CTR = PRD: Time-base counter equal to period (TBCTR = TBPRD)
1 CTR = zero: Time-base counter equal to zero (TBCTR = 0x00)

Reset type: SYSRSn

0HRPER/W0hHigh Resolution Period Enable Bit

0: High resolution period feature disabled. In this mode the ePWM behaves as a Type 4 ePWM.
1: High resolution period enabled. In this mode the HRPWM module can control high-resolution of both the duty and frequency. When high-resolution period is enabled, TBCTL[CTRMODE] = 0,1 (down-count mode) is not supported.

Reset type: SYSRSn

30.20.2.20 TRREM Register (Offset = 5Ch) [Reset = 0000h]

TRREM is shown in Figure 30-141 and described in Table 30-46.

Return to the Summary Table.

HRPWM High Resolution Remainder Register

This register is only accessible on EPWM modules with HRPWM capabilities.

Figure 30-141 TRREM Register
15141312111098
RESERVEDTRREM
R-0-0hR/W-0h
76543210
TRREM
R/W-0h
Table 30-46 TRREM Register Field Descriptions
BitFieldTypeResetDescription
15-11RESERVEDR-00hReserved
10-0TRREMR/W0hHRPWM Remainder Bits: This 11-bit value keeps track of the remainder portion of the HRPWM algorithm calculations.
This value keeps track of the remainder portion of the HRPWM hardware calculations.
Notes:
1. The lower 8-bits of the TRREM register can be automatically initialized with the TBPHSHR value on a SYNCIN or TBCTL[SWFSYNC] event or DC event (if enabled). The user can also write a value with the CPU.
2. Priority of TRREM register updates:
Sync (software or hardware) TBPHSHR copied to TRREM : Highest Priority
HRPWM Hardware (updates TRREM register): Next priority
CPU Write To TRREM Register: Lowest Priority
3. Bit 10 of TRREM register is not used in asymmetrical mode. This bit can be forced to zero.
TRREM will be initialized to 0x0 and 0x100 in Up and Up-down modes respectively.
Asymmetrical Mode:
TRREM[7:0] = TBPHSHR[15:8]
TRREM[10,9,8] = 0,0,0
Symmetrical Mode:
TRREM[7:0] = TBPHSHR[15:8]
TRREM[10,9,8] = 0,0,1

Reset type: SYSRSn

30.20.2.21 GLDCTL Register (Offset = 68h) [Reset = 0000h]

GLDCTL is shown in Figure 30-142 and described in Table 30-47.

Return to the Summary Table.

Global PWM Load Control Register

Figure 30-142 GLDCTL Register
15141312111098
RESERVEDGLDCNTGLDPRD
R-0-0hR-0hR/W-0h
76543210
GLDPRDRESERVEDOSHTMODEGLDMODEGLD
R/W-0hR-0-0hR/W-0hR/W-0hR/W-0h
Table 30-47 GLDCTL Register Field Descriptions
BitFieldTypeResetDescription
15-13RESERVEDR-00hReserved
12-10GLDCNTR0hGlobal Load Strobe Counter Register

These bits indicate how many selected events have occurred:

000: No events
001: 1 event
010: 2 events
011: 3 events
100: 4 events
101: 5 events
110: 6 events
111: 7 events

Reset type: SYSRSn

9-7GLDPRDR/W0hGlobal Load Strobe Period Select Register

These bits select how many selected events need to occur before a load strobe is generated

000: Disable counter
001: Generate strobe on GLDCNT = 001 (1st event)
010: Generate strobe on GLDCNT = 010 (2nd event)
011: Generate strobe on GLDCNT = 011 (3rd event)
100: Generate strobe on GLDCNT = 100 (4th event)
101: Generate strobe on GLDCNT = 101 (5th event)
110: Generate strobe on GLDCNT = 110 (6th event)
111: Generate strobe on GLDCNT = 111 (7th event)

Reset type: SYSRSn

6RESERVEDR-00hReserved
5OSHTMODER/W0hOne Shot Load Mode Control Bit

0: One shot load mode is disabled and shadow to active loading happens continuously on all the chosen load strobes.
1: One shot mode is active. All load strobes are blocked until GLDCTL2[OSHTLD] is written with 1.

Note: One Shot mode can only be used with global shadow to active load mode enabled (GLDCTL[GLD]=1)

Reset type: SYSRSn

4-1GLDMODER/W0hGlobal Load Pulse selection for Shadow to Active Mode Reloads

0000: Load on Counter = 0 (CNT_ZRO)
0001: Load on Counter = Period (PRD_EQ)
0010: Load on either Counter = 0, or Counter = Period
0011: Load on SYNCEVT - this is logical OR of DCAEVT1.sync, DCBEVT1.sync, EPWMxSYNCI and TBCTL[SWFSYNC]
0100: Load on SYNCEVT or CNT_ZRO
0101: Load on SYNCEVT or PRD_EQ
0110: Load on SYNCEVT or CNT_ZRO or PRD_EQ
1000: Load on Counter = CMPCU (CMPC_EQ counter incrementing)
1001: Load on Counter = CMPCD (CMPC_EQ counter decrementing)
1010: Load on Counter = CMPDU (CMPD_EQ counter incrementing)
1011: Load on Counter = CMPDD (CMPD_EQ counter decrementing)
1100: Reserved
...
1110: Reserved
1111: Load on GLDCTL2[GFRCLD] write

Reset type: SYSRSn

0GLDR/W0hGlobal Shadow to Active Load Event Control

0: Shadow to active reload for all shadowed registers happens as per the individual reload control bits specified (Compatible with previous EPWM versions).

1: When set, all the shadow to active reload events are defined by GLDMODE bits in GLDCTL register. All the shadow registers use same reload pulse from shadow to active reloading. Individual LOADMODE bits are ignored.

Reset type: SYSRSn

30.20.2.22 GLDCFG Register (Offset = 6Ah) [Reset = 0000h]

GLDCFG is shown in Figure 30-143 and described in Table 30-48.

Return to the Summary Table.

Global PWM Load Config Register

Figure 30-143 GLDCFG Register
15141312111098
RESERVEDAQCSFRCAQCTLB_AQCTLB2AQCTLA_AQCTLA2
R-0-0hR/W-0hR/W-0hR/W-0h
76543210
DBCTLDBFED_DBFEDHRDBRED_DBREDHRCMPDCMPCCMPB_CMPBHRCMPA_CMPAHRTBPRD_TBPRDHR
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-48 GLDCFG Register Field Descriptions
BitFieldTypeResetDescription
15-11RESERVEDR-00hReserved
10AQCSFRCR/W0hGlobal load event configuration for AQCSFRC

0: Registers use local reload configuration even if GLDCTL(GLD)=1 (reload is compatible with previous EPWMs)
1: Registers use global load configuration if this bit is set and GLDCTL(GLD)=1

Reset type: SYSRSn

9AQCTLB_AQCTLB2R/W0hGlobal load event configuration for AQCTLB_AQCTLB2

0: Registers use local reload configuration even if GLDCTL(GLD)=1 (reload is compatible with previous EPWMs)
1: Registers use global load configuration if this bit is set and GLDCTL(GLD)=1

Reset type: SYSRSn

8AQCTLA_AQCTLA2R/W0hGlobal load event configuration for AQCTLA_AQCTLA2

0: Registers use local reload configuration even if GLDCTL(GLD)=1 (reload is compatible with previous EPWMs)
1: Registers use global load configuration if this bit is set and GLDCTL(GLD)=1

Reset type: SYSRSn

7DBCTLR/W0hGlobal load event configuration for DBCTL

0: Registers use local reload configuration even if GLDCTL(GLD)=1 (reload is compatible with previous EPWMs)
1: Registers use global load configuration if this bit is set and GLDCTL(GLD)=1

Reset type: SYSRSn

6DBFED_DBFEDHRR/W0hGlobal load event configuration for DBFED_DBFEDHR

0: Registers use local reload configuration even if GLDCTL(GLD)=1 (reload is compatible with previous EPWMs)
1: Registers use global load configuration if this bit is set and GLDCTL(GLD)=1

Reset type: SYSRSn

5DBRED_DBREDHRR/W0hGlobal load event configuration for DBRED_DBREDHR

0: Registers use local reload configuration even if GLDCTL(GLD)=1 (reload is compatible with previous EPWMs)
1: Registers use global load configuration if this bit is set and GLDCTL(GLD)=1

Reset type: SYSRSn

4CMPDR/W0hGlobal load event configuration for CMPD

0: Registers use local reload configuration even if GLDCTL(GLD)=1 (reload is compatible with previous EPWMs)
1: Registers use global load configuration if this bit is set and GLDCTL(GLD)=1

Reset type: SYSRSn

3CMPCR/W0hGlobal load event configuration for CMPC

0: Registers use local reload configuration even if GLDCTL(GLD)=1 (reload is compatible with previous EPWMs)
1: Registers use global load configuration if this bit is set and GLDCTL(GLD)=1

Reset type: SYSRSn

2CMPB_CMPBHRR/W0hGlobal load event configuration for CMPB_CMPBHR

0: Registers use local reload configuration even if GLDCTL(GLD)=1 (reload is compatible with previous EPWMs)
1: Registers use global load configuration if this bit is set and GLDCTL(GLD)=1

Reset type: SYSRSn

1CMPA_CMPAHRR/W0hGlobal load event configuration for CMPA_CMPAHR

0: Registers use local reload configuration even if GLDCTL(GLD)=1 (reload is compatible with previous EPWMs)
1: Registers use global load configuration if this bit is set and GLDCTL(GLD)=1

Reset type: SYSRSn

0TBPRD_TBPRDHRR/W0hGlobal load event configuration for TBPRD_TBPRDHR

0: Registers use local reload configuration even if GLDCTL(GLD)=1 (reload is compatible with previous EPWMs)
1: Registers use global load configuration if this bit is set and GLDCTL(GLD)=1

Reset type: SYSRSn

30.20.2.23 AQCTLA Register (Offset = 80h) [Reset = 0000h]

AQCTLA is shown in Figure 30-144 and described in Table 30-49.

Return to the Summary Table.

Action Qualifier Control Register For Output A

Figure 30-144 AQCTLA Register
15141312111098
RESERVEDCBDCBU
R-0-0hR/W-0hR/W-0h
76543210
CADCAUPRDZRO
R/W-0hR/W-0hR/W-0hR/W-0h
Table 30-49 AQCTLA Register Field Descriptions
BitFieldTypeResetDescription
15-12RESERVEDR-00hReserved
11-10CBDR/W0hAction When TBCTR = CMPB on Down Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxA output low.
10: Set: force EPWMxA output high.
11: Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

9-8CBUR/W0hAction When TBCTR = CMPB on Up Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxA output low.
10: Set: force EPWMxA output high.
11: Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

7-6CADR/W0hAction When TBCTR = CMPA on Down Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxA output low.
10: Set: force EPWMxA output high.
11: Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

5-4CAUR/W0hAction When TBCTR = CMPA on Up Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxA output low.
10: Set: force EPWMxA output high.
11: Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

3-2PRDR/W0hAction When TBCTR = TBPRD

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxA output low.
10: Set: force EPWMxA output high.
11: Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

1-0ZROR/W0hAction When TBCTR = 0

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxA output low.
10: Set: force EPWMxA output high.
11: Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

30.20.2.24 AQCTLA2 Register (Offset = 82h) [Reset = 0000h]

AQCTLA2 is shown in Figure 30-145 and described in Table 30-50.

Return to the Summary Table.

Additional Action Qualifier Control Register For Output A

Figure 30-145 AQCTLA2 Register
15141312111098
RESERVED
R-0-0h
76543210
T2DT2UT1DT1U
R/W-0hR/W-0hR/W-0hR/W-0h
Table 30-50 AQCTLA2 Register Field Descriptions
BitFieldTypeResetDescription
15-8RESERVEDR-00hReserved
7-6T2DR/W0hAction when event occurs on T2 in DOWN-Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxA output low.
10: Set: force EPWMxA output high.
11: Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

5-4T2UR/W0hAction when event occurs on T2 in UP-Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxA output low.
10: Set: force EPWMxA output high.
11: Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

3-2T1DR/W0hAction when event occurs on T1 in DOWN-Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxA output low.
10: Set: force EPWMxA output high.
11: Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

1-0T1UR/W0hAction when event occurs on T1 in UP-Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxA output low.
10: Set: force EPWMxA output high.
11: Toggle EPWMxA output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

30.20.2.25 AQCTLB Register (Offset = 84h) [Reset = 0000h]

AQCTLB is shown in Figure 30-146 and described in Table 30-51.

Return to the Summary Table.

Action Qualifier Control Register For Output B

Figure 30-146 AQCTLB Register
15141312111098
RESERVEDCBDCBU
R-0-0hR/W-0hR/W-0h
76543210
CADCAUPRDZRO
R/W-0hR/W-0hR/W-0hR/W-0h
Table 30-51 AQCTLB Register Field Descriptions
BitFieldTypeResetDescription
15-12RESERVEDR-00hReserved
11-10CBDR/W0hAction When TBCTR = CMPB on Down Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxB output low.
10: Set: force EPWMxB output high.
11: Toggle EPWMxB output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

9-8CBUR/W0hAction When TBCTR = CMPB on Up Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxB output low.
10: Set: force EPWMxB output high.
11: Toggle EPWMxB output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

7-6CADR/W0hAction When TBCTR = CMPA on Down Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxB output low.
10: Set: force EPWMxB output high.
11: Toggle EPWMxB output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

5-4CAUR/W0hAction When TBCTR = CMPA on Up Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxB output low.
10: Set: force EPWMxB output high.
11: Toggle EPWMxB output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

3-2PRDR/W0hAction When TBCTR = TBPRD

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxB output low.
10: Set: force EPWMxB output high.
11: Toggle EPWMxB output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

1-0ZROR/W0hAction When TBCTR = 0

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxB output low.
10: Set: force EPWMxB output high.
11: Toggle EPWMxB output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

30.20.2.26 AQCTLB2 Register (Offset = 86h) [Reset = 0000h]

AQCTLB2 is shown in Figure 30-147 and described in Table 30-52.

Return to the Summary Table.

Additional Action Qualifier Control Register For Output B

Figure 30-147 AQCTLB2 Register
15141312111098
RESERVED
R-0-0h
76543210
T2DT2UT1DT1U
R/W-0hR/W-0hR/W-0hR/W-0h
Table 30-52 AQCTLB2 Register Field Descriptions
BitFieldTypeResetDescription
15-8RESERVEDR-00hReserved
7-6T2DR/W0hAction when event occurs on T2 in DOWN-Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxB output low.
10: Set: force EPWMxB output high.
11: Toggle EPWMxB output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

5-4T2UR/W0hAction when event occurs on T2 in UP-Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxB output low.
10: Set: force EPWMxB output high.
11: Toggle EPWMxB output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

3-2T1DR/W0hAction when event occurs on T1 in DOWN-Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxB output low.
10: Set: force EPWMxB output high.
11: Toggle EPWMxB output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

1-0T1UR/W0hAction when event occurs on T1 in UP-Count

Note: By definition, in count up-down mode when the counter equals 0 the direction is defined as 1 or counting up.

00: Do nothing (action disabled)
01: Clear: force EPWMxB output low.
10: Set: force EPWMxB output high.
11: Toggle EPWMxB output: low output signal will be forced high, and a high signal will be forced low.

Reset type: SYSRSn

30.20.2.27 AQSFRC Register (Offset = 8Eh) [Reset = 0000h]

AQSFRC is shown in Figure 30-148 and described in Table 30-53.

Return to the Summary Table.

Action Qualifier Software Force Register

Figure 30-148 AQSFRC Register
15141312111098
RESERVED
R-0-0h
76543210
RLDCSFOTSFBACTSFBOTSFAACTSFA
R/W-0hR-0/W1S-0hR/W-0hR-0/W1S-0hR/W-0h
Table 30-53 AQSFRC Register Field Descriptions
BitFieldTypeResetDescription
15-8RESERVEDR-00hReserved
7-6RLDCSFR/W0hAQCSFRC Active Register Reload From Shadow Options

00: Load on time-base counter equals zero
01: Load on time-base counter equals period
10: Load on time-base counter equals zero or counter equals period
11: Load immediately (the active register is directly accessed by the CPU and is not loaded from the shadow register).

Reset type: SYSRSn

5OTSFBR-0/W1S0hOne-Time Software Forced Event on Output B

0: Writing a 0 (zero) has no effect. Always reads back a 0. This bit is auto cleared once a write to this register is complete (i.e., a forced event is initiated.). This is a one-shot forced event. It can be overridden by another subsequent event on output B.
1: Initiates a single software forced event

Reset type: SYSRSn

4-3ACTSFBR/W0hAction When One-Time Software Force B is Invoked

00: Does nothing (action disabled)
01: Clear (low)
10: Set (high)
11: Toggle (Low -> High, High -> Low)

Note: This action is not qualified by counter direction (CNT_dir)

Reset type: SYSRSn

2OTSFAR-0/W1S0hOne-Time Software Forced Event on Output A

0: Writing a 0 (zero) has no effect. Always reads back a 0. This bit is auto cleared once a write to this register is complete ( i.e., a forced event is initiated). This is a one-shot forced event. It can be overridden by another subsequent event on output A.
1: Initiates a single software forced event

Reset type: SYSRSn

1-0ACTSFAR/W0hAction When One-Time Software Force A Is Invoked

00: Does nothing (action disabled)
01: Clear (low)
10: Set (high)
11: Toggle (Low -> High, High -> Low)

Note: This action is not qualified by counter direction (CNT_dir)

Reset type: SYSRSn

30.20.2.28 AQCSFRC Register (Offset = 92h) [Reset = 0000h]

AQCSFRC is shown in Figure 30-149 and described in Table 30-54.

Return to the Summary Table.

Action Qualifier Continuous S/W Force Register

Figure 30-149 AQCSFRC Register
15141312111098
RESERVED
R-0-0h
76543210
RESERVEDCSFBCSFA
R-0-0hR/W-0hR/W-0h
Table 30-54 AQCSFRC Register Field Descriptions
BitFieldTypeResetDescription
15-4RESERVEDR-00hReserved
3-2CSFBR/W0hContinuous Software Force on Output B

In immediate mode, a continuous force takes effect on the next TBCLK edge. In shadow mode, a continuous force takes effect on the next TBCLK edge after a shadow load into the active register. To configure shadow mode, use AQSFRC[RLDCSF].

00: Software forcing is disabled and has no effect
01: Forces a continuous low on output B
10: Forces a continuous high on output B
11: Software forcing is disabled and has no effect

Reset type: SYSRSn

1-0CSFAR/W0hContinuous Software Force on Output A

In immediate mode, a continuous force takes effect on the next TBCLK edge. In shadow mode, a continuous force takes effect on the next TBCLK edge after a shadow load into the active register.

00: Software forcing is disabled and has no effect
01: Forces a continuous low on output A
10: Forces a continuous high on output A
11: Software forcing is disabled and has no effect

Reset type: SYSRSn

30.20.2.29 DBREDHR Register (Offset = A0h) [Reset = 0000h]

DBREDHR is shown in Figure 30-150 and described in Table 30-55.

Return to the Summary Table.

Dead-Band Generator Rising Edge Delay High Resolution Mirror Register

Figure 30-150 DBREDHR Register
15141312111098
DBREDHRRESERVED
R/W-0hR-0h
76543210
RESERVEDRESERVED
R-0hR-0h
Table 30-55 DBREDHR Register Field Descriptions
BitFieldTypeResetDescription
15-9DBREDHRR/W0hDead Band Rising Edge Delay High Resolution Bits

Reset type: SYSRSn

8RESERVEDR0hReserved
7-1RESERVEDR0hReserved
0RESERVEDR0hReserved

30.20.2.30 DBRED Register (Offset = A2h) [Reset = 0000h]

DBRED is shown in Figure 30-151 and described in Table 30-56.

Return to the Summary Table.

Dead-Band Generator Rising Edge Delay High Resolution Mirror Register

Figure 30-151 DBRED Register
15141312111098
RESERVEDDBRED
R-0hR/W-0h
76543210
DBRED
R/W-0h
Table 30-56 DBRED Register Field Descriptions
BitFieldTypeResetDescription
15-14RESERVEDR0hReserved
13-0DBREDR/W0hRising edge delay value

Reset type: SYSRSn

30.20.2.31 DBFEDHR Register (Offset = A4h) [Reset = 0000h]

DBFEDHR is shown in Figure 30-152 and described in Table 30-57.

Return to the Summary Table.

Dead-Band Generator Falling Edge Delay High Resolution Register

Figure 30-152 DBFEDHR Register
15141312111098
DBFEDHRRESERVED
R/W-0hR-0h
76543210
RESERVEDRESERVED
R-0hR-0h
Table 30-57 DBFEDHR Register Field Descriptions
BitFieldTypeResetDescription
15-9DBFEDHRR/W0hDead Band Falling Edge Delay High Resolution Bits

Reset type: SYSRSn

8RESERVEDR0hReserved
7-1RESERVEDR0hReserved
0RESERVEDR0hReserved

30.20.2.32 DBFED Register (Offset = A6h) [Reset = 0000h]

DBFED is shown in Figure 30-153 and described in Table 30-58.

Return to the Summary Table.

Dead-Band Generator Falling Edge Delay Count Register

Figure 30-153 DBFED Register
15141312111098
RESERVEDDBFED
R-0hR/W-0h
76543210
DBFED
R/W-0h
Table 30-58 DBFED Register Field Descriptions
BitFieldTypeResetDescription
15-14RESERVEDR0hReserved
13-0DBFEDR/W0hFalling Edge Delay Count

14-bit counter

Reset type: SYSRSn

30.20.2.33 TBPHS Register (Offset = C0h) [Reset = 00000000h]

TBPHS is shown in Figure 30-154 and described in Table 30-59.

Return to the Summary Table.

Time Base Phase High

Figure 30-154 TBPHS Register
313029282726252423222120191817161514131211109876543210
TBPHSTBPHSHR
R/W-0hR/W-0h
Table 30-59 TBPHS Register Field Descriptions
BitFieldTypeResetDescription
31-16TBPHSR/W0hPhase Offset Register

These bits set time-base counter phase of the selected ePWM relative to the time-base that is supplying the synchronization input signal.

- If TBCTL[PHSEN] = 0, then the synchronization event is ignored and the time-base counter is not loaded with the phase.
- If TBCTL[PHSEN] = 1, then the time-base counter (TBCTR) will be loaded with the phase (TBPHS) when a synchronization event occurs. The synchronization event can be initiated by the input synchronization signal (EPWMxSYNCI) or by a software forced synchronization.

Reset type: SYSRSn

15-0TBPHSHRR/W0hPhase Offset (High Resolution) Register.
TBPHSHR must not be used. Instead TRREM (HRPWM remainder register) must be used to mimic the functionality of TBPHSHR.

The lower 8 bits in this register are ignored - writes are ignored and reads return zero

Reset type: SYSRSn

30.20.2.34 TBPRDHR Register (Offset = C4h) [Reset = 0000h]

TBPRDHR is shown in Figure 30-155 and described in Table 30-60.

Return to the Summary Table.

Time Base Period High Resolution Register

Figure 30-155 TBPRDHR Register
15141312111098
TBPRDHR
R/W-0h
76543210
TBPRDHR
R/W-0h
Table 30-60 TBPRDHR Register Field Descriptions
BitFieldTypeResetDescription
15-0TBPRDHRR/W0hPeriod High Resolution Bits

The upper 8-bits contain the high-resolution portion of the period value. The TBPRDHR register is not affected by the TBCTL[PRDLD] bit. Reads from this register always reflect the shadow register. Likewise writes are also to the shadow register. The TBPRDHR register is only used when the high resolution period feature is enabled. This register is only available with ePWM modules which support high-resolution period control.

The lower 8 bits in this register are ignored - writes are ignored and reads return zero

Reset type: SYSRSn

30.20.2.35 TBPRD Register (Offset = C6h) [Reset = 0000h]

TBPRD is shown in Figure 30-156 and described in Table 30-61.

Return to the Summary Table.

Time Base Period Register

Figure 30-156 TBPRD Register
15141312111098
TBPRD
R/W-0h
76543210
TBPRD
R/W-0h
Table 30-61 TBPRD Register Field Descriptions
BitFieldTypeResetDescription
15-0TBPRDR/W0hTime Base Period Register

These bits determine the period of the time-base counter. This sets the PWM frequency. Shadowing of this register is enabled and disabled by the TBCTL[PRDLD] bit. By default this register is shadowed.
- If TBCTL[PRDLD] = 0, then the shadow is enabled and any write or read will automatically go to the shadow register. In this case, the active register will be loaded from the shadow register when the time-base counter equals zero.
- If TBCTL[PRDLD] = 1, then the shadow is disabled and any write or read will go directly to the active register, that is the register actively controlling the hardware.
- The active and shadow registers share the same memory map address.

Reset type: SYSRSn

30.20.2.36 CMPA Register (Offset = D4h) [Reset = 00000000h]

CMPA is shown in Figure 30-157 and described in Table 30-62.

Return to the Summary Table.

Counter Compare A Register

Figure 30-157 CMPA Register
313029282726252423222120191817161514131211109876543210
CMPACMPAHR
R/W-0hR/W-0h
Table 30-62 CMPA Register Field Descriptions
BitFieldTypeResetDescription
31-16CMPAR/W0hCompare A Register

The value in the active CMPA register is continuously compared to the time-base counter (TBCTR). When the values are equal, the counter-compare module generates a 'time-base counter equal to counter compare A' event. This event is sent to the action-qualifier where it is qualified and converted it into one or more actions. These actions can be applied to either the EPWMxA or the EPWMxB output depending on the configuration of the AQCTLA and AQCTLB registers. The actions that can be defined in the AQCTLA and AQCTLB registers include:

- Do nothing
the event is ignored.
- Clear: Pull the EPWMxA and/or EPWMxB signal low
- Set: Pull the EPWMxA and/or EPWMxB signal high
- Toggle the EPWMxA and/or EPWMxB signal

Shadowing of this register is enabled and disabled by the CMPCTL[SHDWAMODE] bit. By default this register is shadowed.
- If CMPCTL[SHDWAMODE] = 0, then the shadow is enabled and any write or read will automatically go to the shadow register. In this case, the CMPCTL[LOADAMODE] bit field determines which event will load the active register from the shadow register.
- Before a write, the CMPCTL[SHDWAFULL] bit can be read to determine if the shadow register is currently full.
- If CMPCTL[SHDWAMODE] = 1, then the shadow register is disabled and any write or read will go directly to the active register, that is the register actively controlling the hardware.
- In either mode, the active and shadow registers share the same memory map address.

Reset type: SYSRSn

15-0CMPAHRR/W0hCompare A HRPWM Extension Register

The UPPER 8-bits contain the high-resolution portion (most significant 8-bits) of the counter-compare A value. CMPA:CMPAHR can be accessed in a single 32-bit read/write. Shadowing is enabled and disabled by the CMPCTL[SHDWAMODE] bit as described for the CMPA register.

The lower 8 bits in this register are ignored

Reset type: SYSRSn

30.20.2.37 CMPB Register (Offset = D8h) [Reset = 00000000h]

CMPB is shown in Figure 30-158 and described in Table 30-63.

Return to the Summary Table.

Compare B Register

Figure 30-158 CMPB Register
313029282726252423222120191817161514131211109876543210
CMPBCMPBHR
R/W-0hR/W-0h
Table 30-63 CMPB Register Field Descriptions
BitFieldTypeResetDescription
31-16CMPBR/W0hCompare B Register

The value in the active CMPB register is continuously compared to the time-base counter (TBCTR). When the values are equal, the counter-compare module generates a 'time-base counter equal to counter compare B' event. This event is sent to the action-qualifier where it is qualified and converted it into one or more actions. These actions can be applied to either the EPWMxA or the EPWMxB output depending on the configuration of the AQCTLA and AQCTLB registers. The actions that can be defined in the AQCTLA and AQCTLB registers include:

- Do nothing
the event is ignored.
- Clear: Pull the EPWMxA and/or EPWMxB signal low
- Set: Pull the EPWMxA and/or EPWMxB signal high
- Toggle the EPWMxA and/or EPWMxB signal

Shadowing of this register is enabled and disabled by the CMPCTL[SHDWBMODE] bit. By default this register is shadowed.
- If CMPCTL[SHDWBMODE] = 0, then the shadow is enabled and any write or read will automatically go to the shadow register. In this case, the CMPCTL[LOADBMODE] bit field determines which event will load the active register from the shadow register.
- Before a write, the CMPCTL[SHDWBFULL] bit can be read to determine if the shadow register is currently full.
- If CMPCTL[SHDWBMODE] = 1, then the shadow register is disabled and any write or read will go directly to the active register, that is the register actively controlling the hardware.
- In either mode, the active and shadow registers share the same memory map address.

Reset type: SYSRSn

15-0CMPBHRR/W0hCompare B High Resolution Bits

The lower 8 bits in this register are ignored

Reset type: SYSRSn

30.20.2.38 CMPC Register (Offset = DEh) [Reset = 0000h]

CMPC is shown in Figure 30-159 and described in Table 30-64.

Return to the Summary Table.

Counter Compare C Register

LINK feature access should always be 16-bit

Figure 30-159 CMPC Register
15141312111098
CMPC
R/W-0h
76543210
CMPC
R/W-0h
Table 30-64 CMPC Register Field Descriptions
BitFieldTypeResetDescription
15-0CMPCR/W0hCompare C Register

The value in the active CMPC register is continuously compared to the time-base counter (TBCTR). When the values are equal, the counter-compare module generates a 'time-base counter equal to counter compare C' event.

Shadowing of this register is enabled and disabled by the CMPCTL2[SHDWCMODE] bit. By default this register is shadowed.
- If CMPCTL2[SHDWCMODE] = 0, then the shadow is enabled and any write or read will automatically go to the shadow register. In this case, the CMPCTL2[LOADCMODE] bit field determines which event will load the active register from the shadow register:
- If CMPCTL2[SHDWCMODE] = 1, then the shadow register is disabled and any write or read will go directly to the active register
that is, the register actively controlling the hardware.
- In either mode, the active and shadow registers share the same memory map address.

Reset type: SYSRSn

30.20.2.39 CMPD Register (Offset = E2h) [Reset = 0000h]

CMPD is shown in Figure 30-160 and described in Table 30-65.

Return to the Summary Table.

Counter Compare D Register

LINK feature access should always be 16-bit

Figure 30-160 CMPD Register
15141312111098
CMPD
R/W-0h
76543210
CMPD
R/W-0h
Table 30-65 CMPD Register Field Descriptions
BitFieldTypeResetDescription
15-0CMPDR/W0hCompare D Register

The value in the active CMPD register is continuously compared to the time-base counter (TBCTR). When the values are equal, the counter-compare module generates a 'time-base counter equal to counter compare D' event.

Shadowing of this register is enabled and disabled by the CMPCTL2[SHDWDMODE] bit. By default this register is shadowed.
- If CMPCTL2[SHDWDMODE] = 0, then the shadow is enabled and any write or read will automatically go to the shadow register. In this case, the CMPCTL2[LOADDMODE] bit field determines which event will load the active register from the shadow register:
- If CMPCTL2[SHDWDMODE] = 1, then the shadow register is disabled and any write or read will go directly to the active register
that is, the register actively controlling the hardware.
- In either mode, the active and shadow registers share the same memory map address.

Reset type: SYSRSn

30.20.2.40 GLDCTL2 Register (Offset = E8h) [Reset = 0000h]

GLDCTL2 is shown in Figure 30-161 and described in Table 30-66.

Return to the Summary Table.

Global PWM Load Control Register 2

Figure 30-161 GLDCTL2 Register
15141312111098
RESERVED
R-0-0h
76543210
RESERVEDGFRCLDOSHTLD
R-0-0hR-0/W1S-0hR-0/W1S-0h
Table 30-66 GLDCTL2 Register Field Descriptions
BitFieldTypeResetDescription
15-2RESERVEDR-00hReserved
1GFRCLDR-0/W1S0hForce Load Event in One Shot Mode

0: Writing of 0 will be ignored. Always reads back a 0.
1: Force one load event at the input of the event pre-scale counter. This bit is intended to be used for testing and/or software force loading of the events in global load mode.

Reset type: SYSRSn

0OSHTLDR-0/W1S0hEnable Reload Event in One Shot Mode

0: Writing of 0 will be ignored. Always reads back a 0.
1: Turns the one shot latch condition ON. Upon occurrence of a chosen load strobe, one shadow to active reload occurs and the latch will be cleared. Hence writing 1 to this bit would allow one load strobe event to pass through and block further strobe events.

Reset type: SYSRSn

30.20.2.41 SWVDELVAL Register (Offset = EEh) [Reset = 0000h]

SWVDELVAL is shown in Figure 30-162 and described in Table 30-67.

Return to the Summary Table.

Software Valley Mode Delay Register

Figure 30-162 SWVDELVAL Register
15141312111098
SWVDELVAL
R/W-0h
76543210
SWVDELVAL
R/W-0h
Table 30-67 SWVDELVAL Register Field Descriptions
BitFieldTypeResetDescription
15-0SWVDELVALR/W0hSoftware Valley Delay Value Register

This register can be optionally used define offset value for the hardware calculated delay HWDELAYVAL as defined in VCAPCTL[VDELAYDIV] bits.

Reset type: SYSRSn

30.20.2.42 TZSEL Register (Offset = 100h) [Reset = 0000h]

TZSEL is shown in Figure 30-163 and described in Table 30-68.

Return to the Summary Table.

Trip Zone Select Register

Figure 30-163 TZSEL Register
15141312111098
DCBEVT1DCAEVT1OSHT6OSHT5OSHT4OSHT3OSHT2OSHT1
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
76543210
DCBEVT2DCAEVT2CBC6CBC5CBC4CBC3CBC2CBC1
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-68 TZSEL Register Field Descriptions
BitFieldTypeResetDescription
15DCBEVT1R/W0hDigital Compare Output B Event 1 Select

0: Disable DCBEVT1 as one-shot-trip source for this ePWM module.
1: Enable DCBEVT1 as one-shot-trip source for this ePWM module.

Reset type: SYSRSn

14DCAEVT1R/W0hDigital Compare Output A Event 1 Select

0: Disable DCAEVT1 as one-shot-trip source for this ePWM module.
1: Enable DCAEVT1 as one-shot-trip source for this ePWM module.

Reset type: SYSRSn

13OSHT6R/W0hTrip-zone 6 (TZ6) Select

0: Disable TZ6 as a one-shot trip source for this ePWM module
1: Enable TZ6 as a one-shot trip source for this ePWM module

Reset type: SYSRSn

12OSHT5R/W0hTrip-zone 5 (TZ5) Select

0: Disable TZ5 as a one-shot trip source for this ePWM module
1: Enable TZ5 as a one-shot trip source for this ePWM module

Reset type: SYSRSn

11OSHT4R/W0hTrip-zone 4 (TZ4) Select

0: Disable TZ4 as a one-shot trip source for this ePWM module
1: Enable TZ4 as a one-shot trip source for this ePWM module

Reset type: SYSRSn

10OSHT3R/W0hTrip-zone 3 (TZ3) Select

0: Disable TZ3 as a one-shot trip source for this ePWM module
1: Enable TZ3 as a one-shot trip source for this ePWM module

Reset type: SYSRSn

9OSHT2R/W0hTrip-zone 2 (TZ2) Select

0: Disable TZ2 as a one-shot trip source for this ePWM module
1: Enable TZ2 as a one-shot trip source for this ePWM module

Reset type: SYSRSn

8OSHT1R/W0hTrip-zone 1 (TZ1) Select

0: Disable TZ1 as a one-shot trip source for this ePWM module
1: Enable TZ1 as a one-shot trip source for this ePWM module

Reset type: SYSRSn

7DCBEVT2R/W0hDigital Compare Output B Event 2 Select

0: Disable DCBEVT2 as a CBC trip source for this ePWM module
1: Enable DCBEVT2 as a CBC trip source for this ePWM module

Reset type: SYSRSn

6DCAEVT2R/W0hDigital Compare Output A Event 2 Select

0: Disable DCAEVT2 as a CBC trip source for this ePWM module
1: Enable DCAEVT2 as a CBC trip source for this ePWM module

Reset type: SYSRSn

5CBC6R/W0hTrip-zone 6 (TZ6) Select

0: Disable TZ6 as a CBC trip source for this ePWM module
1: Enable TZ6 as a CBC trip source for this ePWM module

Reset type: SYSRSn

4CBC5R/W0hTrip-zone 5 (TZ5) Select

0: Disable TZ5 as a CBC trip source for this ePWM module
1: Enable TZ5 as a CBC trip source for this ePWM module

Reset type: SYSRSn

3CBC4R/W0hTrip-zone 4 (TZ4) Select

0: Disable TZ4 as a CBC trip source for this ePWM module
1: Enable TZ4 as a CBC trip source for this ePWM module

Reset type: SYSRSn

2CBC3R/W0hTrip-zone 3 (TZ3) Select

0: Disable TZ3 as a CBC trip source for this ePWM module
1: Enable TZ3 as a CBC trip source for this ePWM module

Reset type: SYSRSn

1CBC2R/W0hTrip-zone 2 (TZ2) Select

0: Disable TZ2 as a CBC trip source for this ePWM module
1: Enable TZ2 as a CBC trip source for this ePWM module

Reset type: SYSRSn

0CBC1R/W0hTrip-zone 1 (TZ1) Select

0: Disable TZ1 as a CBC trip source for this ePWM module
1: Enable TZ1 as a CBC trip source for this ePWM module

Reset type: SYSRSn

30.20.2.43 TZSEL2 Register (Offset = 102h) [Reset = 0000h]

TZSEL2 is shown in Figure 30-164 and described in Table 30-69.

Return to the Summary Table.

Trip Zone Select Register 2

Figure 30-164 TZSEL2 Register
15141312111098
RESERVEDCAPEVTOST
R-0-0hR/W-0h
76543210
RESERVEDCAPEVTCBC
R-0-0hR/W-0h
Table 30-69 TZSEL2 Register Field Descriptions
BitFieldTypeResetDescription
15-9RESERVEDR-00hReserved
8CAPEVTOSTR/W0hCAPEVT OST Select

0: Disable CAPEVT as a one-shot trip source for this ePWM module
1: Enable CAPEVT as a one-shot trip source for this ePWM module

Reset type: SYSRSn

7-1RESERVEDR-00hReserved
0CAPEVTCBCR/W0hCAPEVT CBC mode Select

0: Disable CAPEVT as a CBC trip source for this ePWM module
1: Enable CAPEVT as a CBC trip source for this ePWM module

Reset type: SYSRSn

30.20.2.44 TZDCSEL Register (Offset = 104h) [Reset = 0000h]

TZDCSEL is shown in Figure 30-165 and described in Table 30-70.

Return to the Summary Table.

Trip Zone Digital Comparator Select Register

Figure 30-165 TZDCSEL Register
15141312111098
RESERVEDDCBEVT2DCBEVT1
R-0-0hR/W-0hR/W-0h
76543210
DCBEVT1DCAEVT2DCAEVT1
R/W-0hR/W-0hR/W-0h
Table 30-70 TZDCSEL Register Field Descriptions
BitFieldTypeResetDescription
15-12RESERVEDR-00hReserved
11-9DCBEVT2R/W0hDigital Compare Output B Event 2 Selection

000: Event disabled
001: DCBH = low, DCBL = don't care
010: DCBH = high, DCBL = don't care
011: DCBL = low, DCBH = don't care
100: DCBL = high, DCBH = don't care
101: DCBL = high, DCBH = low
110: Reserved
111: Reserved

Reset type: SYSRSn

8-6DCBEVT1R/W0hDigital Compare Output B Event 1 Selection

000: Event disabled
001: DCBH = low, DCBL = don't care
010: DCBH = high, DCBL = don't care
011: DCBL = low, DCBH = don't care
100: DCBL = high, DCBH = don't care
101: DCBL = high, DCBH = low
110: Reserved
111: Reserved

Reset type: SYSRSn

5-3DCAEVT2R/W0hDigital Compare Output A Event 2 Selection

000: Event disabled
001: DCAH = low, DCAL = don't care
010: DCAH = high, DCAL = don't care
011: DCAL = low, DCAH = don't care
100: DCAL = high, DCAH = don't care
101: DCAL = high, DCAH = low
110: Reserved
111: Reserved

Reset type: SYSRSn

2-0DCAEVT1R/W0hDigital Compare Output A Event 1 Selection

000: Event disabled
001: DCAH = low, DCAL = don't care
010: DCAH = high, DCAL = don't care
011: DCAL = low, DCAH = don't care
100: DCAL = high, DCAH = don't care
101: DCAL = high, DCAH = low
110: Reserved
111: Reserved

Reset type: SYSRSn

30.20.2.45 TZCTL Register (Offset = 108h) [Reset = 0000h]

TZCTL is shown in Figure 30-166 and described in Table 30-71.

Return to the Summary Table.

Trip Zone Control Register

Figure 30-166 TZCTL Register
15141312111098
RESERVEDDCBEVT2DCBEVT1
R-0-0hR/W-0hR/W-0h
76543210
DCAEVT2DCAEVT1TZBTZA
R/W-0hR/W-0hR/W-0hR/W-0h
Table 30-71 TZCTL Register Field Descriptions
BitFieldTypeResetDescription
15-12RESERVEDR-00hReserved
11-10DCBEVT2R/W0hDigital Compare Output B Event 2 Action On EPWMxB

00: High-impedance (EPWMxB = High-impedance state)
01: Force EPWMxB to a high state.
10: Force EPWMxB to a low state.
11: Do Nothing, trip action is disabled

Reset type: SYSRSn

9-8DCBEVT1R/W0hDigital Compare Output B Event 1 Action On EPWMxB

00: High-impedance (EPWMxB = High-impedance state)
01: Force EPWMxB to a high state.
10: Force EPWMxB to a low state.
11: Do Nothing, trip action is disabled

Reset type: SYSRSn

7-6DCAEVT2R/W0hDigital Compare Output A Event 2 Action On EPWMxA

00: High-impedance (EPWMxA = High-impedance state)
01: Force EPWMxA to a high state.
10: Force EPWMxA to a low state.
11: Do Nothing, trip action is disabled

Reset type: SYSRSn

5-4DCAEVT1R/W0hDigital Compare Output A Event 1 Action On EPWMxA

00: High-impedance (EPWMxA = High-impedance state)
01: Force EPWMxA to a high state.
10: Force EPWMxA to a low state.
11: Do Nothing, trip action is disabled

Reset type: SYSRSn

3-2TZBR/W0hTZ1 to TZ6, DCAEVT1/2, DCBEVT1/2Trip Action On EPWMxB

When a trip event occurs the following action is taken on output EPWMxB. Which trip-zone pins can cause an event is defined in the TZSEL register.

00: High-impedance (EPWMxB = High-impedance state)
01: Force EPWMxB to a high state
10: Force EPWMxB to a low state
11: Do nothing, no action is taken on EPWMxB.

Reset type: SYSRSn

1-0TZAR/W0hTZ1 to TZ6, DCAEVT1/2, DCBEVT1/2 Trip Action On EPWMxA

When a trip event occurs the following action is taken on output EPWMxA. Which trip-zone pins can cause an event is defined in the TZSEL register.

00: High-impedance (EPWMxA = High-impedance state)
01: Force EPWMxA to a high state
10: Force EPWMxA to a low state
11: Do nothing, no action is taken on EPWMxA.

Reset type: SYSRSn

30.20.2.46 TZCTL2 Register (Offset = 10Ah) [Reset = 0000h]

TZCTL2 is shown in Figure 30-167 and described in Table 30-72.

Return to the Summary Table.

Additional Trip Zone Control Register

Figure 30-167 TZCTL2 Register
15141312111098
ETZERESERVEDTZBDTZBU
R/W-0hR-0-0hR/W-0hR/W-0h
76543210
TZBUTZADTZAU
R/W-0hR/W-0hR/W-0h
Table 30-72 TZCTL2 Register Field Descriptions
BitFieldTypeResetDescription
15ETZER/W0hTZCTL2 Enable

0: Use trip action from TZCTL (legacy EPWM compatibility)
1: Use trip action defined in TZCTL2, TZCTLDCA and TZCTLDCB. Settings in TZCTL are ignored

Reset type: SYSRSn

14-12RESERVEDR-00hReserved
11-9TZBDR/W0hTZ1 to TZ6 Trip Action On EPWMxB while Count direction is DOWN

000: HiZ (EPWMxB = HiZ state)
001: Forced Hi (EPWMxB = High state)
010: Forced Lo (EPWMxB = Lo state)
011: Toggle (Low -> High, High -> Low)
100: Reserved
101: Reserved
110: Reserved
111: Do Nothing, trip action is disabled

Reset type: SYSRSn

8-6TZBUR/W0hTZ1 to TZ6, DCAEVT1/2, DCBEVT1/2 Trip Action On EPWMxB while Count direction is UP

000: HiZ (EPWMxB = HiZ state)
001: Forced Hi (EPWMxB = High state)
010: Forced Lo (EPWMxB = Lo state)
011: Toggle (Low -> High, High -> Low)
100: Reserved
101: Reserved
110: Reserved
111: Do Nothing, trip action is disabled

Reset type: SYSRSn

5-3TZADR/W0hTZ1 to TZ6, DCAEVT1/2, DCBEVT1/2 Trip Action On EPWMxA while Count direction is DOWN

000: HiZ (EPWMxA = HiZ state)
001: Forced Hi (EPWMxA = High state)
010: Forced Lo (EPWMxA = Lo state)
011: Toggle (Low -> High, High -> Low)
100: Reserved
101: Reserved
110: Reserved
111: Do Nothing, trip action is disabled

Reset type: SYSRSn

2-0TZAUR/W0hTZ1 to TZ6, DCAEVT1/2, DCBEVT1/2 Trip Action On EPWMxA while Count direction is UP

000: HiZ (EPWMxA = HiZ state)
001: Forced Hi (EPWMxA = High state)
010: Forced Lo (EPWMxA = Lo state)
011: Toggle (Low -> High, High -> Low)
100: Reserved
101: Reserved
110: Reserved
111: Do Nothing, trip action is disabled

Reset type: SYSRSn

30.20.2.47 TZCTLDCA Register (Offset = 10Ch) [Reset = 0000h]

TZCTLDCA is shown in Figure 30-168 and described in Table 30-73.

Return to the Summary Table.

Trip Zone Control Register Digital Compare A

Figure 30-168 TZCTLDCA Register
15141312111098
RESERVEDDCAEVT2DDCAEVT2U
R-0-0hR/W-0hR/W-0h
76543210
DCAEVT2UDCAEVT1DDCAEVT1U
R/W-0hR/W-0hR/W-0h
Table 30-73 TZCTLDCA Register Field Descriptions
BitFieldTypeResetDescription
15-12RESERVEDR-00hReserved
11-9DCAEVT2DR/W0hDigital Compare Output A Event 2 Action On EPWMxA while Count direction is DOWN

000: HiZ (EPWMxA = HiZ state)
001: Forced Hi (EPWMxA = High state)
010: Forced Lo (EPWMxA = Lo state)
011: Toggle (Low -> High, High -> Low)
100: Reserved
101: Reserved
110: Reserved
111: Do Nothing, trip action is disabled

Reset type: SYSRSn

8-6DCAEVT2UR/W0hDigital Compare Output A Event 2 Action On EPWMxA while Count direction is UP

000: HiZ (EPWMxA = HiZ state)
001: Forced Hi (EPWMxA = High state)
010: Forced Lo (EPWMxA = Lo state)
011: Toggle (Low -> High, High -> Low)
100: Reserved
101: Reserved
110: Reserved
111: Do Nothing, trip action is disabled

Reset type: SYSRSn

5-3DCAEVT1DR/W0hDigital Compare Output A Event 1 Action On EPWMxA while Count direction is DOWN

000: HiZ (EPWMxA = HiZ state)
001: Forced Hi (EPWMxA = High state)
010: Forced Lo (EPWMxA = Lo state)
011: Toggle (Low -> High, High -> Low)
100: Reserved
101: Reserved
110: Reserved
111: Do Nothing, trip action is disabled

Reset type: SYSRSn

2-0DCAEVT1UR/W0hDigital Compare Output A Event 1 Action On EPWMxA while Count direction is UP

000: HiZ (EPWMxA = HiZ state)
001: Forced Hi (EPWMxA = High state)
010: Forced Lo (EPWMxA = Lo state)
011: Toggle (Low -> High, High -> Low)
100: Reserved
101: Reserved
110: Reserved
111: Do Nothing, trip action is disabled

Reset type: SYSRSn

30.20.2.48 TZCTLDCB Register (Offset = 10Eh) [Reset = 0000h]

TZCTLDCB is shown in Figure 30-169 and described in Table 30-74.

Return to the Summary Table.

Trip Zone Control Register Digital Compare B

Figure 30-169 TZCTLDCB Register
15141312111098
RESERVEDDCBEVT2DDCBEVT2U
R-0-0hR/W-0hR/W-0h
76543210
DCBEVT2UDCBEVT1DDCBEVT1U
R/W-0hR/W-0hR/W-0h
Table 30-74 TZCTLDCB Register Field Descriptions
BitFieldTypeResetDescription
15-12RESERVEDR-00hReserved
11-9DCBEVT2DR/W0hDigital Compare Output B Event 2 Action On EPWMxB while Count direction is DOWN

000: HiZ (EPWMxB = HiZ state)
001: Forced Hi (EPWMxB = High state)
010: Forced Lo (EPWMxB = Lo state)
011: Toggle (Low -> High, High -> Low)
100: Reserved
101: Reserved
110: Reserved
111: Do Nothing, trip action is disabled

Reset type: SYSRSn

8-6DCBEVT2UR/W0hDigital Compare Output B Event 2 Action On EPWMxB while Count direction is UP

000: HiZ (EPWMxB = HiZ state)
001: Forced Hi (EPWMxB = High state)
010: Forced Lo (EPWMxB = Lo state)
011: Toggle (Low -> High, High -> Low)
100: Reserved
101: Reserved
110: Reserved
111: Do Nothing, trip action is disabled

Reset type: SYSRSn

5-3DCBEVT1DR/W0hDigital Compare Output B Event 1 Action On EPWMxB while Count direction is DOWN

000: HiZ (EPWMxB = HiZ state)
001: Forced Hi (EPWMxB = High state)
010: Forced Lo (EPWMxB = Lo state)
011: Toggle (Low -> High, High -> Low)
100: Reserved
101: Reserved
110: Reserved
111: Do Nothing, trip action is disabled

Reset type: SYSRSn

2-0DCBEVT1UR/W0hDigital Compare Output B Event 1 Action On EPWMxB while Count direction is UP

000: HiZ (EPWMxB = HiZ state)
001: Forced Hi (EPWMxB = High state)
010: Forced Lo (EPWMxB = Lo state)
011: Toggle (Low -> High, High -> Low)
100: Reserved
101: Reserved
110: Reserved
111: Do Nothing, trip action is disabled

Reset type: SYSRSn

30.20.2.49 TZEINT Register (Offset = 11Ah) [Reset = 0000h]

TZEINT is shown in Figure 30-170 and described in Table 30-75.

Return to the Summary Table.

Trip Zone Enable Interrupt Register

Figure 30-170 TZEINT Register
15141312111098
RESERVED
R-0-0h
76543210
CAPEVTDCBEVT2DCBEVT1DCAEVT2DCAEVT1OSTCBCRESERVED
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR-0-0h
Table 30-75 TZEINT Register Field Descriptions
BitFieldTypeResetDescription
15-8RESERVEDR-00hReserved
7CAPEVTR/W0hCapture Event Interrupt Enable

0: Disabled
1: Enabled

Reset type: SYSRSn

6DCBEVT2R/W0hDigital Compare Output B Event 2 Interrupt Enable

0: Disabled
1: Enabled

Reset type: SYSRSn

5DCBEVT1R/W0hDigital Compare Output B Event 1 Interrupt Enable

0: Disabled
1: Enabled

Reset type: SYSRSn

4DCAEVT2R/W0hDigital Compare Output A Event 2 Interrupt Enable

0: Disabled
1: Enabled

Reset type: SYSRSn

3DCAEVT1R/W0hDigital Compare Output A Event 1 Interrupt Enable

0: Disabled
1: Enabled

Reset type: SYSRSn

2OSTR/W0hTrip-zone One-Shot Interrupt Enable

0: Disable one-shot interrupt generation
1: Enable Interrupt generation
a one-shot trip event will cause a EPWMx_TZINT PIE interrupt.

Reset type: SYSRSn

1CBCR/W0hTrip-zone Cycle-by-Cycle Interrupt Enable

0: Disable cycle-by-cycle interrupt generation.
1: Enable interrupt generation
a cycle-by-cycle trip event will cause an EPWMx_TZINT PIE interrupt.

Reset type: SYSRSn

0RESERVEDR-00hReserved

30.20.2.50 TZFLG Register (Offset = 126h) [Reset = 0000h]

TZFLG is shown in Figure 30-171 and described in Table 30-76.

Return to the Summary Table.

Trip Zone Flag Register

Figure 30-171 TZFLG Register
15141312111098
RESERVED
R-0-0h
76543210
CAPEVTDCBEVT2DCBEVT1DCAEVT2DCAEVT1OSTCBCINT
R-0hR-0hR-0hR-0hR-0hR-0hR-0hR-0h
Table 30-76 TZFLG Register Field Descriptions
BitFieldTypeResetDescription
15-8RESERVEDR-00hReserved
7CAPEVTR0hLatched Status Flag for Capture Event

0: Indicates no trip event has occurred on CAPEVT
1: Indicates a trip event has occurred for the event defined for CAPEVT

Reset type: SYSRSn

6DCBEVT2R0hLatched Status Flag for Digital Compare Output B Event 2

0: Indicates no trip event has occurred on DCBEVT2
1: Indicates a trip event has occurred for the event defined for DCBEVT2

Reset type: SYSRSn

5DCBEVT1R0hLatched Status Flag for Digital Compare Output B Event 1

0: Indicates no trip event has occurred on DCBEVT1
1: Indicates a trip event has occurred for the event defined for DCBEVT1

Reset type: SYSRSn

4DCAEVT2R0hLatched Status Flag for Digital Compare Output A Event 2

0: Indicates no trip event has occurred on DCAEVT2
1: Indicates a trip event has occurred for the event defined for DCAEVT2

Reset type: SYSRSn

3DCAEVT1R0hLatched Status Flag for Digital Compare Output A Event 1

0: Indicates no trip event has occurred on DCAEVT1
1: Indicates a trip event has occurred for the event defined for DCAEVT1

Reset type: SYSRSn

2OSTR0hLatched Status Flag for A One-Shot Trip Event

0: No one-shot trip event has occurred.
1: Indicates a trip event has occurred on a pin selected as a one-shot trip source.

This bit is cleared by writing the appropriate value to the TZCLR register.

Reset type: SYSRSn

1CBCR0hLatched Status Flag for Cycle-By-Cycle Trip Event

0: No cycle-by-cycle trip event has occurred.
1: Indicates a trip event has occurred on a signal selected as a cycle-by-cycle trip source. The

TZFLG[CBC] bit will remain set until it is manually cleared by the user. If the cycle-by-cycle trip event is still present when the CBC bit is cleared, then CBC will be immediately set again. The specified condition on the signal is automatically cleared when the ePWM time-base counter reaches zero (TBCTR = 0x00) if the trip condition is no longer present. The condition on the signal is only cleared when the TBCTR = 0x00 no matter where in the cycle the CBC flag is cleared.

This bit is cleared by writing the appropriate value to the TZCLR register.

Reset type: SYSRSn

0INTR0hLatched Trip Interrupt Status Flag

0: Indicates no interrupt has been generated.
1: Indicates an EPWMx_TZINT PIE interrupt was generated because of a trip condition.

No further EPWMx_TZINT PIE interrupts will be generated until this flag is cleared. If the interrupt flag is cleared when either CBC or OST is set, then another interrupt pulse will be generated. Clearing all flag bits will prevent further interrupts. This bit is cleared by writing the appropriate value to the TZCLR register.

Reset type: SYSRSn

30.20.2.51 TZCBCFLG Register (Offset = 128h) [Reset = 0000h]

TZCBCFLG is shown in Figure 30-172 and described in Table 30-77.

Return to the Summary Table.

Trip Zone CBC Flag Register

Figure 30-172 TZCBCFLG Register
15141312111098
RESERVEDCAPEVT
R-0-0hR-0h
76543210
DCBEVT2DCAEVT2CBC6CBC5CBC4CBC3CBC2CBC1
R-0hR-0hR-0hR-0hR-0hR-0hR-0hR-0h
Table 30-77 TZCBCFLG Register Field Descriptions
BitFieldTypeResetDescription
15-9RESERVEDR-00hReserved
8CAPEVTR0hLatched Status Flag for Capture Event

0: Indicates no trip event has occurred on CAPEVT
1: Indicates a trip event has occurred for the event defined for CAPEVT

Reset type: SYSRSn

7DCBEVT2R0hLatched Status Flag for Digital Compare B Output Event 2 Trip Latch

0: Reading a 0 indicates that no trip has occurred on DCBEVT2.
1: Reading a 1 indicates a trip has occured on the DCBEVT2 selected event.

Reset type: SYSRSn

6DCAEVT2R0hLatched Status Flag for Digital Compare A Output Event 2 Trip Latch

0: Reading a 0 indicates that no trip has occurred on DCAEVT2.
1: Reading a 1 indicates a trip has occured on the DCAEVT2 selected event.

Reset type: SYSRSn

5CBC6R0hLatched Status Flag for CBC6 Trip Latch

0: Reading a 0 indicates that no trip has occurred on CBC6.
1: Reading a 1 indicates a trip has occured on the CBC6 selected event.

Reset type: SYSRSn

4CBC5R0hLatched Status Flag for CBC5 Trip Latch

0: Reading a 0 indicates that no trip has occurred on CBC5.
1: Reading a 1 indicates a trip has occured on the CBC5 selected event.

Reset type: SYSRSn

3CBC4R0hLatched Status Flag for CBC4 Trip Latch

0: Reading a 0 indicates that no trip has occurred on CBC4.
1: Reading a 1 indicates a trip has occured on the CBC4 selected event.

Reset type: SYSRSn

2CBC3R0hLatched Status Flag for CBC3 Trip Latch

0: Reading a 0 indicates that no trip has occurred on CBC3.
1: Reading a 1 indicates a trip has occured on the CBC3 selected event.

Reset type: SYSRSn

1CBC2R0hLatched Status Flag for CBC2 Trip Latch

0: Reading a 0 indicates that no trip has occurred on CBC2.
1: Reading a 1 indicates a trip has occured on the CBC2 selected event.

Reset type: SYSRSn

0CBC1R0hLatched Status Flag for CBC1 Trip Latch

0: Reading a 0 indicates that no trip has occurred on CBC1.
1: Reading a 1 indicates a trip has occured on the CBC1 selected event.

Reset type: SYSRSn

30.20.2.52 TZOSTFLG Register (Offset = 12Ah) [Reset = 0000h]

TZOSTFLG is shown in Figure 30-173 and described in Table 30-78.

Return to the Summary Table.

Trip Zone OST Flag Register

Figure 30-173 TZOSTFLG Register
15141312111098
RESERVEDCAPEVT
R-0-0hR-0h
76543210
DCBEVT1DCAEVT1OST6OST5OST4OST3OST2OST1
R-0hR-0hR-0hR-0hR-0hR-0hR-0hR-0h
Table 30-78 TZOSTFLG Register Field Descriptions
BitFieldTypeResetDescription
15-9RESERVEDR-00hReserved
8CAPEVTR0hLatched Status Flag for Capture Event

0: Indicates no trip event has occurred on CAPEVT
1: Indicates a trip event has occurred for the event defined for CAPEVT

Reset type: SYSRSn

7DCBEVT1R0hLatched Status Flag for Digital Compare B Output Event 1 Trip Latch

0: Reading a 0 indicates that no trip has occurred on DCBEVT1.
1: Reading a 1 indicates a trip has occured on the DCBEVT1 selected event.

Reset type: SYSRSn

6DCAEVT1R0hLatched Status Flag for Digital Compare A Output Event 1 Trip Latch

0: Reading a 0 indicates that no trip has occurred on DCAEVT1.
1: Reading a 1 indicates a trip has occured on the DCAEVT1 selected event.

Reset type: SYSRSn

5OST6R0hLatched Status Flag for OST6 Trip Latch

0: Reading a 0 indicates that no trip has occurred on OST6.
1: Reading a 1 indicates a trip has occured on the OST6 selected event.

Reset type: SYSRSn

4OST5R0hLatched Status Flag for OST5 Trip Latch

0: Reading a 0 indicates that no trip has occurred on OST5.
1: Reading a 1 indicates a trip has occured on the OST5 selected event.

Reset type: SYSRSn

3OST4R0hLatched Status Flag for OST4 Trip Latch

0: Reading a 0 indicates that no trip has occurred on OST4.
1: Reading a 1 indicates a trip has occured on the OST4 selected event.

Reset type: SYSRSn

2OST3R0hLatched Status Flag for OST3 Trip Latch

0: Reading a 0 indicates that no trip has occurred on OST3.
1: Reading a 1 indicates a trip has occured on the OST3 selected event.

Reset type: SYSRSn

1OST2R0hLatched Status Flag for OST2 Trip Latch

0: Reading a 0 indicates that no trip has occurred on OST2.
1: Reading a 1 indicates a trip has occured on the OST2 selected event.

Reset type: SYSRSn

0OST1R0hLatched Status Flag for OST1 Trip Latch

0: Reading a 0 indicates that no trip has occurred on OST1.
1: Reading a 1 indicates a trip has occured on the OST1 selected event.

Reset type: SYSRSn

30.20.2.53 TZCLR Register (Offset = 12Eh) [Reset = 0000h]

TZCLR is shown in Figure 30-174 and described in Table 30-79.

Return to the Summary Table.

Trip Zone Clear Register

Figure 30-174 TZCLR Register
15141312111098
CBCPULSERESERVED
R/W-0hR-0-0h
76543210
CAPEVTDCBEVT2DCBEVT1DCAEVT2DCAEVT1OSTCBCINT
R-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0h
Table 30-79 TZCLR Register Field Descriptions
BitFieldTypeResetDescription
15-14CBCPULSER/W0hClear Pulse for Cycle-By-Cycle (CBC) Trip Latch

This bit field determines which pulse clears the CBC trip latch.

00: CTR = zero pulse clears CBC trip latch. (Same as legacy designs.)
01: CTR = PRD pulse clears CBC trip latch.
10: CTR = zero or CTR = PRD pulse clears CBC trip latch.
11: CBC trip latch is not cleared

Reset type: SYSRSn

13-8RESERVEDR-00hReserved
7CAPEVTR-0/W1S0hClear Flag for Capture Event

0: Writing 0 has no effect. This bit always reads back 0.
1: Writing 1 clears the CAPEVT event trip condition.

Reset type: SYSRSn

6DCBEVT2R-0/W1S0hClear Flag for Digital Compare Output B Event 2

0: Writing 0 has no effect. This bit always reads back 0.
1: Writing 1 clears the DCBEVT2 event trip condition.

Reset type: SYSRSn

5DCBEVT1R-0/W1S0hClear Flag for Digital Compare Output B Event 1

0: Writing 0 has no effect. This bit always reads back 0.
1: Writing 1 clears the DCBEVT1 event trip condition.

Reset type: SYSRSn

4DCAEVT2R-0/W1S0hClear Flag for Digital Compare Output A Event 2

0: Writing 0 has no effect. This bit always reads back 0.
1: Writing 1 clears the DCAEVT2 event trip condition.

Reset type: SYSRSn

3DCAEVT1R-0/W1S0hClear Flag for Digital Compare Output A Event 1

0: Writing 0 has no effect. This bit always reads back 0.
1: Writing 1 clears the DCAEVT1 event trip condition.

Reset type: SYSRSn

2OSTR-0/W1S0hClear Flag for One-Shot Trip (OST) Latch

0: Has no effect. Always reads back a 0.
1: Clears this Trip (set) condition.

Reset type: SYSRSn

1CBCR-0/W1S0hClear Flag for Cycle-By-Cycle (CBC) Trip Latch

0: Has no effect. Always reads back a 0.
1: Clears this Trip (set) condition.

Reset type: SYSRSn

0INTR-0/W1S0hGlobal Interrupt Clear Flag

0: Has no effect. Always reads back a 0.
1: Clears the trip-interrupt flag for this ePWM module (TZFLG[INT]).

NOTE: No further EPWMx_TZINT PIE interrupts will be generated until the flag is cleared. If the TZFLG[INT] bit is cleared and any of the other flag bits are set, then another interrupt pulse will be generated. Clearing all flag bits will prevent further interrupts.

Reset type: SYSRSn

30.20.2.54 TZCBCCLR Register (Offset = 130h) [Reset = 0000h]

TZCBCCLR is shown in Figure 30-175 and described in Table 30-80.

Return to the Summary Table.

Trip Zone CBC Clear Register

Figure 30-175 TZCBCCLR Register
15141312111098
RESERVEDCAPEVT
R-0-0hR-0/W1S-0h
76543210
DCBEVT2DCAEVT2CBC6CBC5CBC4CBC3CBC2CBC1
R-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0h
Table 30-80 TZCBCCLR Register Field Descriptions
BitFieldTypeResetDescription
15-9RESERVEDR-00hReserved
8CAPEVTR-0/W1S0hClear Flag for CAPEVT selected for CBC

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZCBCFLG[CAPEVT] bit.

Reset type: SYSRSn

7DCBEVT2R-0/W1S0hClear Flag for Digital Compare Output B Event 2 selected for CBC

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZCBCFLG[DCBEVT2] bit.

Reset type: SYSRSn

6DCAEVT2R-0/W1S0hClear Flag for Digital Compare Output A Event 2 selected for CBC

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZCBCFLG[DCAEVT2] bit.

Reset type: SYSRSn

5CBC6R-0/W1S0hClear Flag for Cycle-By-Cycle (CBC6) Trip Latch

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZCBCFLG[CBC6] bit.

Reset type: SYSRSn

4CBC5R-0/W1S0hClear Flag for Cycle-By-Cycle (CBC5) Trip Latch

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZCBCFLG[CBC5] bit.

Reset type: SYSRSn

3CBC4R-0/W1S0hClear Flag for Cycle-By-Cycle (CBC4) Trip Latch

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZCBCFLG[CBC4] bit.

Reset type: SYSRSn

2CBC3R-0/W1S0hClear Flag for Cycle-By-Cycle (CBC3) Trip Latch

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZCBCFLG[CBC3] bit.

Reset type: SYSRSn

1CBC2R-0/W1S0hClear Flag for Cycle-By-Cycle (CBC2) Trip Latch

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZCBCFLG[CBC2] bit.

Reset type: SYSRSn

0CBC1R-0/W1S0hClear Flag for Cycle-By-Cycle (CBC1) Trip Latch

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZCBCFLG[CBC1] bit.

Reset type: SYSRSn

30.20.2.55 TZOSTCLR Register (Offset = 132h) [Reset = 0000h]

TZOSTCLR is shown in Figure 30-176 and described in Table 30-81.

Return to the Summary Table.

Trip Zone OST Clear Register

Figure 30-176 TZOSTCLR Register
15141312111098
RESERVEDCAPEVT
R-0-0hR-0/W1S-0h
76543210
DCBEVT1DCAEVT1OST6OST5OST4OST3OST2OST1
R-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0h
Table 30-81 TZOSTCLR Register Field Descriptions
BitFieldTypeResetDescription
15-9RESERVEDR-00hReserved
8CAPEVTR-0/W1S0hClear Flag for CAPEVT selected for OST

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZOSTFLG[CAPEVT] bit.

Reset type: SYSRSn

7DCBEVT1R-0/W1S0hClear Flag for Digital Compare Output B Event 1 selected for OST

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZOSTFLG[DCBEVT1] bit.

Reset type: SYSRSn

6DCAEVT1R-0/W1S0hClear Flag for Digital Compare Output A Event 1 selected for OST

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZOSTFLG[DCAEVT1] bit.

Reset type: SYSRSn

5OST6R-0/W1S0hClear Flag for Oneshot (OST6) Trip Latch

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZOSTFLG[OST6] bit.

Reset type: SYSRSn

4OST5R-0/W1S0hClear Flag for Oneshot (OST5) Trip Latch

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZOSTFLG[OST5] bit.

Reset type: SYSRSn

3OST4R-0/W1S0hClear Flag for Oneshot (OST4) Trip Latch

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZOSTFLG[OST4] bit.

Reset type: SYSRSn

2OST3R-0/W1S0hClear Flag for Oneshot (OST3) Trip Latch

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZOSTFLG[OST3] bit.

Reset type: SYSRSn

1OST2R-0/W1S0hClear Flag for Oneshot (OST2) Trip Latch

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZOSTFLG[OST2] bit.

Reset type: SYSRSn

0OST1R-0/W1S0hClear Flag for Oneshot (OST1) Trip Latch

0: Writing a 0 has no effect.
1: Writing a 1 will clear the TZOSTFLG[OST1] bit.

Reset type: SYSRSn

30.20.2.56 TZFRC Register (Offset = 136h) [Reset = 0000h]

TZFRC is shown in Figure 30-177 and described in Table 30-82.

Return to the Summary Table.

Trip Zone Force Register

Figure 30-177 TZFRC Register
15141312111098
RESERVED
R-0-0h
76543210
CAPEVTDCBEVT2DCBEVT1DCAEVT2DCAEVT1OSTCBCRESERVED
R-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0-0h
Table 30-82 TZFRC Register Field Descriptions
BitFieldTypeResetDescription
15-8RESERVEDR-00hReserved
7CAPEVTR-0/W1S0hForce Flag for Capture Event Output

0: Writing 0 has no effect. This bit always reads back 0.
1: Writing 1 forces the CAPEVT event trip condition and sets the TZFLG[CAPEVT] bit.

Reset type: SYSRSn

6DCBEVT2R-0/W1S0hForce Flag for Digital Compare Output B Event 2

0: Writing 0 has no effect. This bit always reads back 0.
1: Writing 1 forces the DCBEVT2 event trip condition and sets the TZFLG[DCBEVT2] bit.

Reset type: SYSRSn

5DCBEVT1R-0/W1S0hForce Flag for Digital Compare Output B Event 1

0: Writing 0 has no effect. This bit always reads back 0.
1: Writing 1 forces the DCBEVT1 event trip condition and sets the TZFLG[DCBEVT1] bit.

Reset type: SYSRSn

4DCAEVT2R-0/W1S0hForce Flag for Digital Compare Output A Event 2

0: Writing 0 has no effect. This bit always reads back 0.
1: Writing 1 forces the DCAEVT2 event trip condition and sets the TZFLG[DCAEVT2] bit.

Reset type: SYSRSn

3DCAEVT1R-0/W1S0hForce Flag for Digital Compare Output A Event 1

0: Writing 0 has no effect. This bit always reads back 0
1: Writing 1 forces the DCAEVT1 event trip condition and sets the TZFLG[DCAEVT1] bit.

Reset type: SYSRSn

2OSTR-0/W1S0hForce a One-Shot Trip Event via Software

0: Writing of 0 is ignored. Always reads back a 0.
1: Forces a one-shot trip event and sets the TZFLG[OST] bit.

Reset type: SYSRSn

1CBCR-0/W1S0hForce a Cycle-by-Cycle Trip Event via Software

0: Writing of 0 is ignored. Always reads back a 0.
1: Forces a cycle-by-cycle trip event and sets the TZFLG[CBC] bit.

Reset type: SYSRSn

0RESERVEDR-00hReserved

30.20.2.57 TZTRIPOUTSEL Register (Offset = 13Ah) [Reset = 0000h]

TZTRIPOUTSEL is shown in Figure 30-178 and described in Table 30-83.

Return to the Summary Table.

Trip Zone Force Register

Figure 30-178 TZTRIPOUTSEL Register
15141312111098
RESERVEDCAPEVTDCBEVT2DCBEVT1DCAEVT2DCAEVT1
R-0-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
76543210
TZ6TZ5TZ4TZ3TZ2TZ1CBCOST
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-83 TZTRIPOUTSEL Register Field Descriptions
BitFieldTypeResetDescription
15-13RESERVEDR-00hReserved
12CAPEVTR/W0hCAPEVT Select

0: Disable TZ6 as a TRIPOUT source for this ePWM module
1: Enable TZ6 as a TRIPOUT source for this ePWM module

Reset type: SYSRSn

11DCBEVT2R/W0hDCBEVT2 Select

0: Disable TZ6 as a TRIPOUT source for this ePWM module
1: Enable TZ6 as a TRIPOUT source for this ePWM module

Reset type: SYSRSn

10DCBEVT1R/W0hDCBEVT1 Select

0: Disable TZ6 as a TRIPOUT source for this ePWM module
1: Enable TZ6 as a TRIPOUT source for this ePWM module

Reset type: SYSRSn

9DCAEVT2R/W0hDCAEVT2 Select

0: Disable TZ6 as a TRIPOUT source for this ePWM module
1: Enable TZ6 as a TRIPOUT source for this ePWM module

Reset type: SYSRSn

8DCAEVT1R/W0hDCAEVT1 Select

0: Disable TZ6 as a TRIPOUT source for this ePWM module
1: Enable TZ6 as a TRIPOUT source for this ePWM module

Reset type: SYSRSn

7TZ6R/W0hTrip-zone 6 (TZ6) Select

0: Disable TZ6 as a TRIPOUT source for this ePWM module
1: Enable TZ6 as a TRIPOUT source for this ePWM module

Reset type: SYSRSn

6TZ5R/W0hTrip-zone 5 (TZ5) Select

0: Disable TZ5 as a TRIPOUT source for this ePWM module
1: Enable TZ5 as a TRIPOUT source for this ePWM module

Reset type: SYSRSn

5TZ4R/W0hTrip-zone 4 (TZ4) Select

0: Disable TZ4 as a TRIPOUT source for this ePWM module
1: Enable TZ4 as a TRIPOUT source for this ePWM module

Reset type: SYSRSn

4TZ3R/W0hTrip-zone 3 (TZ3) Select

0: Disable TZ3 as a TRIPOUT source for this ePWM module
1: Enable TZ3 as a TRIPOUT source for this ePWM module

Reset type: SYSRSn

3TZ2R/W0hTrip-zone 2 (TZ2) Select

0: Disable TZ2 as a TRIPOUT source for this ePWM module
1: Enable TZ2 as a TRIPOUT source for this ePWM module

Reset type: SYSRSn

2TZ1R/W0hTrip-zone 1 (TZ1) Select

0: Disable TZ1 as a TRIPOUT source for this ePWM module
1: Enable TZ1 as a TRIPOUT source for this ePWM module

Reset type: SYSRSn

1CBCR/W0hCBC Select

0: Disable TZ1 as a TRIPOUT source for this ePWM module
1: Enable TZ1 as a TRIPOUT source for this ePWM module

Reset type: SYSRSn

0OSTR/W0hOST Select

0: Disable TZ1 as a TRIPOUT source for this ePWM module
1: Enable TZ1 as a TRIPOUT source for this ePWM module

Reset type: SYSRSn

30.20.2.58 ETSEL Register (Offset = 148h) [Reset = 0000h]

ETSEL is shown in Figure 30-179 and described in Table 30-84.

Return to the Summary Table.

Event Trigger Selection Register

Figure 30-179 ETSEL Register
15141312111098
SOCBENSOCBSELSOCAENSOCASEL
R/W-0hR/W-0hR/W-0hR/W-0h
76543210
RESERVEDINTSELCMPSOCBSELCMPSOCASELCMPINTENINTSEL
R-0-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-84 ETSEL Register Field Descriptions
BitFieldTypeResetDescription
15SOCBENR/W0hEnable the ADC Start of Conversion B (EPWMxSOCB) Pulse

0: Disable EPWMxSOCB.
1: Enable EPWMxSOCB pulse.

Reset type: SYSRSn

14-12SOCBSELR/W0hEPWMxSOCB Selection Options

These bits determine when a EPWMxSOCB pulse will be generated.

000: Enable DCBEVT1.soc event
001: Enable event time-base counter equal to zero. (TBCTR = 0x00)
010: Enable event time-base counter equal to period (TBCTR = TBPRD)
011: Enable event time-base counter based on mixed events (ETSOCBMIX). ETSOCBMIX is configured in the ETSOCBMIXEN register.
100: Enable event time-base counter equal to CMPA when the timer is incrementing or CMPC when the timer is incrementing
101: Enable event time-base counter equal to CMPA when the timer is decrementing or CMPC when the timer is decrementing
110: Enable event: time-base counter equal to CMPB when the timer is incrementing or CMPD when the timer is incrementing
111: Enable event: time-base counter equal to CMPB when the timer is decrementing or CMPD when the timer is decrementing (*) Event selected is determined by SOCBSELCMP bit.

Reset type: SYSRSn

11SOCAENR/W0hEnable the ADC Start of Conversion A (EPWMxSOCA) Pulse

0: Disable EPWMxSOCA.
1: Enable EPWMxSOCA pulse.

Reset type: SYSRSn

10-8SOCASELR/W0hEPWMxSOCA Selection Options

These bits determine when a EPWMxSOCA pulse will be generated.

000: Enable DCAEVT1.soc event
001: Enable event time-base counter equal to zero. (TBCTR = 0x00)
010: Enable event time-base counter equal to period (TBCTR = TBPRD)
011: Enable event time-base counter based on mixed events (ETSOCAMIX). ETSOCAMIX is configured in the ETSOCAMIXEN register.
100: Enable event time-base counter equal to CMPA when the timer is incrementing or CMPC when the timer is incrementing
101: Enable event time-base counter equal to CMPA when the timer is decrementing or CMPC when the timer is decrementing
110: Enable event: time-base counter equal to CMPB when the timer is incrementing or CMPD when the timer is incrementing
111: Enable event: time-base counter equal to CMPB when the timer is decrementing or CMPD when the timer is decrementing (*) Event selected is determined by SOCASELCMP bit.

Reset type: SYSRSn

7RESERVEDR-00hReserved
6INTSELCMPR/W0hEPWMxINT Compare Register Selection Options

0: Enable event time-base counter equal to CMPA when the timer is incrementing / Enable event time-base counter equal to CMPA when the timer is decrementing / Enable event: time-base counter equal to CMPB when the timer is incrementing / Enable event: time-base counter equal to CMPB when the timer is decrementing to INTSEL selection mux.
1: Enable event time-base counter equal to CMPC when the timer is incrementing / Enable event time-base counter equal to CMPC when the timer is decrementing / Enable event: time-base counter equal to CMPD when the timer is incrementing / Enable event: time-base counter equal to CMPD when the timer is decrementing to INTSEL selection mux.

Reset type: SYSRSn

5SOCBSELCMPR/W0hEPWMxSOCB Compare Register Selection Options

0: Enable event time-base counter equal to CMPA when the timer is incrementing / Enable event time-base counter equal to CMPA when the timer is decrementing / Enable event: time-base counter equal to CMPB when the timer is incrementing / Enable event: time-base counter equal to CMPB when the timer is decrementing to SOCBSEL selection mux.
1: Enable event time-base counter equal to CMPC when the timer is incrementing / Enable event time-base counter equal to CMPC when the timer is decrementing / Enable event: time-base counter equal to CMPD when the timer is incrementing / Enable event: time-base counter equal to CMPD when the timer is decrementing to SOCBSEL selection mux.

Reset type: SYSRSn

4SOCASELCMPR/W0hEPWMxSOCA Compare Register Selection Options

0: Enable event time-base counter equal to CMPA when the timer is incrementing / Enable event time-base counter equal to CMPA when the timer is decrementing / Enable event: time-base counter equal to CMPB when the timer is incrementing / Enable event: time-base counter equal to CMPB when the timer is decrementing to SOCASEL selection mux.
1: Enable event time-base counter equal to CMPC when the timer is incrementing / Enable event time-base counter equal to CMPC when the timer is decrementing / Enable event: time-base counter equal to CMPD when the timer is incrementing / Enable event: time-base counter equal to CMPD when the timer is decrementing to SOCASEL selection mux.

Reset type: SYSRSn

3INTENR/W0hEnable ePWM Interrupt (EPWMx_INT) Generation

0: Disable EPWMx_INT generation
1: Enable EPWMx_INT generation

Reset type: SYSRSn

2-0INTSELR/W0hePWM Interrupt (EPWMx_INT) Selection Options

000: Reserved
001: Enable event time-base counter equal to zero. (TBCTR = 0x00)
010: Enable event time-base counter equal to period (TBCTR = TBPRD)
011: Enable event time-base counter based on mixed events (ETINTMIX). ETINTMIX is configured in the ETINTMIXEN register.
100: Enable event time-base counter equal to CMPA when the timer is incrementing or CMPC when the timer is incrementing
101: Enable event time-base counter equal to CMPA when the timer is decrementing or CMPC when the timer is decrementing
110: Enable event: time-base counter equal to CMPB when the timer is incrementing or CMPD when the timer is incrementing
111: Enable event: time-base counter equal to CMPB when the timer is decrementing or CMPD when the timer is decrementing (*) Event selected is determined by INTSELCMP bit.

Reset type: SYSRSn

30.20.2.59 ETPS Register (Offset = 14Ch) [Reset = 0000h]

ETPS is shown in Figure 30-180 and described in Table 30-85.

Return to the Summary Table.

Event Trigger Pre-Scale Register

Figure 30-180 ETPS Register
15141312111098
SOCBCNTSOCBPRDSOCACNTSOCAPRD
R-0hR/W-0hR-0hR/W-0h
76543210
RESERVEDSOCPSSELINTPSSELINTCNTINTPRD
R-0-0hR/W-0hR/W-0hR-0hR/W-0h
Table 30-85 ETPS Register Field Descriptions
BitFieldTypeResetDescription
15-14SOCBCNTR0hePWM ADC Start-of-Conversion B Event (EPWMxSOCB) Counter Register

These bits indicate how many selected ETSEL[SOCBSEL] events have occurred:

00: No events have occurred.
01: 1 event has occurred.
10: 2 events have occurred.
11: 3 events have occurred.

Reset type: SYSRSn

13-12SOCBPRDR/W0hePWM ADC Start-of-Conversion B Event (EPWMxSOCB) Period Select

These bits determine how many selected ETSEL[SOCBSEL] events need to occur before an EPWMxSOCB pulse is generated. To be generated, the pulse must be enabled (ETSEL[SOCBEN] = 1). The SOCB pulse will be generated even if the status flag is set from a previous start of conversion (ETFLG[SOCB] = 1). Once the SOCB pulse is generated, the ETPS[SOCBCNT] bits will automatically be cleared.

00: Disable the SOCB event counter. No EPWMxSOCB pulse will be generated
01: Generate the EPWMxSOCB pulse on the first event: ETPS[SOCBCNT] = 0,1
10: Generate the EPWMxSOCB pulse on the second event: ETPS[SOCBCNT] = 1,0
11: Generate the EPWMxSOCB pulse on the third event: ETPS[SOCBCNT] = 1,1

Reset type: SYSRSn

11-10SOCACNTR0hePWM ADC Start-of-Conversion A Event (EPWMxSOCA) Counter Register

These bits indicate how many selected ETSEL[SOCASEL] events have occurred:

00: No events have occurred.
01: 1 event has occurred.
10: 2 events have occurred.
11: 3 events have occurred.

Reset type: SYSRSn

9-8SOCAPRDR/W0hePWM ADC Start-of-Conversion A Event (EPWMxSOCA) Period Select

These bits determine how many selected ETSEL[SOCASEL] events need to occur before an EPWMxSOCA pulse is generated. To be generated, the pulse must be enabled (ETSEL[SOCAEN] = 1). The SOCA pulse will be generated even if the status flag is set from a previous start of conversion (ETFLG[SOCA] = 1). Once the SOCA pulse is generated, the ETPS[SOCACNT] bits will automatically be cleared.

00: Disable the SOCA event counter. No EPWMxSOCA pulse will be generated
01: Generate the EPWMxSOCA pulse on the first event: ETPS[SOCACNT] = 0,1
10: Generate the EPWMxSOCA pulse on the second event: ETPS[SOCACNT] = 1,0
11: Generate the EPWMxSOCA pulse on the third event: ETPS[SOCACNT] = 1,1

Reset type: SYSRSn

7-6RESERVEDR-00hReserved
5SOCPSSELR/W0hEPWMxSOC A/B Pre-Scale Selection Bits

0: Selects ETPS [SOCACNT/SOCBCNT] and [SOCAPRD/SOCBPRD] registers to determine frequency of events (SOC pulse once every 0-3 events).
1: Selects ETSOCPS [SOCACNT2/SOCBCNT2] and [SOCAPRD2/SOCBPRD2] registers to determine frequency of events (SOC pulse once every 0-15 events).

Reset type: SYSRSn

4INTPSSELR/W0hEPWMxINTn Pre-Scale Selection Bits

0: Selects ETPS [INTCNT, and INTPRD] registers to determine frequency of events (interrupt once every 0-3 events).
1: Selects ETINTPS [ INTCNT2, and INTPRD2 ] registers to determine frequency of events (interrupt once every 0-15 events).

Reset type: SYSRSn

3-2INTCNTR0hePWM Interrupt Event (EPWMx_INT) Counter Register

These bits indicate how many selected ETSEL[INTSEL] events have occurred. These bits are automatically cleared when an interrupt pulse is generated. If interrupts are disabled, ETSEL[INT] = 0 or the interrupt flag is set, ETFLG[INT] = 1, the counter will stop counting events when it reaches the period value ETPS[INTCNT] = ETPS[INTPRD].

00: No events have occurred.
01: 1 event has occurred.
10: 2 events have occurred.
11: 3 events have occurred.

Reset type: SYSRSn

1-0INTPRDR/W0hePWM Interrupt (EPWMx_INT) Period Select

These bits determine how many selected ETSEL[INTSEL] events need to occur before an interrupt is generated. To be generated, the interrupt must be enabled (ETSEL[INT] = 1). If the interrupt status flag is set from a previous interrupt (ETFLG[INT] = 1) then no interrupt will be generated until the flag is cleared via the ETCLR[INT] bit. This allows for one interrupt to be pending while another is still being serviced. Once the interrupt is generated, the ETPS[INTCNT] bits will automatically be cleared.

Writing a INTPRD value that is the same as the current counter value will trigger an interrupt if it is enabled and the status flag is clear.

Writing a INTPRD value that is less than the current counter value will result in an undefined state. If a counter event occurs at the same instant as a new zero or non-zero INTPRD value is written, the counter is incremented.

00: Disable the interrupt event counter. No interrupt will be generated and ETFRC[INT] is ignored.
01: Generate an interrupt on the first event INTCNT = 01 (first event)
10: Generate interrupt on ETPS[INTCNT] = 1,0 (second event)
11: Generate interrupt on ETPS[INTCNT] = 1,1 (third event)

Reset type: SYSRSn

30.20.2.60 ETFLG Register (Offset = 150h) [Reset = 0000h]

ETFLG is shown in Figure 30-181 and described in Table 30-86.

Return to the Summary Table.

Event Trigger Flag Register

Figure 30-181 ETFLG Register
15141312111098
RESERVED
R-0-0h
76543210
RESERVEDSOCBSOCARESERVEDINT
R-0-0hR-0hR-0hR-0-0hR-0h
Table 30-86 ETFLG Register Field Descriptions
BitFieldTypeResetDescription
15-4RESERVEDR-00hReserved
3SOCBR0hLatched ePWM ADC Start-of-Conversion A (EPWMxSOCB) Status Flag

Unlike the ETFLG[INT] flag, the EPWMxSOCB output will continue to pulse even if the flag bit is set.

0: Indicates no event occurred
1: Indicates that a start of conversion pulse was generated on EPWMxSOCB. The EPWMxSOCB output will continue to be generated even if the flag bit is set.

Reset type: SYSRSn

2SOCAR0hLatched ePWM ADC Start-of-Conversion A (EPWMxSOCA) Status Flag

Unlike the ETFLG[INT] flag, the EPWMxSOCA output will continue to pulse even if the flag bit is set.

0: Indicates no event occurred
1: Indicates that a start of conversion pulse was generated on EPWMxSOCA. The EPWMxSOCA output will continue to be generated even if the flag bit is set.

Reset type: SYSRSn

1RESERVEDR-00hReserved
0INTR0hLatched ePWM Interrupt (EPWMx_INT) Status Flag

0: Indicates no event occurred
1: Indicates that an ePWMx interrupt (EPWMx_INT) was generated. No further interrupts will be generated until the flag bit is cleared. Up to one interrupt can be pending while the ETFLG[INT] bit is still set. If an interrupt is pending, it will not be generated until after the ETFLG[INT] bit is cleared.

Reset type: SYSRSn

30.20.2.61 ETCLR Register (Offset = 154h) [Reset = 0000h]

ETCLR is shown in Figure 30-182 and described in Table 30-87.

Return to the Summary Table.

Event Trigger Clear Register

Figure 30-182 ETCLR Register
15141312111098
RESERVED
R-0-0h
76543210
RESERVEDSOCBSOCARESERVEDINT
R-0-0hR-0/W1S-0hR-0/W1S-0hR-0-0hR-0/W1S-0h
Table 30-87 ETCLR Register Field Descriptions
BitFieldTypeResetDescription
15-4RESERVEDR-00hReserved
3SOCBR-0/W1S0hePWM ADC Start-of-Conversion A (EPWMxSOCB) Flag Clear Bit

0: Writing a 0 has no effect. Always reads back a 0
1: Clears the ETFLG[SOCB] flag bit

Reset type: SYSRSn

2SOCAR-0/W1S0hePWM ADC Start-of-Conversion A (EPWMxSOCA) Flag Clear Bit

0: Writing a 0 has no effect. Always reads back a 0
1: Clears the ETFLG[SOCA] flag bit

Reset type: SYSRSn

1RESERVEDR-00hReserved
0INTR-0/W1S0hePWM Interrupt (EPWMx_INT) Flag Clear Bit

0: Writing a 0 has no effect. Always reads back a 0
1: Clears the ETFLG[INT] flag bit and enable further interrupts pulses to be generated

Reset type: SYSRSn

30.20.2.62 ETFRC Register (Offset = 158h) [Reset = 0000h]

ETFRC is shown in Figure 30-183 and described in Table 30-88.

Return to the Summary Table.

Event Trigger Force Register

Figure 30-183 ETFRC Register
15141312111098
RESERVED
R-0-0h
76543210
RESERVEDSOCBSOCARESERVEDINT
R-0-0hR-0/W1S-0hR-0/W1S-0hR-0-0hR-0/W1S-0h
Table 30-88 ETFRC Register Field Descriptions
BitFieldTypeResetDescription
15-4RESERVEDR-00hReserved
3SOCBR-0/W1S0hSOCB Force Bit

The SOCB pulse will only be generated if the event is enabled in the ETSEL register. The ETFLG[SOCB] flag bit will be set regardless.

0: Writing 0 to this bit will be ignored. Always reads back a 0.
1: Generates a pulse on EPWMxSOCB and set the SOCBFLG bit. This bit is used for test purposes.

Reset type: SYSRSn

2SOCAR-0/W1S0hSOCA Force Bit

The SOCA pulse will only be generated if the event is enabled in the ETSEL register. The ETFLG[SOCA] flag bit will be set regardless.

0: Writing 0 to this bit will be ignored. Always reads back a 0.
1: Generates a pulse on EPWMxSOCA and set the SOCAFLG bit. This bit is used for test purposes.

Reset type: SYSRSn

1RESERVEDR-00hReserved
0INTR-0/W1S0hINT Force Bit

The interrupt will only be generated if the event is enabled in the ETSEL register. The INT flag bit will be set regardless.

0: Writing 0 to this bit will be ignored. Always reads back a 0.
1: Generates an interrupt on EPWMxINT and set the INT flag bit. This bit is used for test purposes.

Reset type: SYSRSn

30.20.2.63 ETINTPS Register (Offset = 15Ch) [Reset = 0000h]

ETINTPS is shown in Figure 30-184 and described in Table 30-89.

Return to the Summary Table.

Event-Trigger Interrupt Pre-Scale Register

Figure 30-184 ETINTPS Register
15141312111098
RESERVED
R-0-0h
76543210
INTCNT2INTPRD2
R-0hR/W-0h
Table 30-89 ETINTPS Register Field Descriptions
BitFieldTypeResetDescription
15-8RESERVEDR-00hReserved
7-4INTCNT2R0hEPWMxINT Counter 2

When ETPS[INTPSSEL]=1, these bits indicate how many selected events have occurred:

0000: No events
0001: 1 event
0010: 2 events
0011: 3 events
0100: 4 events
...
1111: 15 events

Reset type: SYSRSn

3-0INTPRD2R/W0hEPWMxINT Period 2 Select

When ETPS[INTPSSEL] = 1, these bits select how many selected events need to occur before an interrupt is generated:

0000: Disable counter
0001: Generate interrupt on INTCNT = 1 (first event)
0010: Generate interrupt on INTCNT = 2 (second event)
0011: Generate interrupt on INTCNT = 3 (third event)
0100: Generate interrupt on INTCNT = 4 (fourth event)
...
1111: Generate interrupt on INTCNT = 15 (fifteenth event)

Reset type: SYSRSn

30.20.2.64 ETSOCPS Register (Offset = 160h) [Reset = 0000h]

ETSOCPS is shown in Figure 30-185 and described in Table 30-90.

Return to the Summary Table.

Event-Trigger SOC Pre-Scale Register

Figure 30-185 ETSOCPS Register
15141312111098
SOCBCNT2SOCBPRD2
R-0hR/W-0h
76543210
SOCACNT2SOCAPRD2
R-0hR/W-0h
Table 30-90 ETSOCPS Register Field Descriptions
BitFieldTypeResetDescription
15-12SOCBCNT2R0hEPWMxSOCB Counter 2

When ETPS[SOCPSSEL] = 1, these bits indicate how many selected events have occurred:

0000: No events
0001: 1 event
0010: 2 events
0011: 3 events
0100: 4 events
...
1111: 15 events

Reset type: SYSRSn

11-8SOCBPRD2R/W0hEPWMxSOCB Period 2 Select

When ETPS[SOCPSSEL] = 1, these bits select how many selected event need to occur before an SOCB pulse is generated:

0000: Disable counter
0001: Generate SOC pulse on SOCBCNT2 = 1 (first event)
0010: Generate SOC pulse on SOCBCNT2 = 2 (second event)
0011: Generate SOC pulse on SOCBCNT2 = 3 (third event)
0100: Generate SOC pulse on SOCBCNT2 = 4 (fourth event)
...
1111: Generate SOC pulse on SOCBCNT2 = 15 (fifteenth event)

Reset type: SYSRSn

7-4SOCACNT2R0hEPWMxSOCA Counter 2

When ETPS[SOCPSSEL] = 1, these bits indicate how many selected events have occurred:

0000: No events
0001: 1 event
0010: 2 events
0011: 3 events
0100: 4 events
...
1111: 15 events

Reset type: SYSRSn

3-0SOCAPRD2R/W0hEPWMxSOCA Period 2 Select

When ETPS[SOCPSSEL] = 1, these bits select how many selected event need to occur before an SOCA pulse is generated:

0000: Disable counter
0001: Generate SOC pulse on SOCACNT2 = 1 (first event)
0010: Generate SOC pulse on SOCACNT2 = 2 (second event)
0011: Generate SOC pulse on SOCACNT2 = 3 (third event)
0100: Generate SOC pulse on SOCACNT2 = 4 (fourth event)
...
1111: Generate SOC pulse on SOCACNT2 = 15 (fifteenth event)

Reset type: SYSRSn

30.20.2.65 ETCNTINITCTL Register (Offset = 164h) [Reset = 0000h]

ETCNTINITCTL is shown in Figure 30-186 and described in Table 30-91.

Return to the Summary Table.

Event-Trigger Counter Initialization Control Register

Figure 30-186 ETCNTINITCTL Register
15141312111098
SOCBINITENSOCAINITENINTINITENSOCBINITFRCSOCAINITFRCINTINITFRCRESERVED
R/W-0hR/W-0hR/W-0hR-0/W1S-0hR-0/W1S-0hR-0/W1S-0hR-0-0h
76543210
RESERVED
R-0-0h
Table 30-91 ETCNTINITCTL Register Field Descriptions
BitFieldTypeResetDescription
15SOCBINITENR/W0hEPWMxSOCB Counter 2 Initialization Enable

0: Has no effect.
1: Enable initialization of EPWMxSOCB counter with contents of ETCNTINIT[SOCBINIT] on a SYNC event or software force.

Reset type: SYSRSn

14SOCAINITENR/W0hEPWMxSOCA Counter 2 Initialization Enable

0: Has no effect.
1: Enable initialization of EPWMxSOCA counter with contents of ETCNTINIT[SOCAINIT] on a SYNC event or software force.

Reset type: SYSRSn

13INTINITENR/W0hEPWMxINT Counter 2 Initialization Enable

0: Has no effect.
1: Enable initialization of EPWMxINT counter 2 with contents of ETCNTINIT[INTINIT] on a SYNC event or software force.

Reset type: SYSRSn

12SOCBINITFRCR-0/W1S0hEPWMxSOCB Counter 2 Initialization Force

0: Has no effect.
1: This bit forces the ET EPWMxSOCB counter to be initialized with the contents of ETCNTINIT[SOCBINIT].

Reset type: SYSRSn

11SOCAINITFRCR-0/W1S0hEPWMxSOCA Counter 2 Initialization Force

0: Has no effect.
1: This bit forces the ET EPWMxSOCA counter to be initialized with the contents of ETCNTINIT[SOCAINIT].

Reset type: SYSRSn

10INTINITFRCR-0/W1S0hEPWMxINT Counter 2 Initialization Force

0: Has no effect.
1: This bit forces the ET EPWMxINT counter to be initialized with the contents of ETCNTINIT[INTINIT].

Reset type: SYSRSn

9-0RESERVEDR-00hReserved

30.20.2.66 ETCNTINIT Register (Offset = 168h) [Reset = 0000h]

ETCNTINIT is shown in Figure 30-187 and described in Table 30-92.

Return to the Summary Table.

Event-Trigger Counter Initialization Register

Figure 30-187 ETCNTINIT Register
15141312111098
RESERVEDSOCBINIT
R-0hR/W-0h
76543210
SOCAINITINTINIT
R/W-0hR/W-0h
Table 30-92 ETCNTINIT Register Field Descriptions
BitFieldTypeResetDescription
15-12RESERVEDR0hReserved
11-8SOCBINITR/W0hEPWMxSOCB Counter 2 Initialization Bits

The ET EPWMxSOCB counter is initialized with the contents of this register on an ePWM SYNC event or a software force.

Reset type: SYSRSn

7-4SOCAINITR/W0hEPWMxSOCA Counter 2 Initialization Bits

The ET EPWMxSOCA counter is initialized with the contents of this register on an ePWM SYNC event or a software force.

Reset type: SYSRSn

3-0INTINITR/W0hEPWMxINT Counter 2 Initialization Bits

The ET EPWMxINT counter is initialized with the contents of this register on an ePWM SYNC event or a software force.

Reset type: SYSRSn

30.20.2.67 ETINTMIXEN Register (Offset = 16Ch) [Reset = 0003h]

ETINTMIXEN is shown in Figure 30-188 and described in Table 30-93.

Return to the Summary Table.

Event-Trigger Mixed INT Selection

Figure 30-188 ETINTMIXEN Register
15141312111098
RESERVEDDCAEVT1CDDCDU
R-0-0hR/W-0hR/W-0hR/W-0h
76543210
CCDCCUCBDCBUCADCAUPRDZRO
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-1hR/W-1h
Table 30-93 ETINTMIXEN Register Field Descriptions
BitFieldTypeResetDescription
15-11RESERVEDR-00hReserved
10DCAEVT1R/W0hEnable DCAEVT1.inter to the mixed ET interrupt trigger signal (ETINTMIX).

0: DCAEVT1.soc event is not enabled
1: Enable DCAEVT1.soc event

Reset type: SYSRSn

9CDDR/W0hEnable event time-base counter equal to CMPD when the timer is decrementing to the mixed ET interrupt trigger signal (ETINTMIX).

0: CMPD down-count match enable event is not enabled
1: Enable CMPD down-count match enable event

Reset type: SYSRSn

8CDUR/W0hEnable event time-base counter equal to CMPD when the timer is incrementing to the mixed ET interrupt trigger signal (ETINTMIX).

0: CMPD up-count match enable event is not enabled
1: Enable CMPD up-count match enable event

Reset type: SYSRSn

7CCDR/W0hEnable event time-base counter equal to CMPC when the timer is decrementing to the mixed ET interrupt trigger signal (ETINTMIX).

0: CMPC down-count match enable event is not enabled
1: Enable CMPC down-count match enable event

Reset type: SYSRSn

6CCUR/W0hEnable event time-base counter equal to CMPC when the timer is incrementing to the mixed ET interrupt trigger signal (ETINTMIX).

0: CMPC up-count match enable event is not enabled
1: Enable CMPC up-count match enable event

Reset type: SYSRSn

5CBDR/W0hEnable event time-base counter equal to CMPB when the timer is decrementing to the mixed ET interrupt trigger signal (ETINTMIX).

0: CMPB down-count match enable event is not enabled
1: Enable CMPB down-count match enable event

Reset type: SYSRSn

4CBUR/W0hEnable event time-base counter equal to CMPB when the timer is incrementing to the mixed ET interrupt trigger signal (ETINTMIX).

0: CMPB up-count match enable event is not enabled
1: Enable CMPB up-count match enable event

Reset type: SYSRSn

3CADR/W0hEnable event time-base counter equal to CMPA when the timer is decrementing to the mixed ET interrupt trigger signal (ETINTMIX).

0: CMPA down-count match enable event is not enabled
1: Enable CMPA down-count match enable event

Reset type: SYSRSn

2CAUR/W0hEnable event time-base counter equal to CMPA when the timer is incrementing to the mixed ET interrupt trigger signal (ETINTMIX).

0: CMPA up-count match enable event is not enabled
1: Enable CMPA up-count match enable event

Reset type: SYSRSn

1PRDR/W1hEnable event time-base counter equal to period (TBCTR = TBPRD) to the mixed ET interrupt trigger signal (ETINTMIX).

0: Period match event is not enabled
1: Enable period match event

Reset type: SYSRSn

0ZROR/W1hEnable event time-base counter equal to zero (TBCTR = 0x00) to the mixed ET interrupt trigger signal (ETINTMIX).

0: Zero match event is not enabled
1: Enable zero match event

Reset type: SYSRSn

30.20.2.68 ETSOCAMIXEN Register (Offset = 170h) [Reset = 0003h]

ETSOCAMIXEN is shown in Figure 30-189 and described in Table 30-94.

Return to the Summary Table.

Event-Trigger Mixed SOCA Selection

Figure 30-189 ETSOCAMIXEN Register
15141312111098
RESERVEDDCAEVT1CDDCDU
R-0-0hR/W-0hR/W-0hR/W-0h
76543210
CCDCCUCBDCBUCADCAUPRDZRO
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-1hR/W-1h
Table 30-94 ETSOCAMIXEN Register Field Descriptions
BitFieldTypeResetDescription
15-11RESERVEDR-00hReserved
10DCAEVT1R/W0hEnable DCAEVT1.inter to the mixed ET SOCA trigger signal (ETSOCAMIX).

0: DCAEVT1.soc event is not enabled
1: Enable DCAEVT1.soc event

Reset type: SYSRSn

9CDDR/W0hEnable event time-base counter equal to CMPD when the timer is decrementing to the mixed ET SOCA trigger signal (ETSOCAMIX).

0: CMPD down-count match enable event is not enabled
1: Enable CMPD down-count match enable event

Reset type: SYSRSn

8CDUR/W0hEnable event time-base counter equal to CMPD when the timer is incrementing to the mixed ET SOCA trigger signal (ETSOCAMIX).

0: CMPD up-count match enable event is not enabled
1: Enable CMPD up-count match enable event

Reset type: SYSRSn

7CCDR/W0hEnable event time-base counter equal to CMPC when the timer is decrementing to the mixed ET SOCA trigger signal (ETSOCAMIX).

0: CMPC down-count match enable event is not enabled
1: Enable CMPC down-count match enable event

Reset type: SYSRSn

6CCUR/W0hEnable event time-base counter equal to CMPC when the timer is incrementing to the mixed ET SOCA trigger signal (ETSOCAMIX).

0: CMPC up-count match enable event is not enabled
1: Enable CMPC up-count match enable event

Reset type: SYSRSn

5CBDR/W0hEnable event time-base counter equal to CMPB when the timer is decrementing to the mixed ET SOCA trigger signal (ETSOCAMIX).

0: CMPB down-count match enable event is not enabled
1: Enable CMPB down-count match enable event

Reset type: SYSRSn

4CBUR/W0hEnable event time-base counter equal to CMPB when the timer is incrementing to the mixed ET SOCA trigger signal (ETSOCAMIX).

0: CMPB up-count match enable event is not enabled
1: Enable CMPB up-count match enable event

Reset type: SYSRSn

3CADR/W0hEnable event time-base counter equal to CMPA when the timer is decrementing to the mixed ET SOCA trigger signal (ETSOCAMIX).

0: CMPA down-count match enable event is not enabled
1: Enable CMPA down-count match enable event

Reset type: SYSRSn

2CAUR/W0hEnable event time-base counter equal to CMPA when the timer is incrementing to the mixed ET SOCA trigger signal (ETSOCAMIX).

0: CMPA up-count match enable event is not enabled
1: Enable CMPA up-count match enable event

Reset type: SYSRSn

1PRDR/W1hEnable event time-base counter equal to period (TBCTR = TBPRD) to the mixed ET SOCA trigger signal (ETSOCAMIX).

0: Period match event is not enabled
1: Enable period match event

Reset type: SYSRSn

0ZROR/W1hEnable event time-base counter equal to zero (TBCTR = 0x00) to the mixed ET SOCA trigger signal (ETSOCAMIX).

0: Zero match event is not enabled
1: Enable zero match event

Reset type: SYSRSn

30.20.2.69 ETSOCBMIXEN Register (Offset = 174h) [Reset = 0003h]

ETSOCBMIXEN is shown in Figure 30-190 and described in Table 30-95.

Return to the Summary Table.

Event-Trigger Mixed SOCB Selection

Figure 30-190 ETSOCBMIXEN Register
15141312111098
RESERVEDDCBEVT1CDDCDU
R-0-0hR/W-0hR/W-0hR/W-0h
76543210
CCDCCUCBDCBUCADCAUPRDZRO
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-1hR/W-1h
Table 30-95 ETSOCBMIXEN Register Field Descriptions
BitFieldTypeResetDescription
15-11RESERVEDR-00hReserved
10DCBEVT1R/W0hEnable DCBEVT1.inter to the mixed ET SOCB trigger signal (ETSOCBMIX).

0: DCBEVT1.soc event is not enabled
1: Enable DCBEVT1.soc event

Reset type: SYSRSn

9CDDR/W0hEnable event time-base counter equal to CMPD when the timer is decrementing to the mixed ET SOCB trigger signal (ETSOCBMIX).

0: CMPD down-count match enable event is not enabled
1: Enable CMPD down-count match enable event

Reset type: SYSRSn

8CDUR/W0hEnable event time-base counter equal to CMPD when the timer is incrementing to the mixed ET SOCB trigger signal (ETSOCBMIX).

0: CMPD up-count match enable event is not enabled
1: Enable CMPD up-count match enable event

Reset type: SYSRSn

7CCDR/W0hEnable event time-base counter equal to CMPC when the timer is decrementing to the mixed ET SOCB trigger signal (ETSOCBMIX).

0: CMPC down-count match enable event is not enabled
1: Enable CMPC down-count match enable event

Reset type: SYSRSn

6CCUR/W0hEnable event time-base counter equal to CMPC when the timer is incrementing to the mixed ET SOCB trigger signal (ETSOCBMIX).

0: CMPC up-count match enable event is not enabled
1: Enable CMPC up-count match enable event

Reset type: SYSRSn

5CBDR/W0hEnable event time-base counter equal to CMPB when the timer is decrementing to the mixed ET SOCB trigger signal (ETSOCBMIX).

0: CMPB down-count match enable event is not enabled
1: Enable CMPB down-count match enable event

Reset type: SYSRSn

4CBUR/W0hEnable event time-base counter equal to CMPB when the timer is incrementing to the mixed ET SOCB trigger signal (ETSOCBMIX).

0: CMPB up-count match enable event is not enabled
1: Enable CMPB up-count match enable event

Reset type: SYSRSn

3CADR/W0hEnable event time-base counter equal to CMPA when the timer is decrementing to the mixed ET SOCB trigger signal (ETSOCBMIX).

0: CMPA down-count match enable event is not enabled
1: Enable CMPA down-count match enable event

Reset type: SYSRSn

2CAUR/W0hEnable event time-base counter equal to CMPA when the timer is incrementing to the mixed ET SOCB trigger signal (ETSOCBMIX).

0: CMPA up-count match enable event is not enabled
1: Enable CMPA up-count match enable event

Reset type: SYSRSn

1PRDR/W1hEnable event time-base counter equal to period (TBCTR = TBPRD) to the mixed ET SOCB trigger signal (ETSOCBMIX).

0: Period match event is not enabled
1: Enable period match event

Reset type: SYSRSn

0ZROR/W1hEnable event time-base counter equal to zero (TBCTR = 0x00) to the mixed ET SOCB trigger signal (ETSOCBMIX).

0: Zero match event is not enabled
1: Enable zero match event

Reset type: SYSRSn

30.20.2.70 DCTRIPSEL Register (Offset = 180h) [Reset = 0000h]

DCTRIPSEL is shown in Figure 30-191 and described in Table 30-96.

Return to the Summary Table.

Digital Compare Trip Select Register

Figure 30-191 DCTRIPSEL Register
15141312111098
DCBLCOMPSELDCBHCOMPSEL
R/W-0hR/W-0h
76543210
DCALCOMPSELDCAHCOMPSEL
R/W-0hR/W-0h
Table 30-96 DCTRIPSEL Register Field Descriptions
BitFieldTypeResetDescription
15-12DCBLCOMPSELR/W0hDigital Compare B Low Input Select Bits

0000: TRIPIN1
0001: TRIPIN2
0010: TRIPIN3
0011: TRIPIN4
...
1011: TRIPIN12
1100: Reserved
1101: TRIPIN14
1110: TRIPIN15
1111: Trip combination input (all trip inputs selected by DCBLTRIPSEL register ORed together)

Reset type: SYSRSn

11-8DCBHCOMPSELR/W0hDigital Compare B High Input Select Bits

0000: TRIPIN1
0001: TRIPIN2
0010: TRIPIN3
0011: TRIPIN4
...
1011: TRIPIN12
1100: Reserved
1101: TRIPIN14
1110: TRIPIN15
1111: Trip combination input (all trip inputs selected by DCBHTRIPSEL register ORed together)

Reset type: SYSRSn

7-4DCALCOMPSELR/W0hDigital Compare A Low Input Select Bits

0000: TRIPIN1
0001: TRIPIN2
0010: TRIPIN3
0011: TRIPIN4
...
1011: TRIPIN12
1100: Reserved
1101: TRIPIN14
1110: TRIPIN15
1111: Trip combination input (all trip inputs selected by DCALTRIPSEL register ORed together)

Reset type: SYSRSn

3-0DCAHCOMPSELR/W0hDigital Compare A High Input Select Bits

0000: TRIPIN1
0001: TRIPIN2
0010: TRIPIN3
0011: TRIPIN4
...
1011: TRIPIN12
1100: Reserved
1101: TRIPIN14
1110: TRIPIN15
1111: Trip combination input (all trip inputs selected by DCAHTRIPSEL register ORed together)

Reset type: SYSRSn

30.20.2.71 DCACTL Register (Offset = 186h) [Reset = 0000h]

DCACTL is shown in Figure 30-192 and described in Table 30-97.

Return to the Summary Table.

Digital Compare A Control Register

Figure 30-192 DCACTL Register
15141312111098
EVT2LATEVT2LATCLRSELEVT2LATSELRESERVEDEVT2FRCSYNCSELEVT2SRCSEL
R-0hR/W-0hR/W-0hR-0-0hR/W-0hR/W-0h
76543210
EVT1LATEVT1LATCLRSELEVT1LATSELEVT1SYNCEEVT1SOCEEVT1FRCSYNCSELEVT1SRCSEL
R-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-97 DCACTL Register Field Descriptions
BitFieldTypeResetDescription
15EVT2LATR0hIndicates the status of DCAEVT2LAT signal.
0 : The DCAEVT2LAT latch is cleared.
1 : The DCAEVT2LAT latch is set.

Reset type: SYSRSn

14-13EVT2LATCLRSELR/W0hDCAEVT2 Latched clear source select:
00: CNT_ZERO event clears DCAEVT2 latch.
01: PRD_EQ event clears DCAEVT2 latch.
10: CNT_ZERO event or PRD_EQ event clears DCAEVT2 latch.
11: Reserved.

Reset type: SYSRSn

12EVT2LATSELR/W0hDCAEVT2 Latched signal select:
0: Does not select the DCAEVT2 latched signal as source of DCAEVT2.force.
1: Selects the DCAEVT2 latched signal as source of DCAEVT2.force.

Reset type: SYSRSn

11-10RESERVEDR-00hReserved
9EVT2FRCSYNCSELR/W0hDCAEVT2 Force Synchronization Signal Select

0: Source is synchronized with EPWMCLK
1: Source is passed through asynchronously

Reset type: SYSRSn

8EVT2SRCSELR/W0hDCAEVT2 Source Signal Select

0: Source Is DCAEVT2 Signal
1: Source Is DCEVTFILT Signal

Reset type: SYSRSn

7EVT1LATR0hIndicates the status of DCAEVT1LAT signal.
0 : The DCAEVT1LAT latch is cleared.
1 : The DCAEVT1LAT latch is set.

Reset type: SYSRSn

6-5EVT1LATCLRSELR/W0hDCAEVT1 Latched clear source select:
00: CNT_ZERO event clears DCAEVT1 latch.
01: PRD_EQ event clears DCAEVT1 latch.
10: CNT_ZERO event or PRD_EQ event clears DCAEVT1 latch.
11 : Reserved.

Reset type: SYSRSn

4EVT1LATSELR/W0hDCAEVT1 Latched signal select:
0: Does not select the DCAEVT1 latched signal as source of DCAEVT1.force.
1: Selects the DCAEVT1 latched signal as source of DCAEVT1.force.

Reset type: SYSRSn

3EVT1SYNCER/W0hDCAEVT1 SYNC, Enable/Disable

0: SYNC Generation Disabled
1: SYNC Generation Enabled

Reset type: SYSRSn

2EVT1SOCER/W0hDCAEVT1 SOC, Enable/Disable

0: SOC Generation Disabled
1: SOC Generation Enabled

Reset type: SYSRSn

1EVT1FRCSYNCSELR/W0hDCAEVT1 Force Synchronization Signal Select

0: Source is synchronized with EPWMCLK
1: Source is passed through asynchronously

Reset type: SYSRSn

0EVT1SRCSELR/W0hDCAEVT1 Source Signal Select

0: Source Is DCAEVT1 Signal
1: Source Is DCEVTFILT Signal

Reset type: SYSRSn

30.20.2.72 DCBCTL Register (Offset = 188h) [Reset = 0000h]

DCBCTL is shown in Figure 30-193 and described in Table 30-98.

Return to the Summary Table.

Digital Compare B Control Register

Figure 30-193 DCBCTL Register
15141312111098
EVT2LATEVT2LATCLRSELEVT2LATSELRESERVEDEVT2FRCSYNCSELEVT2SRCSEL
R-0hR/W-0hR/W-0hR-0-0hR/W-0hR/W-0h
76543210
EVT1LATEVT1LATCLRSELEVT1LATSELEVT1SYNCEEVT1SOCEEVT1FRCSYNCSELEVT1SRCSEL
R-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-98 DCBCTL Register Field Descriptions
BitFieldTypeResetDescription
15EVT2LATR0hIndicates the status of DCBEVT2LAT signal.
0 The DCBEVT2LAT latch is cleared.
1 The DCBEVT2LAT latch is set.

Reset type: SYSRSn

14-13EVT2LATCLRSELR/W0hDCBEVT2 Latched clear source select:
00 CNT_ZERO event clears DCBEVT2 latch.
01 PRD_EQ event clears DCBEVT2 latch.
10 CNT_ZERO event or PRD_EQ event clears DCBEVT2 latch.
11 Reserved.

Reset type: SYSRSn

12EVT2LATSELR/W0hDCBEVT2 Latched signal select:
0 Does not select the DCBEVT2 latched signal (Refer figure 'Modifications to DCBEVT1.force/DCBEVT2.force generation.') as source of DCBEVT2.force.
1 Selects the DCBEVT2 latched signal as source of DCBEVT2.force.

Reset type: SYSRSn

11-10RESERVEDR-00hReserved
9EVT2FRCSYNCSELR/W0hDCBEVT2 Force Synchronization Signal Select

0: Source is synchronized with EPWMCLK
1: Source is passed through asynchronously

Reset type: SYSRSn

8EVT2SRCSELR/W0hDCBEVT2 Source Signal Select

0: Source Is DCBEVT2 Signal
1: Source Is DCEVTFILT Signal

Reset type: SYSRSn

7EVT1LATR0hIndicates the status of DCBEVT1LAT signal.
0 The DCBEVT1LAT latch is cleared.
1 The DCBEVT1LAT latch is set.

Reset type: SYSRSn

6-5EVT1LATCLRSELR/W0hDCBEVT1 Latched clear source select:
00 CNT_ZERO event clears DCBEVT1 latch.
01 PRD_EQ event clears DCBEVT1 latch.
10 CNT_ZERO event or PRD_EQ event clears DCBEVT1 latch.
11 Reserved.

Reset type: SYSRSn

4EVT1LATSELR/W0hDCBEVT1 Latched signal select:
0 Does not select the DCBEVT1 latched signal (Refer figure 'Modifications to DCBEVT1.force/DCBEVT2.force generation.') as source of DCBEVT1.force.
1 Selects the DCBEVT1 latched signal as source of DCBEVT1.force.

Reset type: SYSRSn

3EVT1SYNCER/W0hDCBEVT1 SYNC, Enable/Disable

0: SYNC Generation Disabled
1: SYNC Generation Enabled

Reset type: SYSRSn

2EVT1SOCER/W0hDCBEVT1 SOC, Enable/Disable

0: SOC Generation Disabled
1: SOC Generation Enabled

Reset type: SYSRSn

1EVT1FRCSYNCSELR/W0hDCBEVT1 Force Synchronization Signal Select

0: Source is synchronized with EPWMCLK
1: Source is passed through asynchronously

Reset type: SYSRSn

0EVT1SRCSELR/W0hDCBEVT1 Source Signal Select

0: Source Is DCBEVT1 Signal
1: Source Is DCEVTFILT Signal

Reset type: SYSRSn

30.20.2.73 DCFCTL Register (Offset = 18Eh) [Reset = 0000h]

DCFCTL is shown in Figure 30-194 and described in Table 30-99.

Return to the Summary Table.

Digital Compare Filter Control Register

Figure 30-194 DCFCTL Register
15141312111098
EDGESTATUSEDGECOUNTEDGEMODE
R-0hR/W-0hR/W-0h
76543210
RESERVEDEDGEFILTSELPULSESELBLANKINVBLANKESRCSEL
R-0-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-99 DCFCTL Register Field Descriptions
BitFieldTypeResetDescription
15-13EDGESTATUSR0hEdge Status:
These bits reflect the total number of edges currently captured. When the value matches the EDGECOUNT, the status bits are set to zero. and a TBCLK wide pulse is generated which can then be output on the DCEVTFILT signal. The edge counter can be reset by writing 000 to the EDGECOUNT value:

Reset type: SYSRSn

12-10EDGECOUNTR/W0hEdge Count: These bits select how many edges to count before generating a TBCLK wide pulse on the DCEVTFILT signal:
000: no edges, reset current EDGESTATUS bits to 0,0,0
001: 1 edge
010: 2 edges
011: 3 edges
100: 4 edges
101: 5 edges
110: 6 edges
111: 7 edges

Reset type: SYSRSn

9-8EDGEMODER/W0hEdge Mode Select:
00: Low To High Edge
01: High To Low Edge
10: Both Edges
11: Reserved

Reset type: SYSRSn

7RESERVEDR-00hReserved
6EDGEFILTSELR/W0hEdge Filter Select:
0: Edge Filter Not Selected
1: Edge Filter Selected

Reset type: SYSRSn

5-4PULSESELR/W0hPulse Select For Blanking & Capture Alignment

00: Time-base counter equal to period (TBCTR = TBPRD)
01: Time-base counter equal to zero (TBCTR = 0x00)
10: Time-base counter equal to zero (TBCTR = 0x00) or period (TBCTR = TBPRD)
11: BLANKPULSEMIX

Reset type: SYSRSn

3BLANKINVR/W0hBlanking Window Inversion

0: Blanking window not inverted
1: Blanking window inverted

Reset type: SYSRSn

2BLANKER/W0hBlanking Window Enable/Disable

0: Blanking window is disabled
1: Blanking window is enabled

Reset type: SYSRSn

1-0SRCSELR/W0hFilter Block Signal Source Select

00: Source Is DCAEVT1 Signal
01: Source Is DCAEVT2 Signal
10: Source Is DCBEVT1 Signal
11: Source Is DCBEVT2 Signal

Reset type: SYSRSn

30.20.2.74 DCCAPCTL Register (Offset = 190h) [Reset = 0000h]

DCCAPCTL is shown in Figure 30-195 and described in Table 30-100.

Return to the Summary Table.

Digital Compare Capture Control Register

Figure 30-195 DCCAPCTL Register
15141312111098
CAPMODECAPCLRCAPSTSRESERVED
R/W-0hR-0/W1S-0hR-0hR-0-0h
76543210
RESERVEDSHDWMODECAPE
R-0-0hR/W-0hR/W-0h
Table 30-100 DCCAPCTL Register Field Descriptions
BitFieldTypeResetDescription
15CAPMODER/W0hCounter Capture Mode

0: When a DCEVTFILT occurs and the counter capture is enabled, then the current TBCNT value is captured in the active register. When the respective trip event occurs, further trip (capture) events are ignored until the next PRD_eq or CNT_zero event (as selected by the PULSESEL bit in the DCFCTL register) re-triggers the capture mechanism.

If active mode is enabled, via SHDWMODE bit in DCCAPCTL register, CPU reads of this register will return the active register value.

If shadow mode is enabled, via SHDWMODE bit in DCCAPCTL register, the active register is copied to the shadow register on the PRD_eq or CNT_zero event (whichever is selected by PULSESEL bit in DCFCTL register). CPU reads of this register will return the shadow register value.

1: When a DCEVTFILT occurs and the counter capture is enabled, then the current TBCNT value is captured in the active register. When the respective trip event occurs - it will set the CAPSTS flag and further trip (capture) events are ignored until this bit is cleared. CAPSTS can be cleared by writing to CAPCLR bit in DCCAPCTL register and it re-triggers the capture mechanism.

If active mode is enabled, via SHDWMODE bit in DCCAPCTL register, CPU reads of this register will return the active register value.

If shadow mode is enabled, via SHDWMODE bit in DCCAPCTL register, the active register is copied to the shadow register on the PRD_eq or CNT_zero event (whichever is selected by PULSESEL bit in DCFCTL register). CPU reads of this register will return the shadow register value.

Reset type: SYSRSn

14CAPCLRR-0/W1S0hDC Capture Latched Status Clear Flag

0: Writing a 0 has no effect.
1: Writing a 1 will clear this CAPSTS (set) condition.

Reset type: SYSRSn

13CAPSTSR0hLatched Status Flag for Capture Event

0: No DC capture event occurred.
1: A DC capture event has occurred.

Reset type: SYSRSn

12-2RESERVEDR-00hReserved
1SHDWMODER/W0hTBCTR Counter Capture Shadow Select Mode

0: Enable shadow mode. The DCCAP active register is copied to shadow register on a TBCTR = TBPRD or TBCTR = zero event as defined by the DCFCTL[PULSESEL] bit. CPU reads of the DCCAP register will return the shadow register contents.
1: Active Mode. In this mode the shadow register is disabled. CPU reads from the DCCAP register will always return the active register contents.

Reset type: SYSRSn

0CAPER/W0hTBCTR Counter Capture Enable/Disable

0: Disable the time-base counter capture.
1: Enable the time-base counter capture.

Reset type: SYSRSn

30.20.2.75 DCFOFFSET Register (Offset = 192h) [Reset = 0000h]

DCFOFFSET is shown in Figure 30-196 and described in Table 30-101.

Return to the Summary Table.

Digital Compare Filter Offset Register

Figure 30-196 DCFOFFSET Register
15141312111098
DCFOFFSET
R/W-0h
76543210
DCFOFFSET
R/W-0h
Table 30-101 DCFOFFSET Register Field Descriptions
BitFieldTypeResetDescription
15-0DCFOFFSETR/W0hBlanking Window Offset

These 16-bits specify the number of TBCLK cycles from the blanking window reference to the point when the blanking window is applied. The blanking window reference is either period or zero as defined by the DCFCTL[PULSESEL] bit. This offset register is shadowed and the active register is loaded at the reference point defined by DCFCTL[PULSESEL]. The offset counter is also initialized and begins to count down when the active register is loaded. When the counter expires, the blanking window is applied. If the blanking window is currently active, then the blanking window counter is restarted.

Reset type: SYSRSn

30.20.2.76 DCFOFFSETCNT Register (Offset = 194h) [Reset = 0000h]

DCFOFFSETCNT is shown in Figure 30-197 and described in Table 30-102.

Return to the Summary Table.

Digital Compare Filter Offset Counter Register

Figure 30-197 DCFOFFSETCNT Register
15141312111098
DCFOFFSETCNT
R-0h
76543210
DCFOFFSETCNT
R-0h
Table 30-102 DCFOFFSETCNT Register Field Descriptions
BitFieldTypeResetDescription
15-0DCFOFFSETCNTR0hBlanking Offset Counter

These 16-bits are read only and indicate the current value of the offset counter. The counter counts down to zero and then stops until it is re-loaded on the next period or zero event as defined by the DCFCTL[PULSESEL] bit. The offset counter is not affected by the free/soft emulation bits. That is, it will always continue to count down if the device is halted by a emulation stop.

Reset type: SYSRSn

30.20.2.77 DCFWINDOW Register (Offset = 196h) [Reset = 0000h]

DCFWINDOW is shown in Figure 30-198 and described in Table 30-103.

Return to the Summary Table.

Digital Compare Filter Window Register

Figure 30-198 DCFWINDOW Register
15141312111098
DCFWINDOW
R/W-0h
76543210
DCFWINDOW
R/W-0h
Table 30-103 DCFWINDOW Register Field Descriptions
BitFieldTypeResetDescription
15-0DCFWINDOWR/W0hBlanking Window Width

00h: No blanking window is generated.
01-FFFFh: Specifies the width of the blanking window in TBCLK cycles. The blanking window begins when the offset counter expires. When this occurs, the window counter is loaded and begins to count down. If the blanking window is currently active and the offset counter expires, the blanking window counter is not restarted and the blanking window is cut short prematurely. Care should be taken to avoid this situation. The blanking window can cross a PWM period boundary.

Reset type: SYSRSn

30.20.2.78 DCFWINDOWCNT Register (Offset = 198h) [Reset = 0000h]

DCFWINDOWCNT is shown in Figure 30-199 and described in Table 30-104.

Return to the Summary Table.

Digital Compare Filter Window Counter Register

Figure 30-199 DCFWINDOWCNT Register
15141312111098
DCFWINDOWCNT
R-0h
76543210
DCFWINDOWCNT
R-0h
Table 30-104 DCFWINDOWCNT Register Field Descriptions
BitFieldTypeResetDescription
15-0DCFWINDOWCNTR0hBlanking Window Counter

These 16 bits are read only and indicate the current value of the window counter. The counter counts down to zero and then stops until it is re-loaded when the offset counter reaches zero again.

Reset type: SYSRSn

30.20.2.79 BLANKPULSEMIXSEL Register (Offset = 19Ah) [Reset = 0000h]

BLANKPULSEMIXSEL is shown in Figure 30-200 and described in Table 30-105.

Return to the Summary Table.

Blanking window trigger pulse select register

Figure 30-200 BLANKPULSEMIXSEL Register
15141312111098
RESERVEDCDDCDU
R-0-0hR/W-0hR/W-0h
76543210
CCDCCUCBDCBUCADCAUPRDZRO
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-105 BLANKPULSEMIXSEL Register Field Descriptions
BitFieldTypeResetDescription
15-10RESERVEDR-00hReserved
9CDDR/W0hEnable event time-base counter equal to CMPD when the timer is decrementing to the blanking window trigger (BLANKPULSEMIX).

0: CMPD down-count match enable event is not enabled
1: Enable CMPD down-count match enable event

Reset type: SYSRSn

8CDUR/W0hEnable event time-base counter equal to CMPD when the timer is incrementing to the blanking window trigger (BLANKPULSEMIX).

0: CMPD up-count match enable event is not enabled
1: Enable CMPD up-count match enable event

Reset type: SYSRSn

7CCDR/W0hEnable event time-base counter equal to CMPC when the timer is decrementing to the blanking window trigger (BLANKPULSEMIX).

0: CMPC down-count match enable event is not enabled
1: Enable CMPC down-count match enable event

Reset type: SYSRSn

6CCUR/W0hEnable event time-base counter equal to CMPC when the timer is incrementing to the blanking window trigger (BLANKPULSEMIX).

0: CMPC up-count match enable event is not enabled
1: Enable CMPC up-count match enable event

Reset type: SYSRSn

5CBDR/W0hEnable event time-base counter equal to CMPB when the timer is decrementing to the blanking window trigger (BLANKPULSEMIX).

0: CMPB down-count match enable event is not enabled
1: Enable CMPB down-count match enable event

Reset type: SYSRSn

4CBUR/W0hEnable event time-base counter equal to CMPB when the timer is incrementing to the mixed ET interrupt trigger signal (BLANKPULSEMIX).

0: CMPB up-count match enable event is not enabled
1: Enable CMPB up-count match enable event

Reset type: SYSRSn

3CADR/W0hEnable event time-base counter equal to CMPA when the timer is decrementing to the blanking window trigger (BLANKPULSEMIX).

0: CMPA down-count match enable event is not enabled
1: Enable CMPA down-count match enable event

Reset type: SYSRSn

2CAUR/W0hEnable event time-base counter equal to CMPA when the timer is incrementing to the blanking window trigger (BLANKPULSEMIX).

0: CMPA up-count match enable event is not enabled
1: Enable CMPA up-count match enable event

Reset type: SYSRSn

1PRDR/W0hEnable event time-base counter equal to period (TBCTR = TBPRD) to the blanking window trigger (BLANKPULSEMIX).

0: Period match event is not enabled
1: Enable period match event

Reset type: SYSRSn

0ZROR/W0hEnable event time-base counter equal to zero (TBCTR = 0x00) to the blanking window trigger (BLANKPULSEMIX).

0: Zero match event is not enabled
1: Enable zero match event

Reset type: SYSRSn

30.20.2.80 DCCAPMIXSEL Register (Offset = 19Ch) [Reset = 0000h]

DCCAPMIXSEL is shown in Figure 30-201 and described in Table 30-106.

Return to the Summary Table.

Capture Event pulse select register

Figure 30-201 DCCAPMIXSEL Register
15141312111098
RESERVEDCDDCDU
R-0-0hR/W-0hR/W-0h
76543210
CCDCCUCBDCBUCADCAUPRDZRO
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-106 DCCAPMIXSEL Register Field Descriptions
BitFieldTypeResetDescription
15-10RESERVEDR-00hReserved
9CDDR/W0hEnable event time-base counter equal to CMPD when the timer is decrementing to the blanking window trigger (DCCAPMIX).

0: CMPD down-count match enable event is not enabled
1: Enable CMPD down-count match enable event

Reset type: SYSRSn

8CDUR/W0hEnable event time-base counter equal to CMPD when the timer is incrementing to the blanking window trigger (DCCAPMIX).

0: CMPD up-count match enable event is not enabled
1: Enable CMPD up-count match enable event

Reset type: SYSRSn

7CCDR/W0hEnable event time-base counter equal to CMPC when the timer is decrementing to the blanking window trigger (DCCAPMIX).

0: CMPC down-count match enable event is not enabled
1: Enable CMPC down-count match enable event

Reset type: SYSRSn

6CCUR/W0hEnable event time-base counter equal to CMPC when the timer is incrementing to the blanking window trigger (DCCAPMIX).

0: CMPC up-count match enable event is not enabled
1: Enable CMPC up-count match enable event

Reset type: SYSRSn

5CBDR/W0hEnable event time-base counter equal to CMPB when the timer is decrementing to the blanking window trigger (DCCAPMIX).

0: CMPB down-count match enable event is not enabled
1: Enable CMPB down-count match enable event

Reset type: SYSRSn

4CBUR/W0hEnable event time-base counter equal to CMPB when the timer is incrementing to the mixed ET interrupt trigger signal (DCCAPMIX).

0: CMPB up-count match enable event is not enabled
1: Enable CMPB up-count match enable event

Reset type: SYSRSn

3CADR/W0hEnable event time-base counter equal to CMPA when the timer is decrementing to the blanking window trigger (DCCAPMIX).

0: CMPA down-count match enable event is not enabled
1: Enable CMPA down-count match enable event

Reset type: SYSRSn

2CAUR/W0hEnable event time-base counter equal to CMPA when the timer is incrementing to the blanking window trigger (DCCAPMIX).

0: CMPA up-count match enable event is not enabled
1: Enable CMPA up-count match enable event

Reset type: SYSRSn

1PRDR/W0hEnable event time-base counter equal to period (TBCTR = TBPRD) to the blanking window trigger (DCCAPMIX).

0: Period match event is not enabled
1: Enable period match event

Reset type: SYSRSn

0ZROR/W0hEnable event time-base counter equal to zero (TBCTR = 0x00) to the blanking window trigger (DCCAPMIX).

0: Zero match event is not enabled
1: Enable zero match event

Reset type: SYSRSn

30.20.2.81 DCCAP Register (Offset = 19Eh) [Reset = 0000h]

DCCAP is shown in Figure 30-202 and described in Table 30-107.

Return to the Summary Table.

Digital Compare Counter Capture Register

Figure 30-202 DCCAP Register
15141312111098
DCCAP
R-0h
76543210
DCCAP
R-0h
Table 30-107 DCCAP Register Field Descriptions
BitFieldTypeResetDescription
15-0DCCAPR0hDigital Compare Time-Base Counter Capture

To enable time-base counter capture, set the DCCAPCLT[CAPE] bit to 1. If enabled, reflects the value of the time-base counter (TBCTR) on the low to high edge transition of a filtered (DCEVTFLT) event. Further capture events are ignored until the next period or zero as selected by the DCFCTL[PULSESEL] bit. Shadowing of DCCAP is enabled and disabled by the DCCAPCTL[SHDWMODE] bit. By default this register is shadowed.
- If DCCAPCTL[SHDWMODE] = 0, then the shadow is enabled. In this mode, the active register is copied to the shadow register on the TBCTR = TBPRD or TBCTR = zero as defined by the DCFCTL[PULSESEL] bit. CPU reads of this register will return the shadow register value.
- If DCCAPCTL[SHDWMODE] = 1, then the shadow register is disabled. In this mode, CPU reads will return the active register value. The active and shadow registers share the same memory map address.

Reset type: SYSRSn

30.20.2.82 DCAHTRIPSEL Register (Offset = 1A4h) [Reset = 0000h]

DCAHTRIPSEL is shown in Figure 30-203 and described in Table 30-108.

Return to the Summary Table.

Digital Compare AH Trip Select

Figure 30-203 DCAHTRIPSEL Register
15141312111098
RESERVEDTRIPINPUT15TRIPINPUT14RESERVEDTRIPINPUT12TRIPINPUT11TRIPINPUT10TRIPINPUT9
R-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
76543210
TRIPINPUT8TRIPINPUT7TRIPINPUT6TRIPINPUT5TRIPINPUT4TRIPINPUT3TRIPINPUT2TRIPINPUT1
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-108 DCAHTRIPSEL Register Field Descriptions
BitFieldTypeResetDescription
15RESERVEDR0hReserved
14TRIPINPUT15R/W0hTRIP Input 15

0: Trip Input 15 not selected as combinational ORed input
1: Trip Input 15 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

13TRIPINPUT14R/W0hTRIP Input 14

0: Trip Input 14 not selected as combinational ORed input
1: Trip Input 14 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

12RESERVEDR/W0hReserved
11TRIPINPUT12R/W0hTRIP Input 12

0: Trip Input 12 not selected as combinational ORed input
1: Trip Input 12 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

10TRIPINPUT11R/W0hTRIP Input 11

0: Trip Input 11 not selected as combinational ORed input
1: Trip Input 11 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

9TRIPINPUT10R/W0hTRIP Input 10

0: Trip Input 10 not selected as combinational ORed input
1: Trip Input 10 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

8TRIPINPUT9R/W0hTRIP Input 9

0: Trip Input 9 not selected as combinational ORed input
1: Trip Input 9 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

7TRIPINPUT8R/W0hTRIP Input 8

0: Trip Input 8 not selected as combinational ORed input
1: Trip Input 8 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

6TRIPINPUT7R/W0hTRIP Input 7

0: Trip Input 7 not selected as combinational ORed input
1: Trip Input 7 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

5TRIPINPUT6R/W0hTRIP Input 6

0: Trip Input 6 not selected as combinational ORed input
1: Trip Input 6 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

4TRIPINPUT5R/W0hTRIP Input 5

0: Trip Input 5 not selected as combinational ORed input
1: Trip Input 5 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

3TRIPINPUT4R/W0hTRIP Input 4

0: Trip Input 4 not selected as combinational ORed input
1: Trip Input 4 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

2TRIPINPUT3R/W0hTRIP Input 3

0: Trip Input 3 not selected as combinational ORed input
1: Trip Input 3 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

1TRIPINPUT2R/W0hTRIP Input 2

0: Trip Input 2 not selected as combinational ORed input
1: Trip Input 2 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

0TRIPINPUT1R/W0hTRIP Input 1

0: Trip Input 1 not selected as combinational ORed input
1: Trip Input 1 selected as combinational ORed input to DCAH mux

Reset type: SYSRSn

30.20.2.83 DCALTRIPSEL Register (Offset = 1A6h) [Reset = 0000h]

DCALTRIPSEL is shown in Figure 30-204 and described in Table 30-109.

Return to the Summary Table.

Digital Compare AL Trip Select

Figure 30-204 DCALTRIPSEL Register
15141312111098
RESERVEDTRIPINPUT15TRIPINPUT14RESERVEDTRIPINPUT12TRIPINPUT11TRIPINPUT10TRIPINPUT9
R-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
76543210
TRIPINPUT8TRIPINPUT7TRIPINPUT6TRIPINPUT5TRIPINPUT4TRIPINPUT3TRIPINPUT2TRIPINPUT1
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-109 DCALTRIPSEL Register Field Descriptions
BitFieldTypeResetDescription
15RESERVEDR0hReserved
14TRIPINPUT15R/W0hTRIP Input 15

0: Trip Input 15 not selected as combinational ORed input
1: Trip Input 15 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

13TRIPINPUT14R/W0hTRIP Input 14

0: Trip Input 14 not selected as combinational ORed input
1: Trip Input 14 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

12RESERVEDR/W0hReserved
11TRIPINPUT12R/W0hTRIP Input 12

0: Trip Input 12 not selected as combinational ORed input
1: Trip Input 12 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

10TRIPINPUT11R/W0hTRIP Input 11

0: Trip Input 11 not selected as combinational ORed input
1: Trip Input 11 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

9TRIPINPUT10R/W0hTRIP Input 10

0: Trip Input 10 not selected as combinational ORed input
1: Trip Input 10 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

8TRIPINPUT9R/W0hTRIP Input 9

0: Trip Input 9 not selected as combinational ORed input
1: Trip Input 9 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

7TRIPINPUT8R/W0hTRIP Input 8

0: Trip Input 8 not selected as combinational ORed input
1: Trip Input 8 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

6TRIPINPUT7R/W0hTRIP Input 7

0: Trip Input 7 not selected as combinational ORed input
1: Trip Input 7 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

5TRIPINPUT6R/W0hTRIP Input 6

0: Trip Input 6 not selected as combinational ORed input
1: Trip Input 6 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

4TRIPINPUT5R/W0hTRIP Input 5

0: Trip Input 5 not selected as combinational ORed input
1: Trip Input 5 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

3TRIPINPUT4R/W0hTRIP Input 4

0: Trip Input 4 not selected as combinational ORed input
1: Trip Input 4 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

2TRIPINPUT3R/W0hTRIP Input 3

0: Trip Input 3 not selected as combinational ORed input
1: Trip Input 3 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

1TRIPINPUT2R/W0hTRIP Input 2

0: Trip Input 2 not selected as combinational ORed input
1: Trip Input 2 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

0TRIPINPUT1R/W0hTRIP Input 1

0: Trip Input 1 not selected as combinational ORed input
1: Trip Input 1 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

30.20.2.84 DCBHTRIPSEL Register (Offset = 1A8h) [Reset = 0000h]

DCBHTRIPSEL is shown in Figure 30-205 and described in Table 30-110.

Return to the Summary Table.

Digital Compare BH Trip Select

Figure 30-205 DCBHTRIPSEL Register
15141312111098
RESERVEDTRIPINPUT15TRIPINPUT14RESERVEDTRIPINPUT12TRIPINPUT11TRIPINPUT10TRIPINPUT9
R-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
76543210
TRIPINPUT8TRIPINPUT7TRIPINPUT6TRIPINPUT5TRIPINPUT4TRIPINPUT3TRIPINPUT2TRIPINPUT1
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-110 DCBHTRIPSEL Register Field Descriptions
BitFieldTypeResetDescription
15RESERVEDR0hReserved
14TRIPINPUT15R/W0hTRIP Input 15

0: Trip Input 15 not selected as combinational ORed input
1: Trip Input 15 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

13TRIPINPUT14R/W0hTRIP Input 14

0: Trip Input 14 not selected as combinational ORed input
1: Trip Input 14 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

12RESERVEDR/W0hReserved
11TRIPINPUT12R/W0hTRIP Input 12

0: Trip Input 12 not selected as combinational ORed input
1: Trip Input 12 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

10TRIPINPUT11R/W0hTRIP Input 11

0: Trip Input 11 not selected as combinational ORed input
1: Trip Input 11 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

9TRIPINPUT10R/W0hTRIP Input 10

0: Trip Input 10 not selected as combinational ORed input
1: Trip Input 10 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

8TRIPINPUT9R/W0hTRIP Input 9

0: Trip Input 9 not selected as combinational ORed input
1: Trip Input 9 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

7TRIPINPUT8R/W0hTRIP Input 8

0: Trip Input 8 not selected as combinational ORed input
1: Trip Input 8 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

6TRIPINPUT7R/W0hTRIP Input 7

0: Trip Input 7 not selected as combinational ORed input
1: Trip Input 7 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

5TRIPINPUT6R/W0hTRIP Input 6

0: Trip Input 6 not selected as combinational ORed input
1: Trip Input 6 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

4TRIPINPUT5R/W0hTRIP Input 5

0: Trip Input 5 not selected as combinational ORed input
1: Trip Input 5 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

3TRIPINPUT4R/W0hTRIP Input 4

0: Trip Input 4 not selected as combinational ORed input
1: Trip Input 4 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

2TRIPINPUT3R/W0hTRIP Input 3

0: Trip Input 3 not selected as combinational ORed input
1: Trip Input 3 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

1TRIPINPUT2R/W0hTRIP Input 2

0: Trip Input 2 not selected as combinational ORed input
1: Trip Input 2 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

0TRIPINPUT1R/W0hTRIP Input 1

0: Trip Input 1 not selected as combinational ORed input
1: Trip Input 1 selected as combinational ORed input to DCBH mux

Reset type: SYSRSn

30.20.2.85 DCBLTRIPSEL Register (Offset = 1AAh) [Reset = 0000h]

DCBLTRIPSEL is shown in Figure 30-206 and described in Table 30-111.

Return to the Summary Table.

Digital Compare BL Trip Select

Figure 30-206 DCBLTRIPSEL Register
15141312111098
RESERVEDTRIPINPUT15TRIPINPUT14RESERVEDTRIPINPUT12TRIPINPUT11TRIPINPUT10TRIPINPUT9
R-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
76543210
TRIPINPUT8TRIPINPUT7TRIPINPUT6TRIPINPUT5TRIPINPUT4TRIPINPUT3TRIPINPUT2TRIPINPUT1
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-111 DCBLTRIPSEL Register Field Descriptions
BitFieldTypeResetDescription
15RESERVEDR0hReserved
14TRIPINPUT15R/W0hTRIP Input 15

0: Trip Input 15 not selected as combinational ORed input
1: Trip Input 15 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

13TRIPINPUT14R/W0hTRIP Input 14

0: Trip Input 14 not selected as combinational ORed input
1: Trip Input 14 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

12RESERVEDR/W0hReserved
11TRIPINPUT12R/W0hTRIP Input 12

0: Trip Input 12 not selected as combinational ORed input
1: Trip Input 12 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

10TRIPINPUT11R/W0hTRIP Input 11

0: Trip Input 11 not selected as combinational ORed input
1: Trip Input 11 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

9TRIPINPUT10R/W0hTRIP Input 10

0: Trip Input 10 not selected as combinational ORed input
1: Trip Input 10 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

8TRIPINPUT9R/W0hTRIP Input 9

0: Trip Input 9 not selected as combinational ORed input
1: Trip Input 9 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

7TRIPINPUT8R/W0hTRIP Input 8

0: Trip Input 8 not selected as combinational ORed input
1: Trip Input 8 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

6TRIPINPUT7R/W0hTRIP Input 7

0: Trip Input 7 not selected as combinational ORed input
1: Trip Input 7 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

5TRIPINPUT6R/W0hTRIP Input 6

0: Trip Input 6 not selected as combinational ORed input
1: Trip Input 6 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

4TRIPINPUT5R/W0hTRIP Input 5

0: Trip Input 5 not selected as combinational ORed input
1: Trip Input 5 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

3TRIPINPUT4R/W0hTRIP Input 4

0: Trip Input 4 not selected as combinational ORed input
1: Trip Input 4 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

2TRIPINPUT3R/W0hTRIP Input 3

0: Trip Input 3 not selected as combinational ORed input
1: Trip Input 3 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

1TRIPINPUT2R/W0hTRIP Input 2

0: Trip Input 2 not selected as combinational ORed input
1: Trip Input 2 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

0TRIPINPUT1R/W0hTRIP Input 1

0: Trip Input 1 not selected as combinational ORed input
1: Trip Input 1 selected as combinational ORed input to DCAL mux

Reset type: SYSRSn

30.20.2.86 CAPCTL Register (Offset = 1ACh) [Reset = 0000h]

CAPCTL is shown in Figure 30-207 and described in Table 30-112.

Return to the Summary Table.

Event Capture Control Register

Figure 30-207 CAPCTL Register
15141312111098
RESERVEDFRCLOAD
R-0hR-0/W1S-0h
76543210
RESERVEDPULSECTLCAPINPOLCAPGATEPOLSRCSEL
R-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-112 CAPCTL Register Field Descriptions
BitFieldTypeResetDescription
15-9RESERVEDR0hReserved
8FRCLOADR-0/W1S0h 0: Writing of 0 is ignored. Always reads back a 0.
1: Forces a LOAD to occur on the DCCAP - an equivalent LOAD.active pulse

Reset type: SYSRSn

7-5RESERVEDR0hReserved
4PULSECTLR/W0hCapture Input Polarity Select Mux:
0: Pulse selection determined by PULSESEL bits (common pulse selection for Blanking and Capture logic)
1: Pulse selection determined by CAPMIXSEL register (independent pulse selection for Blanking and Capture logic)

Reset type: SYSRSn

3CAPINPOLR/W0hCapture Input Polarity Select Mux:
0: CAPIN.sync not inverted
1: CAPIN.sync Inverted

Default state assumption for these inputs can be active high.
If the user is providing active low signal then invert option can be configured

Reset type: SYSRSn

2-1CAPGATEPOLR/W0hCapture Gate Input Polarity Select Mux:
00: Set to 1 - Gate is always ON
01: Set to 0 - Gate is always OFF
10: CAPGATE.sync
11: CAPGATE.sync Inverted

Default state assumption for these inputs can be active high.
If the user is providing active low signal then invert option can be configured

Reset type: SYSRSn

0SRCSELR/W0hCapture Logic Input Select Mux:
0: DCEVTFILT (Sync) - same as Type-4
1: CAPIN.sync

Reset type: SYSRSn

30.20.2.87 CAPGATETRIPSEL Register (Offset = 1AEh) [Reset = 0000h]

CAPGATETRIPSEL is shown in Figure 30-208 and described in Table 30-113.

Return to the Summary Table.

Event Capture Gate Trip input select

Figure 30-208 CAPGATETRIPSEL Register
15141312111098
RESERVEDTRIPINPUT15TRIPINPUT14RESERVEDTRIPINPUT12TRIPINPUT11TRIPINPUT10TRIPINPUT9
R-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
76543210
TRIPINPUT8TRIPINPUT7TRIPINPUT6TRIPINPUT5TRIPINPUT4TRIPINPUT3TRIPINPUT2TRIPINPUT1
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-113 CAPGATETRIPSEL Register Field Descriptions
BitFieldTypeResetDescription
15RESERVEDR0hReserved
14TRIPINPUT15R/W0hTRIP Input 15

0: Trip Input 15 not selected as combinational ORed input
1: Trip Input 15 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

13TRIPINPUT14R/W0hTRIP Input 14

0: Trip Input 14 not selected as combinational ORed input
1: Trip Input 14 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

12RESERVEDR/W0hReserved
11TRIPINPUT12R/W0hTRIP Input 12

0: Trip Input 12 not selected as combinational ORed input
1: Trip Input 12 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

10TRIPINPUT11R/W0hTRIP Input 11

0: Trip Input 11 not selected as combinational ORed input
1: Trip Input 11 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

9TRIPINPUT10R/W0hTRIP Input 10

0: Trip Input 10 not selected as combinational ORed input
1: Trip Input 10 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

8TRIPINPUT9R/W0hTRIP Input 9

0: Trip Input 9 not selected as combinational ORed input
1: Trip Input 9 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

7TRIPINPUT8R/W0hTRIP Input 8

0: Trip Input 8 not selected as combinational ORed input
1: Trip Input 8 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

6TRIPINPUT7R/W0hTRIP Input 7

0: Trip Input 7 not selected as combinational ORed input
1: Trip Input 7 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

5TRIPINPUT6R/W0hTRIP Input 6

0: Trip Input 6 not selected as combinational ORed input
1: Trip Input 6 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

4TRIPINPUT5R/W0hTRIP Input 5

0: Trip Input 5 not selected as combinational ORed input
1: Trip Input 5 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

3TRIPINPUT4R/W0hTRIP Input 4

0: Trip Input 4 not selected as combinational ORed input
1: Trip Input 4 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

2TRIPINPUT3R/W0hTRIP Input 3

0: Trip Input 3 not selected as combinational ORed input
1: Trip Input 3 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

1TRIPINPUT2R/W0hTRIP Input 2

0: Trip Input 2 not selected as combinational ORed input
1: Trip Input 2 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

0TRIPINPUT1R/W0hTRIP Input 1

0: Trip Input 1 not selected as combinational ORed input
1: Trip Input 1 selected as combinational ORed input to CAPGATE mux

Reset type: SYSRSn

30.20.2.88 CAPINTRIPSEL Register (Offset = 1B0h) [Reset = 0000h]

CAPINTRIPSEL is shown in Figure 30-209 and described in Table 30-114.

Return to the Summary Table.

Event Capture Trip input select

Figure 30-209 CAPINTRIPSEL Register
15141312111098
RESERVEDTRIPINPUT15TRIPINPUT14RESERVEDTRIPINPUT12TRIPINPUT11TRIPINPUT10TRIPINPUT9
R-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
76543210
TRIPINPUT8TRIPINPUT7TRIPINPUT6TRIPINPUT5TRIPINPUT4TRIPINPUT3TRIPINPUT2TRIPINPUT1
R/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 30-114 CAPINTRIPSEL Register Field Descriptions
BitFieldTypeResetDescription
15RESERVEDR0hReserved
14TRIPINPUT15R/W0hTRIP Input 15

0: Trip Input 15 not selected as combinational ORed input
1: Trip Input 15 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

13TRIPINPUT14R/W0hTRIP Input 14

0: Trip Input 14 not selected as combinational ORed input
1: Trip Input 14 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

12RESERVEDR/W0hReserved
11TRIPINPUT12R/W0hTRIP Input 12

0: Trip Input 12 not selected as combinational ORed input
1: Trip Input 12 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

10TRIPINPUT11R/W0hTRIP Input 11

0: Trip Input 11 not selected as combinational ORed input
1: Trip Input 11 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

9TRIPINPUT10R/W0hTRIP Input 10

0: Trip Input 10 not selected as combinational ORed input
1: Trip Input 10 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

8TRIPINPUT9R/W0hTRIP Input 9

0: Trip Input 9 not selected as combinational ORed input
1: Trip Input 9 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

7TRIPINPUT8R/W0hTRIP Input 8

0: Trip Input 8 not selected as combinational ORed input
1: Trip Input 8 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

6TRIPINPUT7R/W0hTRIP Input 7

0: Trip Input 7 not selected as combinational ORed input
1: Trip Input 7 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

5TRIPINPUT6R/W0hTRIP Input 6

0: Trip Input 6 not selected as combinational ORed input
1: Trip Input 6 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

4TRIPINPUT5R/W0hTRIP Input 5

0: Trip Input 5 not selected as combinational ORed input
1: Trip Input 5 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

3TRIPINPUT4R/W0hTRIP Input 4

0: Trip Input 4 not selected as combinational ORed input
1: Trip Input 4 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

2TRIPINPUT3R/W0hTRIP Input 3

0: Trip Input 3 not selected as combinational ORed input
1: Trip Input 3 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

1TRIPINPUT2R/W0hTRIP Input 2

0: Trip Input 2 not selected as combinational ORed input
1: Trip Input 2 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

0TRIPINPUT1R/W0hTRIP Input 1

0: Trip Input 1 not selected as combinational ORed input
1: Trip Input 1 selected as combinational ORed input to CAPIN mux

Reset type: SYSRSn

30.20.2.89 CAPTRIPSEL Register (Offset = 1B2h) [Reset = 0000h]

CAPTRIPSEL is shown in Figure 30-210 and described in Table 30-115.

Return to the Summary Table.

Event Capture Signal Select

Figure 30-210 CAPTRIPSEL Register
15141312111098
RESERVED
R-0h
76543210
CAPGATECOMPSELCAPINCOMPSEL
R/W-0hR/W-0h
Table 30-115 CAPTRIPSEL Register Field Descriptions
BitFieldTypeResetDescription
15-8RESERVEDR0hReserved
7-4CAPGATECOMPSELR/W0hDigital Compare A Low Input Select Bits

0000: TRIPIN1
0001: TRIPIN2
0010: TRIPIN3
0011: TRIPIN4
...
1011: TRIPIN12
1100: Reserved
1101: TRIPIN14
1110: TRIPIN15
1111: Trip combination input (all trip inputs selected by CAPGATETRIPSEL register ORed together)

Reset type: SYSRSn

3-0CAPINCOMPSELR/W0hDigital Compare A High Input Select Bits

0000: TRIPIN1
0001: TRIPIN2
0010: TRIPIN3
0011: TRIPIN4
...
1011: TRIPIN12
1100: Reserved
1101: TRIPIN14
1110: TRIPIN15
1111: Trip combination input (all trip inputs selected by CAPINTRIPSEL register ORed together)

Reset type: SYSRSn

30.20.2.90 EPWMLOCK Register (Offset = 1F4h) [Reset = 00000000h]

EPWMLOCK is shown in Figure 30-211 and described in Table 30-116.

Return to the Summary Table.

EPWM Lock Register

Figure 30-211 EPWMLOCK Register
3130292827262524
KEY
R-0/W-0h
2322212019181716
KEY
R-0/W-0h
15141312111098
RESERVED
R-0h
76543210
RESERVEDDCLOCKTZCLRLOCKTZCFGLOCKGLLOCKHRLOCK
R-0hR/WOnce-0hR/WOnce-0hR/WOnce-0hR/WOnce-0hR/WOnce-0h
Table 30-116 EPWMLOCK Register Field Descriptions
BitFieldTypeResetDescription
31-16KEYR-0/W0hWrite to this register succeeds only if this field is written with a value of 0xa5a5

Note:
[1] Due to this KEY, only 32-bit writes will succeed (provided the KEY matches). 16-bit writes to the upper or lower half of this register will be ignored

Reset type: SYSRSn

15-5RESERVEDR0hReserved
4DCLOCKR/WOnce0h0:Digital Compare registers from 0x180 to 0x1B2 offsets are protected by EALLOW.
1: Digital Compare registers from 0x180 and 0x1B2 offsets are locked and not writable.

Reset type: SYSRSn

3TZCLRLOCKR/WOnce0h0:Trip Zone registers from 0x12E to 0x136 offsets are protected by EALLOW.
1: Trip Zone registers from 0x12E to 0x136 offsets are locked and not writable.

Reset type: SYSRSn

2TZCFGLOCKR/WOnce0h0:TripZone registers from 0x100 to 0x11A and TZTRIPOUTSEL at 0x13A offsets are protected by EALLOW.
1: TripZone registers from 0x100 to 0x11A and TZTRIPOUTSEL at 0x13A offsets are locked and not writable.

Reset type: SYSRSn

1GLLOCKR/WOnce0h0:Global Load registers from 0x68 to 0x6A offsets are protected by EALLOW.
1: Global Load registers from 0x68 to 0x6A offsets are locked and not writable

Reset type: SYSRSn

0HRLOCKR/WOnce0h0: HRPWM registers from 0x40 to 0x5A offsets are protected by EALLOW
1: HRPWM registers from 0x40 and 0x5A offsets are locked and not writable.

Reset type: SYSRSn

30.20.2.91 HWVDELVAL Register (Offset = 1FAh) [Reset = 0000h]

HWVDELVAL is shown in Figure 30-212 and described in Table 30-117.

Return to the Summary Table.

Hardware Valley Mode Delay Register

Figure 30-212 HWVDELVAL Register
15141312111098
HWVDELVAL
R-0h
76543210
HWVDELVAL
R-0h
Table 30-117 HWVDELVAL Register Field Descriptions
BitFieldTypeResetDescription
15-0HWVDELVALR0hHardware Valley Delay Value Register

This read only register reflects the hardware delay value calculated by the equations defined in VCAPCTL[VDELAYDIV]. This reflects the latest value from the hardware calculations and can change every time valley capture sequence is triggered and VCAP1 and VCAP2 values are updated.

Reset type: SYSRSn

30.20.2.92 VCNTVAL Register (Offset = 1FCh) [Reset = 0000h]

VCNTVAL is shown in Figure 30-213 and described in Table 30-118.

Return to the Summary Table.

Hardware Valley Counter Register

Figure 30-213 VCNTVAL Register
15141312111098
VCNTVAL
R-0h
76543210
VCNTVAL
R-0h
Table 30-118 VCNTVAL Register Field Descriptions
BitFieldTypeResetDescription
15-0VCNTVALR0hValley Time Base Counter Register

This register reflects the captured VCNT value upon occurrence of STOPEDGE selected in VCNTCFG register.

Reset type: SYSRSn