SWRU626 December   2025 CC3501E , CC3551E

 

  1.   1
  2. Read This First
    1. 1.1 About This Manual
    2. 1.2 Register, Field, and Bit Calls
    3.     Trademarks
  3. Architecture Overview
    1. 2.1  Target Applications
    2. 2.2  Introduction
    3. 2.3  Internal System Diagram
    4. 2.4  Arm Cortex M33
      1. 2.4.1 Processor Core
      2. 2.4.2 SysTick Timer
      3. 2.4.3 Nested Vectored Interrupt Controller
      4. 2.4.4 System Control Block (SCB)
      5. 2.4.5 TI AI instruction extensions
    5. 2.5  Power Management
      1. 2.5.1 VDD_MAIN
      2. 2.5.2 VDD_IO
      3. 2.5.3 VDDSF
      4. 2.5.4 VDD_PA
    6. 2.6  Debug Subsystem (DEBUGSS)
    7. 2.7  Memory Subsystem (MEMSS)
      1. 2.7.1 External Memory Interface
    8. 2.8  Hardware Security Module
    9. 2.9  General Purpose Timers (GPT)
    10. 2.10 Real Time Clock (RTC)
    11. 2.11 Direct Memory Access
    12. 2.12 GPIOs
    13. 2.13 Communication Peripherals
      1. 2.13.1 UART
      2. 2.13.2 I2C
      3. 2.13.3 SPI
      4. 2.13.4 I2S
      5. 2.13.5 SDMMC
      6. 2.13.6 SDIO
      7. 2.13.7 CAN
      8. 2.13.8 ADC
  4. Arm Cortex-M33 Processor
    1. 3.1 Arm Cortex-M33 Processor Introduction
    2. 3.2 Block Diagram
    3. 3.3 M33 instantiation parameters
    4. 3.4 Arm Cortex-M33 System Peripheral Details
      1. 3.4.1 Floating Point Unit (FPU)
      2. 3.4.2 Memory Protection Unit (MPU)
      3. 3.4.3 Digital Signal Processing (DSP)
      4. 3.4.4 Security Attribution Unit (SAU)
      5. 3.4.5 System Timer
      6. 3.4.6 Nested Vectored Interrupt Controller
      7. 3.4.7 System Control Block
      8. 3.4.8 System Control Space
    5. 3.5 CPU Sub-System Peripheral Details
      1. 3.5.1 Trace Port Interface Unit (TPIU)
      2. 3.5.2 DAP Bridge and Debug Authentication
      3. 3.5.3 Implementation Defined Attribution Unit (IDAU)
    6. 3.6 Programming Model
      1. 3.6.1 Modes of operation and execution
        1. 3.6.1.1 Security states
        2. 3.6.1.2 Operating modes
        3. 3.6.1.3 Operating states
        4. 3.6.1.4 Privileged access and unprivileged user access
      2. 3.6.2 Instruction set summary
      3. 3.6.3 Memory model
        1. 3.6.3.1 Private Peripheral Bus
        2. 3.6.3.2 Unaligned accesses
      4. 3.6.4 Processor core registers summary
      5. 3.6.5 Exceptions
        1. 3.6.5.1 Exception handling and prioritization
    7. 3.7 TrustZone-M
      1. 3.7.1 Overview
      2. 3.7.2 M33 Configuration
      3. 3.7.3 Description of elements
        1. 3.7.3.1 IDAU (Implementation Defined Attribution Unit)
          1. 3.7.3.1.1 Expected use
    8. 3.8 CC35xx Host MCU Registers
      1. 3.8.1 HOSTMCU_AON Registers
      2. 3.8.2 HOST_MCU Registers
      3. 3.8.3 HOST_MCU_SEC Registers
    9. 3.9 Arm® Cortex®-M33 Registers
      1. 3.9.1  CPU_ROM_TABLE Registers
      2. 3.9.2  TPIU Registers
      3. 3.9.3  DCB Registers
      4. 3.9.4  DIB Registers
      5. 3.9.5  DWT Registers
      6. 3.9.6  FPB Registers
      7. 3.9.7  FPE Registers
      8. 3.9.8  ICB Registers
      9. 3.9.9  ITM Registers
      10. 3.9.10 MPU Registers
      11. 3.9.11 NVIC Registers
      12. 3.9.12 SAU Registers
      13. 3.9.13 SCB Registers
      14. 3.9.14 SYSTIMER Registers
      15. 3.9.15 SYSTICK Registers
  5. Memory Map
    1. 4.1 Memory Map
  6. Interrupts and Events
    1. 5.1 Exception Model
      1. 5.1.1 Exception States
      2. 5.1.2 Exception Types
      3. 5.1.3 Exception Handlers
      4. 5.1.4 Vector Table
      5. 5.1.5 Exception Priorities
      6. 5.1.6 Interrupt Priority Grouping
      7. 5.1.7 Exception Entry and Return
        1. 5.1.7.1 Exception Entry
        2. 5.1.7.2 Exception Return
    2. 5.2 Fault Handling
      1. 5.2.1 Fault Types
      2. 5.2.2 Fault Escalation to HardFault
      3. 5.2.3 Fault Status Registers and Fault Address Registers
      4. 5.2.4 Lockup
    3. 5.3 Security State Switches
    4. 5.4 Event Manager
      1. 5.4.1 Introduction
      2. 5.4.2 Interrupts List
      3. 5.4.3 Wakeup Sources
      4. 5.4.4 Shared Peripherals MUX Selector
        1. 5.4.4.1 ADC HW Event Selector Mux
        2. 5.4.4.2 I2S HW Event Selector Mux
        3. 5.4.4.3 PDM HW Event Selector Mux
      5. 5.4.5 Timers MUX Selector Mux
        1. 5.4.5.1 SysTimer0 HW Event Selector Mux
        2. 5.4.5.2 SysTimer1 HW Event Selector Mux
        3. 5.4.5.3 RTC HW Event Selector Mux
      6. 5.4.6 GPTIMERs MUX Selector Mux
        1. 5.4.6.1 GPTIMER0 HW Event Selector Mux
        2. 5.4.6.2 GPTIMER1 HW Event Selector Mux
    5. 5.5 SOC_IC Registers
    6. 5.6 SOC_AON Registers
    7. 5.7 SOC_AAON Registers
  7. Debug Subsystem (DEBUGSS)
    1. 6.1 Introduction
    2. 6.2 Block Diagram
    3. 6.3 Overview
    4. 6.4 Physical Interface
    5. 6.5 Debug Access Ports
    6. 6.6 Debug Features
      1. 6.6.1 Processor Debug
      2. 6.6.2 Breakpoint Unit (BPU)
      3. 6.6.3 Peripheral Debug
    7. 6.7 Behavior in Low Power Modes
    8. 6.8 Debug Access Control
    9. 6.9 SOC_DEBUGSS Registers
  8. Power, Reset, Clock Management
    1. 7.1 Power Management
      1. 7.1.1 Power Supply System
        1. 7.1.1.1 VDD_MAIN
        2. 7.1.1.2 VIO
        3. 7.1.1.3 VDDSF
        4. 7.1.1.4 VPA
      2. 7.1.2 Power States
      3. 7.1.3 Power Domains
      4. 7.1.4 Brownout (BOR)
      5. 7.1.5 Boot Sequence
    2. 7.2 Reset
      1. 7.2.1 Reset Cause
      2. 7.2.2 Watchdog Timer (WDT)
    3. 7.3 Clocks
      1. 7.3.1 Fast Clock
      2. 7.3.2 Slow Clock
        1. 7.3.2.1 Slow Clock Overview
        2. 7.3.2.2 Slow Clock Tree
        3. 7.3.2.3 Slow Clock Boot Process
    4. 7.4 PRCM_AON Registers
    5. 7.5 PRCM_SCRATCHPAD Registers
  9. Memory Subsystem (MEMSS)
    1. 8.1  Introduction
    2. 8.2  SRAM
    3. 8.3  D-Cache
    4. 8.4  Flash
    5. 8.5  PSRAM
    6. 8.6  XiP Memory Access
      1. 8.6.1 OTFDE
      2. 8.6.2 xSPI
      3. 8.6.3 Topology
      4. 8.6.4 µDMA
      5. 8.6.5 Arbiter
    7. 8.7  ICACHE Registers
    8. 8.8  DCACHE Registers
    9. 8.9  OSPI Registers
    10. 8.10 HOST_XIP Registers
  10. Hardware Security Module (HSM)
    1. 9.1 Introduction
    2. 9.2 Overview
    3. 9.3 Mailbox and Register Access Firewall
    4. 9.4 DMA Firewall
    5. 9.5 HSM Key Storage
    6. 9.6 HSM Registers
    7. 9.7 HSM_NON_SEC Registers
    8. 9.8 HSM_SEC Registers
  11. 10Device Boot and Bootloader
    1. 10.1 CC35xx Boot Concept
    2. 10.2 Features
    3. 10.3 Vendor Images Format and Processing
      1. 10.3.1 External Flash Arrangement
      2. 10.3.2 Vendor Images Format
    4. 10.4 Boot Flows
      1. 10.4.1 Application Execution Boot Flow
      2. 10.4.2 Activation Flow
      3. 10.4.3 Initial Programming Flow
      4. 10.4.4 Reprogramming Flow
      5. 10.4.5 Wireless Connectivity Testing Tool Flow
    5. 10.5 Chain of Trust
  12. 11Direct Memory Access (DMA)
    1. 11.1 Overview
    2. 11.2 Block Diagram
    3. 11.3 Functional Description
      1. 11.3.1 Channels Assignment
      2. 11.3.2 Transfer Types
      3. 11.3.3 Addressing Modes
      4. 11.3.4 Transfer Modes
      5. 11.3.5 DMA Aligner Support
      6. 11.3.6 Initiating DMA Transfers
      7. 11.3.7 Stopping DMA Transfers
      8. 11.3.8 Channel Priorities
      9. 11.3.9 DMA Interrupts
    4. 11.4 HOST_DMA Registers
  13. 12One Time Programming (OTP)
  14. 13General Purpose Timers (GPT)
    1. 13.1 Overview
    2. 13.2 Block Diagram
    3. 13.3 Functional Description
      1. 13.3.1  Prescaler
      2. 13.3.2  Counter
      3. 13.3.3  Target
      4. 13.3.4  Channel Input Logic
      5. 13.3.5  Channel Output Logic
      6. 13.3.6  Channel Actions
        1. 13.3.6.1 Period and Pulse Width Measurement
        2. 13.3.6.2 Clear on Zero, Toggle on Compare Repeatedly
        3. 13.3.6.3 Set on Zero, Toggle on Compare Repeatedly
      7. 13.3.7  Channel Capture Configuration
      8. 13.3.8  Channel Filters
        1. 13.3.8.1 Setting up the Channel Filters
      9. 13.3.9  Synchronize Multiple GPTimers
      10. 13.3.10 Interrupts, ADC Trigger, and DMA Request
    4. 13.4 Timer Modes
      1. 13.4.1 Quadrature Decoder
      2. 13.4.2 DMA
      3. 13.4.3 IR Generation
      4. 13.4.4 Fault and Park
      5. 13.4.5 Dead-Band
      6. 13.4.6 Dead-Band, Fault and Park
      7. 13.4.7 Example Application: Brushless DC (BLDC) Motor
    5. 13.5 GPTIMER Registers
  15. 14System Timer (SysTimer)
    1. 14.1 Overview
    2. 14.2 Block Diagram
    3. 14.3 Functional Description
      1. 14.3.1 Common Channel Features
        1. 14.3.1.1 Compare Mode
        2. 14.3.1.2 Capture Mode
        3. 14.3.1.3 Additional Channel Arming Methods
      2. 14.3.2 Interrupts and Events
    4. 14.4 SYSRESOURCES Registers
    5. 14.5 SYSTIM Registers
  16. 15Real-Time Clock (RTC)
    1. 15.1 Introduction
    2. 15.2 Block Diagram
    3. 15.3 Interrupts and Events
      1. 15.3.1 Input Event
      2. 15.3.2 Output Event
      3. 15.3.3 Arming and Disarming Channels
    4. 15.4 CAPTURE and COMPARE Configurations
      1. 15.4.1 CHANNEL 0 - COMPARE CHANNEL
      2. 15.4.2 CHANNEL 1 - CAPTURE CHANNEL
    5. 15.5 RTC Registers
  17. 16General Purpose Input/Output (GPIOs)
    1. 16.1 Introduction
    2. 16.2 Block Diagram
    3. 16.3 I/O Mapping and Configuration
      1. 16.3.1 Basic I/O Mapping
      2. 16.3.2 Pin Mapping
    4. 16.4 Edge Detection
    5. 16.5 GPIO
    6. 16.6 I/O Pins
    7. 16.7 Unused Pins
    8. 16.8 IOMUX Registers
  18. 17Universal Asynchronous Receivers/Transmitters (UART)
    1. 17.1 Introduction
    2. 17.2 Block Diagram
    3. 17.3 UART Functional Description
      1. 17.3.1 Transmit and Receive Logic
      2. 17.3.2 Baud Rate Generation
      3. 17.3.3 FIFO Operation
        1. 17.3.3.1 FIFO Remapping
      4. 17.3.4 Data Transmission
      5. 17.3.5 Flow Control
      6. 17.3.6 IrDA Encoding and Decoding
      7. 17.3.7 Interrupts
      8. 17.3.8 Loopback Operation
    4. 17.4 UART-LIN Specification
      1. 17.4.1 Break transmission in UART mode
      2. 17.4.2 Break reception in UART mode
      3. 17.4.3 Break/Synch transmission in LIN mode
      4. 17.4.4 Break/Synch reception in LIN mode
      5. 17.4.5 Dormant mode operation
      6. 17.4.6 Event signal generation
      7. 17.4.7 Event signal detection when device is in active/idle modes
      8. 17.4.8 Event signal detection when device is in sleep mode
    5. 17.5 Interface to Host DMA
    6. 17.6 Initialization and Configuration
    7. 17.7 UART Registers
  19. 18Serial Peripheral Interface (SPI)
    1. 18.1 Overview
      1. 18.1.1 Features
      2. 18.1.2 Block Diagram
    2. 18.2 Signal Description
    3. 18.3 Functional Description
      1. 18.3.1  Clock Control
      2. 18.3.2  FIFO Operation
        1. 18.3.2.1 Transmit FIFO
        2. 18.3.2.2 Repeated Transmit Operation
        3. 18.3.2.3 Receive FIFO
        4. 18.3.2.4 FIFO Flush
      3. 18.3.3  Interrupts
      4. 18.3.4  Data Format
      5. 18.3.5  Delayed Data Sampling
      6. 18.3.6  Chip Select Control
      7. 18.3.7  Command Data Control
      8. 18.3.8  Protocol Descriptions
        1. 18.3.8.1 Motorola SPI Frame Format
        2. 18.3.8.2 Texas Instruments Synchronous Serial Frame Format
        3. 18.3.8.3 MICROWIRE Frame Format
      9. 18.3.9  CRC Configuration
      10. 18.3.10 Auto CRC Functionality
      11. 18.3.11 SPI Status
      12. 18.3.12 Debug Halt
    4. 18.4 Host DMA Operation
    5. 18.5 Initialization and Configuration
    6. 18.6 SPI Registers
  20. 19Inter-Integrated Circuit (I2C) Interface
    1. 19.1 Introduction
    2. 19.2 Block Diagram
    3. 19.3 Functional Description
      1. 19.3.1 Clock Control
        1. 19.3.1.1 Internal Clock
        2. 19.3.1.2 External Clock
      2. 19.3.2 General Architecture
        1. 19.3.2.1  Start and Stop Conditions
        2. 19.3.2.2  Data Format with 7-Bit Address
        3. 19.3.2.3  Data Format with 10-Bit Addressing
          1. 19.3.2.3.1 Additional 10-Bit Scenarios
        4. 19.3.2.4  Acknowledge
        5. 19.3.2.5  Repeated Start
        6. 19.3.2.6  Clock Stretching
        7. 19.3.2.7  Arbitration
        8. 19.3.2.8  Multi-Controller mode
        9. 19.3.2.9  Glitch Suppression
        10. 19.3.2.10 FIFO Operation
        11. 19.3.2.11 Burst Mode Operation
        12. 19.3.2.12 DMA Operation
        13. 19.3.2.13 Flush Stale Tx Data in Target Mode
          1. 19.3.2.13.1 Recommended Sequence
        14. 19.3.2.14 SMBUS 3.0 Support
          1. 19.3.2.14.1 Quick Command
          2. 19.3.2.14.2 Acknowledge Control
          3. 19.3.2.14.3 Alert Response protocol
          4. 19.3.2.14.4 Address Resolution Protocol
          5. 19.3.2.14.5 Enhanced Acknowledge Control
    4. 19.4 Initialization and Configuration
    5. 19.5 Interrupts
    6. 19.6 I2C Registers
  21. 20Secure Digital Multimedia Card (SDMMC)
    1. 20.1 Introduction
      1. 20.1.1 SDMMC Features
      2. 20.1.2 Integration
    2. 20.2 Functional Description
      1. 20.2.1  SDMMC Functional Modes
        1. 20.2.1.1 SDMMC Connected to an SD Card
        2. 20.2.1.2 Protocol and Data Format
          1. 20.2.1.2.1 Protocol
          2. 20.2.1.2.2 Data Format
      2. 20.2.2  SD Card Feedback
      3. 20.2.3  Resets
        1. 20.2.3.1 Hardware Reset
        2. 20.2.3.2 Software Reset
      4. 20.2.4  Interrupt Requests
        1. 20.2.4.1 Interrupt-Driven Operation
        2. 20.2.4.2 Polling
      5. 20.2.5  DMA Modes
        1. 20.2.5.1 DMA Peripheral Mode Operations
          1. 20.2.5.1.1 DMA Receive Mode
          2. 20.2.5.1.2 DMA Transmit Mode
      6. 20.2.6  Buffer Management
        1. 20.2.6.1 Data Buffer
          1. 20.2.6.1.1 Memory Size and Block Length
          2. 20.2.6.1.2 Data Buffer Status
      7. 20.2.7  Transfer Process
        1. 20.2.7.1 Different Types of Commands
        2. 20.2.7.2 Different Types of Responses
      8. 20.2.8  Transfer or Command Status and Error Reporting
        1. 20.2.8.1 Busy Timeout for R1b, R5b Response Type
        2. 20.2.8.2 Busy Timeout After Write CRC Status
        3. 20.2.8.3 Write CRC Status Timeout
        4. 20.2.8.4 Read Data Timeout
      9. 20.2.9  Auto Command 12 Timings
        1. 20.2.9.1 Auto Command 12 Timings During Write Transfer
        2. 20.2.9.2 Auto Command 12 Timings During Read Transfer
      10. 20.2.10 Transfer Stop
      11. 20.2.11 Output Signals Generation
        1. 20.2.11.1 Generation on Falling Edge of SDMMC Clock
        2. 20.2.11.2 Generation on Rising Edge of SDMMC Clock
      12. 20.2.12 Test Registers
      13. 20.2.13 SDMMC Hardware Status Features
    3. 20.3 Low-Level Programming Models
      1. 20.3.1 SDMMC Initialization Flow
        1. 20.3.1.1 Enable OCP and CLKADPI Clocks
        2. 20.3.1.2 SD Soft Reset Flow
        3. 20.3.1.3 Set SD Default Capabilities
        4. 20.3.1.4 SDMMC Host and Bus Configuration
      2. 20.3.2 Operational Modes Configuration
        1. 20.3.2.1 Basic Operations for SDMMC
        2. 20.3.2.2 Card Detection, Identification, and Selection
    4. 20.4 SDMMC Registers
  22. 21Secure Digital Input/Output (SDIO)
    1. 21.1 Introduction
    2. 21.2 Block Diagram
    3. 21.3 Functional Description
      1. 21.3.1 SDIO Interface Description
      2. 21.3.2 Protocol and Data Format
      3. 21.3.3 I/O Read/Write Command
        1. 21.3.3.1 IO_WR_DIRECT Command (CMD52)
        2. 21.3.3.2 IO_WR_EXTENDED Command (CMD53)
      4. 21.3.4 Reset
      5. 21.3.5 FIFO Operation
        1. 21.3.5.1 Rx FIFO (For Host Write)
        2. 21.3.5.2 Tx FIFO (For Host Read)
      6. 21.3.6 Interrupt Request
        1. 21.3.6.1 External Host IRQ
        2. 21.3.6.2 M33 IRQ
      7. 21.3.7 Transaction Details
        1. 21.3.7.1 Host write to SDIO IP (Rx FIFO)
          1. 21.3.7.1.1 Host write to SDIO IP (Rx FIFO) – Long SW latency case
          2. 21.3.7.1.2 Host write to SDIO IP (Rx FIFO) – CRC Error Case
        2. 21.3.7.2 Host reads from SDIO (TX buffer)
    4. 21.4 SDIO_CORE Registers
    5. 21.5 SDIO_CARD_FN1 Registers
  23. 22Inter-Integrated Circuit Sound (I2S)
    1. 22.1  Introduction
    2. 22.2  Block Diagram
    3. 22.3  Signal Descriptions
    4. 22.4  Functional Description
      1. 22.4.1 Pin Configuration
      2. 22.4.2 Serial Format Configuration
        1. 22.4.2.1 Register Configuration
      3. 22.4.3 Left-Justified (LJF)
        1. 22.4.3.1 Register Configuration
      4. 22.4.4 Right-Justified (RJF)
        1. 22.4.4.1 Register Configuration
      5. 22.4.5 DSP
        1. 22.4.5.1 Register Configuration
      6. 22.4.6 Clock Configuration
    5. 22.5  Memory Interface
      1. 22.5.1 Sample Word Length
      2. 22.5.2 Padding Mechanism
      3. 22.5.3 Channel Mapping
      4. 22.5.4 Sample Storage in Memory
      5. 22.5.5 DMA Operation
        1. 22.5.5.1 Start-Up
        2. 22.5.5.2 Operation
        3. 22.5.5.3 Shutdown
    6. 22.6  Samplestamp Generator
      1. 22.6.1 Samplestamp Counters
      2. 22.6.2 Start-Up Triggers
      3. 22.6.3 Samplestamp Capture
      4. 22.6.4 Achieving constant audio latency
    7. 22.7  Error Detection
    8. 22.8  Usage
      1. 22.8.1 Start-Up Sequence
      2. 22.8.2 Shutdown Sequence
    9. 22.9  I2S Configuration Guideline
    10. 22.10 I2S Registers
  24. 23Pulse Density Modulation (PDM)
    1. 23.1  Introduction
    2. 23.2  Block Diagram
    3. 23.3  Input Selection
      1. 23.3.1 PDM Data Mode
      2. 23.3.2 Manchester Input Mode
    4. 23.4  CIC Filter
      1. 23.4.1 Filter Design
      2. 23.4.2 Digital Filter Output
      3. 23.4.3 Offset Binary Mode
      4. 23.4.4 Twos-Complement Mode
    5. 23.5  FIFO Organization in Different Modes
      1. 23.5.1 Single Mono Microphone Configuration
        1. 23.5.1.1 24-bit Sample Size
          1. 23.5.1.1.1 32-bit Data Read
        2. 23.5.1.2 16-bit Sample Size
          1. 23.5.1.2.1 32-bit Data Read
          2. 23.5.1.2.2 16-bit Data Read
        3. 23.5.1.3 8-bit Sample Size
          1. 23.5.1.3.1 32-bit Data Read
          2. 23.5.1.3.2 16-bit Data Read
          3. 23.5.1.3.3 8-bit Data Read
      2. 23.5.2 Stereo or Dual Mono Microphone Configuration
        1. 23.5.2.1 24-bit Sample Size
          1. 23.5.2.1.1 32-bit Data Read
        2. 23.5.2.2 16-bit Sample Size
          1. 23.5.2.2.1 32-bit Data Read
          2. 23.5.2.2.2 16-bit Data Read
        3. 23.5.2.3 8-bit Sample Size
          1. 23.5.2.3.1 32-bit Data Read
          2. 23.5.2.3.2 16-bit Data Read
          3. 23.5.2.3.3 8-bit Data Read
      3. 23.5.3 FIFO Threshold Setting
      4. 23.5.4 Reset FIFO
    6. 23.6  Automatic Gain Control (AGC)
      1. 23.6.1 Operation in 2's Complement Format
      2. 23.6.2 Operation in Offset Binary Format
    7. 23.7  Interrupts
    8. 23.8  Clock Select and Control
    9. 23.9  DMA Operation
    10. 23.10 Samplestamp Generator
      1. 23.10.1 Samplestamp Counters
      2. 23.10.2 Start-Up Triggers
      3. 23.10.3 Samplestamp Capture
      4. 23.10.4 Achieving Constant Audio Latency
    11. 23.11 Debug‑Mode Flag Behavior
    12. 23.12 Software Guidelines
    13. 23.13 PDM Registers
  25. 24Analog to Digital Converter (ADC)
    1. 24.1 Overview
    2. 24.2 Block Diagram
    3. 24.3 Functional Description
      1. 24.3.1  ADC Core
      2. 24.3.2  Voltage Reference Options
      3. 24.3.3  Internal Channels
      4. 24.3.4  Resolution Modes
      5. 24.3.5  ADC Clocking
      6. 24.3.6  Power Down Behavior
      7. 24.3.7  Sampling Trigger Sources and Sampling Modes
        1. 24.3.7.1 AUTO Sampling Mode
        2. 24.3.7.2 MANUAL Sampling Mode
      8. 24.3.8  Sampling Period
      9. 24.3.9  Conversion Modes
      10. 24.3.10 ADC Data Format
      11. 24.3.11 Status Register
      12. 24.3.12 ADC Events
        1. 24.3.12.1 Generic Event Publishers (INT_EVENT0 & INT_EVENT1)
        2. 24.3.12.2 DMA Trigger Event Publisher (INT_EVENT2)
        3. 24.3.12.3 Generic Event Subscriber
      13. 24.3.13 Advanced Features
        1. 24.3.13.1 Window Comparator
        2. 24.3.13.2 DMA & FIFO Operation
          1. 24.3.13.2.1 DMA/CPU Operation in Non-FIFO Mode (FIFOEN=0)
          2. 24.3.13.2.2 DMA/CPU Operation in FIFO Mode (FIFOEN=1)
          3. 24.3.13.2.3 DMA/CPU Operation Summary Matrix
        3. 24.3.13.3 Ad-hoc Single Conversion
    4. 24.4 ADC Registers
  26. 25Controller Area Network (CAN)
    1. 25.1 Introduction
    2. 25.2 Functions
    3. 25.3 DCAN Subsystem
    4. 25.4 DCAN Functional Description
      1. 25.4.1 Operating Modes
        1. 25.4.1.1 Software Initialization
        2. 25.4.1.2 Normal Operation
        3. 25.4.1.3 Restricted Operation Mode
        4. 25.4.1.4 Bus Monitoring Mode
        5. 25.4.1.5 Disabled Automatic Retransmission
          1. 25.4.1.5.1 Frame Transmission in DAR Mode
        6. 25.4.1.6 Power Down (Sleep Mode)
          1. 25.4.1.6.1 DCAN clock stop and wake operations
          2. 25.4.1.6.2 DCAN debug suspend operation
        7. 25.4.1.7 Test Modes
          1. 25.4.1.7.1 External Loop Back Mode
          2. 25.4.1.7.2 Internal Loop Back Mode
      2. 25.4.2 Timestamp Generation
        1. 25.4.2.1 Block Diagram
      3. 25.4.3 Timeout Counter
      4. 25.4.4 Rx Handling
        1. 25.4.4.1 Acceptance Filtering
          1. 25.4.4.1.1 Range Filter
          2. 25.4.4.1.2 Filter for specific IDs
          3. 25.4.4.1.3 Classic Bit Mask Filter
          4. 25.4.4.1.4 Standard Message ID Filtering
          5. 25.4.4.1.5 Extended Message ID Filtering
        2. 25.4.4.2 Rx FIFOs
          1. 25.4.4.2.1 Rx FIFO Blocking Mode
          2. 25.4.4.2.2 Rx FIFO Overwrite Mode
        3. 25.4.4.3 Dedicated Rx Buffers
          1. 25.4.4.3.1 Rx Buffer Handling
        4. 25.4.4.4 Debug on CAN Support
          1. 25.4.4.4.1 Filtering for Debug Messages
          2. 25.4.4.4.2 Debug Message Handling
      5. 25.4.5 Tx Handling
        1. 25.4.5.1 Transmit Pause
        2. 25.4.5.2 Dedicated Tx Buffers
        3. 25.4.5.3 Tx FIFO
        4. 25.4.5.4 Tx Queue
        5. 25.4.5.5 Mixed Dedicated Tx Buffers / Tx FIFO
        6. 25.4.5.6 Mixed Dedicated Tx Buffers / Tx Queue
        7. 25.4.5.7 Transmit Cancellation
        8. 25.4.5.8 Tx Event Handling
      6. 25.4.6 FIFO Acknowledge Handling
      7. 25.4.7 DCAN Message RAM
        1. 25.4.7.1 Message RAM Configuration
        2. 25.4.7.2 Rx Buffer and FIFO Element
        3. 25.4.7.3 Tx Buffer Element
        4. 25.4.7.4 Tx Event FIFO Element
        5. 25.4.7.5 Standard Message ID Filter Element
        6. 25.4.7.6 Extended Message ID Filter Element
      8. 25.4.8 Interrupt Requests
    5. 25.5 DCAN Wrapper
    6. 25.6 DCAN Clock Enable
    7. 25.7 DCAN Registers
  27. 26Revision History

GPTIMER Registers

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

Table 13-4 GPTIMER Registers
OffsetAcronymRegister NameSection
0hDESCDescriptionSection 13.5.1
4hDESCEXDescription ExtendedSection 13.5.2
8hSTARTCFGStart ConfigurationSection 13.5.3
ChCTLTimer ControlSection 13.5.4
10hOUTCTLOutput ControlSection 13.5.5
14hCNTRCounterSection 13.5.6
18hPRECFGClock Prescaler ConfigurationSection 13.5.7
1ChPREEVENTPrescaler EventSection 13.5.8
3ChDMADirect Memory AccsessSection 13.5.9
40hDMARWDirect Memory AccsessSection 13.5.10
44hADCTRGDirect Memory AccsessSection 13.5.11
48hIOCTLIO Control RegisterSection 13.5.12
68hIMASKInterrupt MaskSection 13.5.13
6ChRISRaw Interrupt StatusSection 13.5.14
70hMISMasked Interrupt StatusSection 13.5.15
74hISETInterrupt SetSection 13.5.16
78hICLRInterrupt ClearSection 13.5.17
7ChIMSETInterrupt ClearSection 13.5.18
80hIMCLRInterrupt ClearSection 13.5.19
84hEMUInterrupt ClearSection 13.5.20
C0hC0CFGChannel 0 ConfigurationSection 13.5.21
C4hC1CFGChannel 1 ConfigurationSection 13.5.22
C8hC2CFGChannel 2 ConfigurationSection 13.5.23
FChPTGTTargetSection 13.5.24
100hPC0CCPipeline Channel 0 Capture CompareSection 13.5.25
104hPC1CCPipeline Channel 1 Capture CompareSection 13.5.26
108hPC2CCPipeline Channel 2 Capture CompareSection 13.5.27
13ChTGTTargetSection 13.5.28
140hC0CCChannel Capture CompareSection 13.5.29
144hC1CCChannel Capture CompareSection 13.5.30
148hC2CCChannel Capture CompareSection 13.5.31
17ChPTGTNCShadow TargetSection 13.5.32
180hPC0CCNCPipeline Channel 0 Capture Compare No ClearSection 13.5.33
184hPC1CCNCPipeline Channel 1 Capture Compare No ClearSection 13.5.34
188hPC2CCNCPipeline Channel 2 Capture Compare No ClearSection 13.5.35
1BChTGTNCShadow Target No ClearSection 13.5.36
1C0hC0CCNCChannel 0 Capture Compare No ClearSection 13.5.37
1C4hC1CCNCChannel 1 Capture Compare No ClearSection 13.5.38
1C8hC2CCNCChannel 2 Capture Compare No ClearSection 13.5.39
1000hCLKCFGClock Enable RegisterSection 13.5.40

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

Table 13-5 GPTIMER Access Type Codes
Access TypeCodeDescription
Read Type
RRRead
Write Type
WWWrite
Reset or Default Value
-nValue after reset or the default value

13.5.1 DESC Register (Offset = 0h) [Reset = DE491000h]

DESC is shown in Table 13-6.

Return to the Summary Table.

Description Register. This register provides IP module ID, revision information, instance index and standard MMR registers offset.

Table 13-6 DESC Register Field Descriptions
BitFieldTypeResetDescription
31-16MODIDRDE49hModule identifier used to uniquely identify this IP.
15-12STDIPOFFR1hStandard IP MMR block offset. Standard IP MMRs are the set of from aggregated IRQ registers till DTB. 0: Standard IP MMRs do not exist 0x1-0xF: Standard IP MMRs begin at offset of (64*STDIPOFF from the base IP address)
11-8INSTIDXR0hIP Instance ID number. If multiple instances of IP exist in the device, this field can identify the instance number.
7-4MAJREVR1hMajor revision of IP.
3-0MINREVR0hMinor revision of IP.

13.5.2 DESCEX Register (Offset = 4h) [Reset = 00000000h]

DESCEX is shown in Table 13-7.

Return to the Summary Table.

Description Extended This register describes the parameters of the LGPT.

Table 13-7 DESCEX Register Field Descriptions
BitFieldTypeResetDescription
31-20RESERVEDR0hReserved
19HIRR1hHas IR logic.
18HDBFR1hHas Dead-Band, Fault, and Park logic.
17-14PREWR8hPrescaler width. The prescaler can maximum be configured to 2^PREW-1.
13HQDECR1hHas Quadrature Decoder.
12HCIFR1hHas channel input filter.
11-8CIFSR8hChannel input filter size. The prevailing state filter can maximum be configured to 2^CIFS-1.
7HDMAR1hHas uDMA output and logic.
6HINTR1hHas interrupt output and logic.
5-4CNTRWR0hCounter bit-width. The maximum counter value is equal to 2^CNTRW-1.
  • 0h = 16-bit counter.
  • 1h = 24-bit counter.
  • 2h = 32-bit counter.
  • 3h = RESERVED
3-0NCHR4hNumber of channels.

13.5.3 STARTCFG Register (Offset = 8h) [Reset = 00000000h]

STARTCFG is shown in Table 13-8.

Return to the Summary Table.

Start Configuration This register is only for when MODE is configured to one of the SYNC modes. This register defines when this LGPT starts.

Table 13-8 STARTCFG Register Field Descriptions
BitFieldTypeResetDescription
31-2RESERVEDR0hReserved
1-0LGPT0R/W0hLGPT start

13.5.4 CTL Register (Offset = Ch) [Reset = 00000000h]

CTL is shown in Table 13-9.

Return to the Summary Table.

Timer Control

Table 13-9 CTL Register Field Descriptions
BitFieldTypeResetDescription
31-12RESERVEDR0hReserved
11RESERVEDR0hReserved
10C2RSTW0hChannel 2 reset.
  • 0h = No effect.
  • 1h = Reset [C2CC.*], [PC2CC.*], and [C2CFG.*].
9C1RSTW0hChannel 1 reset.
  • 0h = No effect.
  • 1h = Reset [C1CC.*], [PC1CC.*], and [C1CFG.*].
8C0RSTW0hChannel 0 reset.
  • 0h = No effect.
  • 1h = Reset [C0CC], PC0CC, and C0CFG.
7-6RESERVEDR0hReserved
5INTPR/W0hInterrupt Phase. This bit field controls when the TGT and ZERO interrupts are set.
  • 0h = TGT and ZERO are set one system clock cycle after [CNTR.*] = TARGET/ZERO.
  • 1h = TGT and ZERO are set one timer clock cycle after [CNTR.*] = TARGET/ZERO.
4-3CMPDIRR/W0hCompare direction. This bit field controls the direction the counter must have in order to set the [RIS.*] compare interrupts.
  • 0h = Compare [RIS.*] fields are set on up count and down count.
  • 1h = Compare [RIS.*] fields are only set on up count.
  • 2h = Compare [RIS.*] fields are only set on down count.
  • 3h = RESERVED
2-0MODER/W0hTimer mode control The [CNTR.*] restarts from 0 when MODE is written to UP_ONCE, UP_PER, UPDWN_PER, QDEC, SYNC_UP_ONCE, SYNC_UP_PER or SYNC_UPDWN_PER. When writing MODE all internally queued updates to the channels and [TGT.*] is cleared. When configuring the timer, MODE should be the last thing to configure. If changing timer configuration after MODE has been set is necessary, instructions, if any, given in the configuration registers should be followed. See for example [C0CFG.*].
  • 0h = Disable timer. Updates to counter, channels, and events stop.
  • 1h = Count up once. The timer increments from 0 to target value, then stops and sets MODE to DIS.
  • 2h = Count up periodically. The timer increments from 0 to target value, repeatedly. Period = (target value + 1) * timer clock period
  • 3h = Count up and down periodically. The timer counts from 0 to target value and back to 0, repeatedly. Period = (target value * 2) * timer clock period
  • 4h = The timer functions as a quadrature decoder. IOC input 0, IOC input 1 and IOC input 2 are used respectively as PHA, PHB and IDX inputs. IDX can be turned off by setting EDGE = NONE. The timer clock frequency sets the sample rate of the QDEC logic. This frequency can be configured in [PRECFG.*].
  • 5h = Start counting up once synchronous to another LGPT, selected within [STARTCFG.*]. The timer is started by setting MODE = UP_ONCE automatically. It then functions as a normal timer in MODE = UP_ONCE, incrementing from 0 to target value, then stops and sets MODE to DIS.
  • 6h = Start counting up periodically synchronous to another LGPT, selected within [STARTCFG.*]. The timer is started by setting MODE = UP_PER automatically. It then operates as a normal timer in MODE = UP_PER, incrementing from 0 to target value, repeatedly. Period = (target value * 2) * timer clock period
  • 7h = Start counting up and down periodically synchronous to another LGPT, selected within [STARTCFG.*]. The timer is started by setting MODE = UPDWN_PER automatically. It then operates as a normal timer in MODE = UPDWN_PER, counting from 0 to target value and back to 0, repeatedly. Period = (target value * 2) * timer clock period

13.5.5 OUTCTL Register (Offset = 10h) [Reset = 00000000h]

OUTCTL is shown in Table 13-10.

Return to the Summary Table.

Output Control Set and clear individual outputs manually. Manual update of an output takes priority over automatic channel updates to the same output. It is not possible to set and clear an output at the same time, such requests will be neglected. An output can be automatically cleared, set, toggled, or pulsed by each channel, listed in decreasing order of priority. The action with highest priority happens when multiple channels want to update an output at the same time. All outputs are connected to the event fabric and the IO controller. The outputs going to the IO controller have an additional complementary output, this output is the inverted IO output. Both the IO and the IO complementary outputs are passed through an IO Controller, see [IOCTL.*].

Table 13-10 OUTCTL Register Field Descriptions
BitFieldTypeResetDescription
31-8RESERVEDR0hReserved
7RESERVEDR0hReserved
6RESERVEDR0hReserved
5SETOUT2W0hSet output 2. Write 1 to set output 2.
4CLROUT2W0hClear output 2. Write 1 to clear output 2.
3SETOUT1W0hSet output 1. Write 1 to set output 1.
2CLROUT1W0hClear output 1. Write 1 to clear output 1.
1SETOUT0W0hSet output 0. Write 1 to set output 0.
0CLROUT0W0hClear output 0. Write 1 to clear output 0.

13.5.6 CNTR Register (Offset = 14h) [Reset = 00000000h]

CNTR is shown in Table 13-11.

Return to the Summary Table.

Counter The counter of this timer. After MODE is set the counter updates at the rate specified in [PRECFG.*].

Table 13-11 CNTR Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hCurrent counter value. If MODE = QDEC this can be used to set the initial counter value during QDEC.

13.5.7 PRECFG Register (Offset = 18h) [Reset = 00000000h]

PRECFG is shown in Table 13-12.

Return to the Summary Table.

Clock Prescaler Configuration This register is used to set the timer clock period. The prescaler is a counter which counts down from the value TICKDIV. When the prescaler counter reaches zero, [CNTR.*] is updated. The field TICKDIV effectively divides the prescaler tick source. The timer clock frequency can be calculated as TICKSRC/(TICKDIV+1).

Table 13-12 PRECFG Register Field Descriptions
BitFieldTypeResetDescription
31-16RESERVEDR0hReserved
15-8TICKDIVR/W0hTick division. TICKDIV determines the timer clock frequency for the counter, and timer output updates. The timer clock frequency is the clock selected by TICKSRC divided by (TICKDIV + 1). This inverse is the timer clock period. 0x00: Divide by 1. 0x01: Divide by 2. ... 0xFF: Divide by 256.
7-2RESERVEDR0hReserved
1-0TICKSRCR/W0hPrescaler tick source. TICKSRC determines the source which decrements the prescaler.
  • 0h = Prescaler is updated at the system clock.
  • 1h = Prescaler is updated at the rising edge of TICKEN.
  • 2h = Prescaler is updated at the falling edge of TICKEN.
  • 3h = Prescaler is updated at both edges of TICKEN.

13.5.8 PREEVENT Register (Offset = 1Ch) [Reset = 00000000h]

PREEVENT is shown in Table 13-13.

Return to the Summary Table.

Prescaler Event This register is used to output a logic high signal before the zero crossing of the prescaler counter. The output is routed to the IOC.

Table 13-13 PREEVENT Register Field Descriptions
BitFieldTypeResetDescription
31-8RESERVEDR0hReserved
7-0VALR/W0hSets the HIGH time of the prescaler event output. Event goes high when the prescaler counter equals [VAL]. Event goes low when prescaler counter is 0. Note: - Can be used to precharge or turn an external component on for a short time before sampling, like in QDEC. - If there is a requirement to create such events that have very short periods compared to timer clock period, use two timers. One timer acts as prescaler and event generator for another timer.

13.5.9 DMA Register (Offset = 3Ch) [Reset = 00000000h]

DMA is shown in Table 13-14.

Return to the Summary Table.

Direct Memory Access This register is used to enable DMA requests from the timer and set the register addresses which the DMA will access (read/write). Choose DMA request source by setting the REQ field. The setting of the corresponding interrupt in the [RIS.*] registers also sets the DMA request. Upon a DMA request defined by REQ an internal address pointer is set to Address*4. Every access to [DMARW.*] will increment the internal pointer by 4 such that the next DMA access will be to the next register. The internal pointer will stop after RWC increments. Further access will be ignored.

Table 13-14 DMA Register Field Descriptions
BitFieldTypeResetDescription
31-20RESERVEDR0hReserved
19-16RWCR/W0hThe read/write counter. RWCNTR+1 is the number of times the DMA can access (read/write) the DMARW register. For each DMA access to DMARW an internal counter is incremented, writing to the next address field. Address + 4*RWC is the final register address which can be accessed by the DMA.
15RESERVEDR0hReserved
14-8AddressR/W0hThe base address which the DMA access when reading/writing DMARW. The base address is set by taking the 9 LSB of the physical address and divide by 4. For example, if you wanted the Address to point to the PTGT register you should set Address = 0x0FC/4.
7-3RESERVEDR0hReserved
2-0REQR/W0hDMA request trigger
  • 0h = Disabled
  • 1h = Setting of TGT generates a DMA request.
  • 2h = Setting of ZERO generates a DMA request.
  • 3h = Setting of FAULT generates a DMA request.
  • 4h = Setting of C0CC generates a DMA request.
  • 5h = Setting of C1CC generates a DMA request.
  • 6h = Setting of C2CC generates a DMA request.
  • 7h = Setting of C3CC generates a DMA request.

13.5.10 DMARW Register (Offset = 40h) [Reset = 00000000h]

DMARW is shown in Table 13-15.

Return to the Summary Table.

Direct Memory Access This register is used by the DMA to access (read/write) register inside this LGPT module. Each access to this register will increment the internal DMA address counter. See [DMA.*] for description.

Table 13-15 DMARW Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hDMA read write value. The value that is read/written from/to the registers.

13.5.11 ADCTRG Register (Offset = 44h) [Reset = 00000000h]

ADCTRG is shown in Table 13-16.

Return to the Summary Table.

ADC Trigger This register is used to enable ADC trigger from the timer. Choose ADC trigger source by setting the SRC field. The setting of the corresponding interrupt in the [RIS.*] registers also sets the ADC trigger.

Table 13-16 ADCTRG Register Field Descriptions
BitFieldTypeResetDescription
31-3RESERVEDR0hReserved
2-0SRCR/W0hADC request trigger
  • 0h = Disabled
  • 1h = Setting of TGT generates an ADC trigger.
  • 2h = Setting of ZERO generates an ADC trigger.
  • 3h = Setting of FAULT generates an ADC trigger.
  • 4h = Setting of C0CC generates an ADC trigger.
  • 5h = Setting of C1CC generates an ADC trigger.
  • 6h = Setting of C2CC generates an ADC trigger.
  • 7h = Setting of C3CC generates an ADC trigger.

13.5.12 IOCTL Register (Offset = 48h) [Reset = 00000000h]

IOCTL is shown in Table 13-17.

Return to the Summary Table.

IO Controller This register controls the IO outputs.

Table 13-17 IOCTL Register Field Descriptions
BitFieldTypeResetDescription
31-16RESERVEDR0hReserved
15-14RESERVEDR0hReserved
13-12RESERVEDR0hReserved
11-10COUT2R/W0hIO complementary output 2 control This bit field controls IO complementary output 2.
  • 0h = Normal output. The IO complementary output is not changed.
  • 1h = Driven low. The IO complementary output is driven low.
  • 2h = Driven high. The IO complementary output is driven high.
  • 3h = Inverted value. The IO complementary output is inverted.
9-8OUT2R/W0hIO output 2 control This bit field controls IO output 2.
  • 0h = Normal output. The IO output is not changed.
  • 1h = Driven low. The IO output is driven low.
  • 2h = Driven high. The IO output is driven high.
  • 3h = Inverted value. The IO output is inverted.
7-6COUT1R/W0hIO complementary output 1 control This bit field controls IO complementary output 1.
  • 0h = Normal output. The IO complementary output is not changed.
  • 1h = Driven low. The IO complementary output is driven low.
  • 2h = Driven high. The IO complementary output is driven high.
  • 3h = Inverted value. The IO complementary output is inverted.
5-4OUT1R/W0hIO output 1 control This bit field controls IO output 1.
  • 0h = Normal output. The IO output is not changed.
  • 1h = Driven low. The IO output is driven low.
  • 2h = Driven high. The IO output is driven high.
  • 3h = Inverted value. The IO output is inverted.
3-2COUT0R/W0hIO complementary output 0 control This bit field controls IO complementary output 0.
  • 0h = Normal output. The IO complementary output is not changed.
  • 1h = Driven low. The IO complementary output is driven low.
  • 2h = Driven high. The IO complementary output is driven high.
  • 3h = Inverted value. The IO complementary output is inverted.
1-0OUT0R/W0hIO output 0 control This bit field controls IO output 0.
  • 0h = Normal output. The IO output is not changed.
  • 1h = Driven low. The IO output is driven low.
  • 2h = Driven high. The IO output is driven high.
  • 3h = Inverted value. The IO output is inverted.

13.5.13 IMASK Register (Offset = 68h) [Reset = 00000000h]

IMASK is shown in Table 13-18.

Return to the Summary Table.

Interrupt mask. This register selects interrupt sources which are allowed to pass from [RIS.*] to [MIS.*] when the corresponding bit-fields are set to 1.

Table 13-18 IMASK Register Field Descriptions
BitFieldTypeResetDescription
31-12RESERVEDR0hReserved
11RESERVEDR0hReserved
10C2CCR/W0hEnable C2CC interrupt.
  • 0h = Disable
  • 1h = Enable
9C1CCR/W0hEnable C1CC interrupt.
  • 0h = Disable
  • 1h = Enable
8C0CCR/W0hEnable C0CC interrupt.
  • 0h = Disable
  • 1h = Enable
7RESERVEDR0hReserved
6FAULTR/W0hEnable FAULT interrupt.
  • 0h = Disable
  • 1h = Enable
5IDXR/W0hEnable IDX interrupt.
  • 0h = Disable
  • 1h = Enable
4DIRCHNGR/W0hEnable DIRCHNG interrupt.
  • 0h = Disable
  • 1h = Enable
3CNTRCHNGR/W0hEnable CNTRCHNG interrupt.
  • 0h = Disable
  • 1h = Enable
2DBLTRANSR/W0hEnable DBLTRANS interrupt.
  • 0h = Disable
  • 1h = Enable
1ZEROR/W0hEnable ZERO interrupt.
  • 0h = Disable
  • 1h = Enable
0TGTR/W0hEnable TGT interrupt.
  • 0h = Disable
  • 1h = Enable

13.5.14 RIS Register (Offset = 6Ch) [Reset = 00000000h]

RIS is shown in Table 13-19.

Return to the Summary Table.

Raw interrupt status. This register reflects the state of all pending interrupts, regardless of masking. This register allows the user to implement a poll scheme. A flag set in this register can be cleared by writing 1 to the corresponding [ICLR.*] register bit.

Table 13-19 RIS Register Field Descriptions
BitFieldTypeResetDescription
31-12RESERVEDR0hReserved
11RESERVEDR0hReserved
10C2CCR0hStatus of the [C2CC] interrupt. The interrupt is set when [C2CC] has capture or compare event.
  • 0h = Cleared
  • 1h = Set
9C1CCR0hStatus of the [C1CC] interrupt. The interrupt is set when [C1CC] has capture or compare event.
  • 0h = Cleared
  • 1h = Set
8C0CCR0hStatus of the [C0CC] interrupt. The interrupt is set when [C0CC] has capture or compare event.
  • 0h = Cleared
  • 1h = Set
7RESERVEDR0hReserved
6FAULTR0hStatus of the [FAULT] interrupt. The interrupt is set immediately on active fault input.
  • 0h = Cleared
  • 1h = Set
5IDXR0hStatus of the [IDX] interrupt. The interrupt is set when [IDX] is active.
  • 0h = Cleared
  • 1h = Set
4DIRCHNGR0hStatus of the [DIRCHNG] interrupt. The interrupt is set when the direction of the counter changes.
  • 0h = Cleared
  • 1h = Set
3CNTRCHNGR0hStatus of the [CNTRCHNG] interrupt. The interrupt is set when the counter increments or decrements.
  • 0h = Cleared
  • 1h = Set
2DBLTRANSR0hStatus of the [DBLTRANS] interrupt. The interrupt is set when a double transition has happened during QDEC mode.
  • 0h = Cleared
  • 1h = Set
1ZEROR0hStatus of the [ZERO] interrupt. The interrupt is set when [CNTR.*] = 0.
  • 0h = Cleared
  • 1h = Set
0TGTR0hStatus of the [TGT] interrupt. The interrupt is set when [CNTR.*] = [TGT.*].
  • 0h = Cleared
  • 1h = Set

13.5.15 MIS Register (Offset = 70h) [Reset = 00000000h]

MIS is shown in Table 13-20.

Return to the Summary Table.

Masked interrupt status. This register is simply a bit-wise AND of the contents of [IMASK.*] and RIS.*] registers. A flag set in this register can be cleared by writing 1 to the corresponding [ICLR.*] register bit.

Table 13-20 MIS Register Field Descriptions
BitFieldTypeResetDescription
31-12RESERVEDR0hReserved
11RESERVEDR0hReserved
10C2CCR0hMasked status of the C2CC interrupt.
  • 0h = Cleared
  • 1h = Set
9C1CCR0hMasked status of the C1CC interrupt.
  • 0h = Cleared
  • 1h = Set
8C0CCR0hMasked status of the C0CC interrupt.
  • 0h = Cleared
  • 1h = Set
7RESERVEDR0hReserved
6FAULTR0hMasked status of the FAULT interrupt.
  • 0h = Cleared
  • 1h = Set
5IDXR0hMasked status of the IDX interrupt.
  • 0h = Cleared
  • 1h = Set
4DIRCHNGR0hMasked status of the DIRCHNG interrupt.
  • 0h = Cleared
  • 1h = Set
3CNTRCHNGR0hMasked status of the CNTRCHNG interrupt.
  • 0h = Cleared
  • 1h = Set
2DBLTRANSR0hMasked status of the DBLTRANS interrupt.
  • 0h = Cleared
  • 1h = Set
1ZEROR0hMasked status of the ZERO interrupt.
  • 0h = Cleared
  • 1h = Set
0TGTR0hMasked status of the TGT interrupt.
  • 0h = Cleared
  • 1h = Set

13.5.16 ISET Register (Offset = 74h) [Reset = 00000000h]

ISET is shown in Table 13-21.

Return to the Summary Table.

Interrupt set register. This register can used by software for diagnostics and safety checking purposes. Writing a 1 to a bit in this register will set the event and the corresponding [RIS.*] bit also gets set. If the corresponding [IMASK.*] bit is set, then the corresponding [MIS.*] register bit also gets set.

Table 13-21 ISET Register Field Descriptions
BitFieldTypeResetDescription
31-12RESERVEDR0hReserved
11RESERVEDR0hReserved
10C2CCW0hSet the C2CC interrupt.
  • 0h = No effect
  • 1h = Set
9C1CCW0hSet the C1CC interrupt.
  • 0h = No effect
  • 1h = Set
8C0CCW0hSet the C0CC interrupt.
  • 0h = No effect
  • 1h = Set
7RESERVEDR0hReserved
6FAULTW0hSet the FAULT interrupt.
  • 0h = No effect
  • 1h = Set
5IDXW0hSet the IDX interrupt.
  • 0h = No effect
  • 1h = Set
4DIRCHNGW0hSet the DIRCHNG interrupt.
  • 0h = No effect
  • 1h = Set
3CNTRCHNGW0hSet the CNTRCHNG interrupt.
  • 0h = No effect
  • 1h = Set
2DBLTRANSW0hSet the DBLTRANS interrupt.
  • 0h = No effect
  • 1h = Set
1ZEROW0hSet the ZERO interrupt.
  • 0h = No effect
  • 1h = Set
0TGTW0hSet the TGT interrupt.
  • 0h = No effect
  • 1h = Set

13.5.17 ICLR Register (Offset = 78h) [Reset = 00000000h]

ICLR is shown in Table 13-22.

Return to the Summary Table.

Interrupt clear register. This register allows software to clear interrupts. Writing a 1 to a bit in this register will clear the event and the corresponding [RIS.*] bit also gets cleared. If the corresponding [IMASK.*] bit is set, then the corresponding [MIS.*] register bit also gets cleared.

Table 13-22 ICLR Register Field Descriptions
BitFieldTypeResetDescription
31-12RESERVEDR0hReserved
11RESERVEDR0hReserved
10C2CCW0hClear the C2CC interrupt.
  • 0h = No effect
  • 1h = Clear
9C1CCW0hClear the C1CC interrupt.
  • 0h = No effect
  • 1h = Clear
8C0CCW0hClear the C0CC interrupt.
  • 0h = No effect
  • 1h = Clear
7RESERVEDR0hReserved
6FAULTW0hClear the FAULT interrupt.
  • 0h = No effect
  • 1h = Clear
5IDXW0hClear the IDX interrupt.
  • 0h = No effect
  • 1h = Clear
4DIRCHNGW0hClear the DIRCHNG interrupt.
  • 0h = No effect
  • 1h = Clear
3CNTRCHNGW0hClear the CNTRCHNG interrupt.
  • 0h = No effect
  • 1h = Clear
2DBLTRANSW0hClear the DBLTRANS interrupt.
  • 0h = No effect
  • 1h = Clear
1ZEROW0hClear the ZERO interrupt.
  • 0h = No effect
  • 1h = Clear
0TGTW0hClear the TGT interrupt.
  • 0h = No effect
  • 1h = Clear

13.5.18 IMSET Register (Offset = 7Ch) [Reset = 00000000h]

IMSET is shown in Table 13-23.

Return to the Summary Table.

Interrupt mask set register. Writing a 1 to a bit in this register will set the corresponding [IMASK.*] bit.

Table 13-23 IMSET Register Field Descriptions
BitFieldTypeResetDescription
31-12RESERVEDR0hReserved
11RESERVEDR0hReserved
10C2CCW0hSet the C2CC mask.
  • 0h = No effect
  • 1h = Set
9C1CCW0hSet the C1CC mask.
  • 0h = No effect
  • 1h = Set
8C0CCW0hSet the C0CC mask.
  • 0h = No effect
  • 1h = Set
7RESERVEDR0hReserved
6FAULTW0hSet the FAULT mask.
  • 0h = No effect
  • 1h = Set
5IDXW0hSet the IDX mask.
  • 0h = No effect
  • 1h = Set
4DIRCHNGW0hSet the DIRCHNG mask.
  • 0h = No effect
  • 1h = Set
3CNTRCHNGW0hSet the CNTRCHNG mask.
  • 0h = No effect
  • 1h = Set
2DBLTRANSW0hSet the DBLTRANS mask.
  • 0h = No effect
  • 1h = Set
1ZEROW0hSet the ZERO mask.
  • 0h = No effect
  • 1h = Set
0TGTW0hSet the TGT mask.
  • 0h = No effect
  • 1h = Set

13.5.19 IMCLR Register (Offset = 80h) [Reset = 00000000h]

IMCLR is shown in Table 13-24.

Return to the Summary Table.

Interrupt mask clear register. Writing a 1 to a bit in this register will clear the corresponding [IMASK.*] bit.

Table 13-24 IMCLR Register Field Descriptions
BitFieldTypeResetDescription
31-12RESERVEDR0hReserved
11RESERVEDR0hReserved
10C2CCW0hClear the C2CC mask.
  • 0h = No effect
  • 1h = Clear
9C1CCW0hClear the C1CC mask.
  • 0h = No effect
  • 1h = Clear
8C0CCW0hClear the C0CC mask.
  • 0h = No effect
  • 1h = Clear
7RESERVEDR0hReserved
6FAULTW0hClear the FAULT mask.
  • 0h = No effect
  • 1h = Clear
5IDXW0hClear the IDX mask.
  • 0h = No effect
  • 1h = Clear
4DIRCHNGW0hClear the DIRCHNG mask.
  • 0h = No effect
  • 1h = Clear
3CNTRCHNGW0hClear the CNTRCHNG mask.
  • 0h = No effect
  • 1h = Clear
2DBLTRANSW0hClear the DBLTRANS mask.
  • 0h = No effect
  • 1h = Clear
1ZEROW0hClear the ZERO mask.
  • 0h = No effect
  • 1h = Clear
0TGTW0hClear the TGT mask.
  • 0h = No effect
  • 1h = Clear

13.5.20 EMU Register (Offset = 84h) [Reset = 00000000h]

EMU is shown in Table 13-25.

Return to the Summary Table.

Debug control This register can be used to freeze the timer when CPU halts when HALT is set to 1. When HALT is set to 0, or when the CPU releases debug halt, the filters and edge detection logic is flushed and the timer starts. For setting a predefined output value during a CPU debug halt, [PARK.*], if the timer has this register, should be configured additionally. If this timer does not have the [PARK.*] register a predefined output value during CPU halt is not possible.

Table 13-25 EMU Register Field Descriptions
BitFieldTypeResetDescription
31-2RESERVEDR0hReserved
1CTLR/W0hHalt control. Configure when the counter shall stop upon CPU halt. This bitfield only applies if HALT = 1.
  • 0h = Immediate reaction. The counter stops immediately on debug halt.
  • 1h = Zero condition. The counter stops when [CNTR.*] = 0.
0HALTR/W0hHalt LGPT when CPU is halted in debug.
  • 0h = Disable.
  • 1h = Enable.

13.5.21 C0CFG Register (Offset = C0h) [Reset = 00000000h]

C0CFG is shown in Table 13-26.

Return to the Summary Table.

Channel 0 Configuration This register configures channel function and enables outputs. Each channel has an edge-detection circuit. The the edge-detection circuit is: - enabled while [CCACT] selects a capture function and MODE is different from DIS. - flushed while [CCACT] selects a capture function and MODE is changed from DIS to another mode. The flush action uses two system clock periods. It prevents capture events caused by expired signal values stored in the edge-detection circuit. The channel input signal enters the edge-detection circuit. False capture events can occur when: - the edge-detection circuit contains expired signal samples and the circuit is enabled without flush as described above. - the [CCACT] field is reconfigured while CTL.MODE is different from DIS. Primary use scenario is to select [CCACT] before starting the timer. Follow these steps to configure [CCACT] to a capture action while MODE is different from DIS: - Set [EDGE] to NONE. - Configure [CCACT]. - Wait for three system clock periods before setting [EDGE] different from NONE. These steps prevent capture events caused by expired signal values in edge-detection circuit.

Table 13-26 C0CFG Register Field Descriptions
BitFieldTypeResetDescription
31-12RESERVEDR0hReserved
11RESERVEDR0hReserved
10OUT2R/W0hOutput 2 enable. When 0 < [CCACT] < 8, OUT2 becomes zero after a capture or compare event.
  • 0h = Channel 0 does not control output 2.
  • 1h = Channel 0 controls output 2.
9OUT1R/W0hOutput 1 enable. When 0 < [CCACT] < 8, OUT1 becomes zero after a capture or compare event.
  • 0h = Channel 0 does not control output 1.
  • 1h = Channel 0 controls output 1.
8OUT0R/W0hOutput 0 enable. When 0 < [CCACT] < 8, OUT0 becomes zero after a capture or compare event.
  • 0h = Channel 0 does not control output 0.
  • 1h = Channel 0 controls output 0.
7RESERVEDR0hReserved
6INPUTR/W0hSelect channel input.
  • 0h = Event fabric
  • 1h = IO controller
5-4EDGER/W0hDetermines the edge that triggers the channel input event. This happens post filter.
  • 0h = Input is turned off.
  • 1h = Input event is triggered at rising edge.
  • 2h = Input event is triggered at falling edge.
  • 3h = Input event is triggered at both edges.
3-0CCACTR/W0hCapture-Compare action. Capture-Compare action defines 15 different channel functions that utilize capture, compare, and zero events. In every compare event the timer looks at the current value of [CNTR.*]. The corresponding output event will be set 1 timer period after [CNTR.*] = [C0CC.*].
  • 0h = Disable channel.
  • 1h = Set on capture, and then disable channel. Channel function sequence: - Set enabled outputs on capture event and copy VAL to VAL. - Disable channel. Primary use scenario is to select this function before starting the timer. Follow these steps to select this function while MODE is different from DIS: - Set CCACT to SET_ON_CAPT with no output enable. - Configure [INPUT] (optional). - Wait for three timer clock periods as defined in [PRECFG.*] before setting CCACT to SET_ON_CAPT_DIS. Output enable is optional. These steps prevent capture events caused by expired signal values in edge-detection circuit.
  • 2h = Clear on zero, toggle on compare, and then disable channel. Channel function sequence: - Clear enabled outputs when VAL = 0. - Toggle enabled outputs when VAL = VAL. - Disable channel. Enabled outputs are set when VAL = 0 and VAL = 0.
  • 3h = Set on zero, toggle on compare, and then disable channel. Channel function sequence: - Set enabled outputs when VAL = 0. - Toggle enabled outputs when VAL = VAL. - Disable channel. Enabled outputs are cleared when VAL = 0 and VAL = 0.
  • 4h = Clear on compare, and then disable channel. Channel function sequence: - Clear enabled outputs when VAL = VAL. - Disable channel.
  • 5h = Set on compare, and then disable channel. Channel function sequence: - Set enabled outputs when VAL = VAL. - Disable channel.
  • 6h = Toggle on compare, and then disable channel. Channel function sequence: - Toggle enabled outputs when VAL = VAL. - Disable channel.
  • 7h = Pulse on compare, and then disable channel. Channel function sequence: - Pulse enabled outputs when VAL = VAL. - Disable channel. The output is high for two timer clock periods.
  • 8h = Period and pulse width measurement. Continuously capture period and pulse width of the signal selected by [INPUT] relative to the signal edge given by [EDGE]. Set enabled outputs and C0CC when VAL contains signal period and VAL contains signal pulse width. Notes: - Make sure to configure [INPUT] and CCACT when MODE equals DIS, then set MODE to UP_ONCE or UP_PER. - The counter restarts in the selected timer mode when VAL contains the signal period. - If more than one channel uses this function, the channels will perform this function one at a time. The channel with lowest number has priority and performs the function first. Next measurement starts when current measurement completes successfully or times out. A timeout occurs when counter equals target. - To observe a timeout event the TGT interrupt can be used, or another channel can be configured to SET_ON_CMP with compare value equal [TGT]. Signal property requirements: - Signal Period >= 2 * ( 1 + TICKDIV ) * timer clock period. - Signal Period <= MAX([CNTR.*]) * (1 + TICKDIV ) * timer clock period. - Signal low and high phase >= (1 + TICKDIV ) * timer clock period.
  • 9h = Set on capture repeatedly. Channel function sequence: - Set enabled outputs on capture event and copy VAL to VAL.
  • Ah = Clear on zero, toggle on compare repeatedly. Channel function sequence: - Clear enabled outputs when VAL = 0. - Toggle enabled outputs when VAL = VAL. Set MODE to UPDWN_PER for center-aligned PWM generation. Duty cycle is given by: When VAL <= VAL: Duty cycle = 1 - ( VAL / VAL ). When VAL > VAL: Duty cycle = 0. Enabled outputs are set when VAL = 0 and VAL = 0.
  • Bh = Set on zero, toggle on compare repeatedly. Channel function sequence: - Set enabled outputs when VAL = 0. - Toggle enabled outputs when VAL = VAL. Set MODE to UP_PER for edge-aligned PWM generation. Duty cycle is given by: When VAL <= VAL: Duty cycle = VAL / ( VAL + 1 ). When VAL > VAL: Duty cycle = 1. Enabled outputs are cleared when VAL = 0 and VAL = 0.
  • Ch = Clear on compare repeatedly. Channel function sequence: - Clear enabled outputs when VAL = VAL.
  • Dh = Set on compare repeatedly. Channel function sequence: - Set enabled outputs when VAL = VAL.
  • Eh = Toggle on compare repeatedly. Channel function sequence: - Toggle enabled outputs when VAL = VAL.
  • Fh = Pulse on compare repeatedly. Channel function sequence: - Pulse enabled outputs when VAL = VAL. The output is high for two timer clock periods.

13.5.22 C1CFG Register (Offset = C4h) [Reset = 00000000h]

C1CFG is shown in Table 13-27.

Return to the Summary Table.

Channel 1 Configuration This register configures channel function and enables outputs. Each channel has an edge-detection circuit. The the edge-detection circuit is: - enabled while [CCACT] selects a capture function and MODE is different from DIS. - flushed while [CCACT] selects a capture function and MODE is changed from DIS to another mode. The flush action uses two system clock periods. It prevents capture events caused by expired signal values stored in the edge-detection circuit. The channel input signal enters the edge-detection circuit. False capture events can occur when: - the edge-detection circuit contains expired signal samples and the circuit is enabled without flush as described above. - the [CCACT] field is reconfigured while CTL.MODE is different from DIS. Primary use scenario is to select [CCACT] before starting the timer. Follow these steps to configure [CCACT] to a capture action while MODE is different from DIS: - Set [EDGE] to NONE. - Configure [CCACT]. - Wait for three system clock periods before setting [EDGE] different from NONE. These steps prevent capture events caused by expired signal values in edge-detection circuit.

Table 13-27 C1CFG Register Field Descriptions
BitFieldTypeResetDescription
31-12RESERVEDR0hReserved
11RESERVEDR0hReserved
10OUT2R/W0hOutput 2 enable. When 0 < [CCACT] < 8, OUT2 becomes zero after a capture or compare event.
  • 0h = Channel 1 does not control output 2.
  • 1h = Channel 1 controls output 2.
9OUT1R/W0hOutput 1 enable. When 0 < [CCACT] < 8, OUT1 becomes zero after a capture or compare event.
  • 0h = Channel 1 does not control output 1.
  • 1h = Channel 1 controls output 1.
8OUT0R/W0hOutput 0 enable. When 0 < [CCACT] < 8, OUT0 becomes zero after a capture or compare event.
  • 0h = Channel 1 does not control output 0.
  • 1h = Channel 1 controls output 0.
7RESERVEDR0hReserved
6INPUTR/W0hSelect channel input.
  • 0h = Event fabric
  • 1h = IO controller
5-4EDGER/W0hDetermines the edge that triggers the channel input event. This happens post filter.
  • 0h = Input is turned off.
  • 1h = Input event is triggered at rising edge.
  • 2h = Input event is triggered at falling edge.
  • 3h = Input event is triggered at both edges.
3-0CCACTR/W0hCapture-Compare action. Capture-Compare action defines 15 different channel functions that utilize capture, compare, and zero events. In every compare event the timer looks at the current value of [CNTR.*]. The corresponding output event will be set 1 timer period after [CNTR.*] = [C1CC.*].
  • 0h = Disable channel.
  • 1h = Set on capture, and then disable channel. Channel function sequence: - Set enabled outputs on capture event and copy VAL to VAL. - Disable channel. Primary use scenario is to select this function before starting the timer. Follow these steps to select this function while MODE is different from DIS: - Set CCACT to SET_ON_CAPT with no output enable. - Configure [INPUT] (optional). - Wait for three timer clock periods as defined in [PRECFG.*] before setting CCACT to SET_ON_CAPT_DIS. Output enable is optional. These steps prevent capture events caused by expired signal values in edge-detection circuit.
  • 2h = Clear on zero, toggle on compare, and then disable channel. Channel function sequence: - Clear enabled outputs when VAL = 0. - Toggle enabled outputs when VAL = VAL. - Disable channel. Enabled outputs are set when VAL = 0 and VAL = 0.
  • 3h = Set on zero, toggle on compare, and then disable channel. Channel function sequence: - Set enabled outputs when VAL = 0. - Toggle enabled outputs when VAL = VAL. - Disable channel. Enabled outputs are cleared when VAL = 0 and VAL = 0.
  • 4h = Clear on compare, and then disable channel. Channel function sequence: - Clear enabled outputs when VAL = VAL. - Disable channel.
  • 5h = Set on compare, and then disable channel. Channel function sequence: - Set enabled outputs when VAL = VAL. - Disable channel.
  • 6h = Toggle on compare, and then disable channel. Channel function sequence: - Toggle enabled outputs when VAL = VAL. - Disable channel.
  • 7h = Pulse on compare, and then disable channel. Channel function sequence: - Pulse enabled outputs when VAL = VAL. - Disable channel. The output is high for two timer clock periods.
  • 8h = Period and pulse width measurement. Continuously capture period and pulse width of the signal selected by [INPUT] relative to the signal edge given by [EDGE]. Set enabled outputs and C1CC when VAL contains signal period and VAL contains signal pulse width. Notes: - Make sure to configure [INPUT] and CCACT when MODE equals DIS, then set MODE to UP_ONCE or UP_PER. - The counter restarts in the selected timer mode when VAL contains the signal period. - If more than one channel uses this function, the channels will perform this function one at a time. The channel with lowest number has priority and performs the function first. Next measurement starts when current measurement completes successfully or times out. A timeout occurs when counter equals target. - To observe a timeout event the TGT interrupt can be used, or another channel can be configured to SET_ON_CMP with compare value equal [TGT]. Signal property requirements: - Signal Period >= 2 * ( 1 + TICKDIV ) * timer clock period. - Signal Period <= MAX([CNTR.*]) * (1 + TICKDIV ) * timer clock period. - Signal low and high phase >= (1 + TICKDIV ) * timer clock period.
  • 9h = Set on capture repeatedly. Channel function sequence: - Set enabled outputs on capture event and copy VAL to VAL.
  • Ah = Clear on zero, toggle on compare repeatedly. Channel function sequence: - Clear enabled outputs when VAL = 0. - Toggle enabled outputs when VAL = VAL. Set MODE to UPDWN_PER for center-aligned PWM generation. Duty cycle is given by: When VAL <= VAL: Duty cycle = 1 - ( VAL / VAL ). When VAL > VAL: Duty cycle = 0. Enabled outputs are set when VAL = 0 and VAL = 0.
  • Bh = Set on zero, toggle on compare repeatedly. Channel function sequence: - Set enabled outputs when VAL = 0. - Toggle enabled outputs when VAL = VAL. Set MODE to UP_PER for edge-aligned PWM generation. Duty cycle is given by: When VAL <= VAL: Duty cycle = VAL / ( VAL + 1 ). When VAL > VAL: Duty cycle = 1. Enabled outputs are cleared when VAL = 0 and VAL = 0.
  • Ch = Clear on compare repeatedly. Channel function sequence: - Clear enabled outputs when VAL = VAL.
  • Dh = Set on compare repeatedly. Channel function sequence: - Set enabled outputs when VAL = VAL.
  • Eh = Toggle on compare repeatedly. Channel function sequence: - Toggle enabled outputs when VAL = VAL.
  • Fh = Pulse on compare repeatedly. Channel function sequence: - Pulse enabled outputs when VAL = VAL. The output is high for two timer clock periods.

13.5.23 C2CFG Register (Offset = C8h) [Reset = 00000000h]

C2CFG is shown in Table 13-28.

Return to the Summary Table.

Channel 2 Configuration This register configures channel function and enables outputs. Each channel has an edge-detection circuit. The the edge-detection circuit is: - enabled while [CCACT] selects a capture function and MODE is different from DIS. - flushed while [CCACT] selects a capture function and MODE is changed from DIS to another mode. The flush action uses two system clock periods. It prevents capture events caused by expired signal values stored in the edge-detection circuit. The channel input signal enters the edge-detection circuit. False capture events can occur when: - the edge-detection circuit contains expired signal samples and the circuit is enabled without flush as described above. - the [CCACT] field is reconfigured while CTL.MODE is different from DIS. Primary use scenario is to select [CCACT] before starting the timer. Follow these steps to configure [CCACT] to a capture action while MODE is different from DIS: - Set [EDGE] to NONE. - Configure [CCACT]. - Wait for three system clock periods before setting [EDGE] different from NONE. These steps prevent capture events caused by expired signal values in edge-detection circuit.

Table 13-28 C2CFG Register Field Descriptions
BitFieldTypeResetDescription
31-12RESERVEDR0hReserved
11RESERVEDR0hReserved
10OUT2R/W0hOutput 2 enable. When 0 < [CCACT] < 8, OUT2 becomes zero after a capture or compare event.
  • 0h = Channel 2 does not control output 2.
  • 1h = Channel 2 controls output 2.
9OUT1R/W0hOutput 1 enable. When 0 < [CCACT] < 8, OUT1 becomes zero after a capture or compare event.
  • 0h = Channel 2 does not control output 1.
  • 1h = Channel 2 controls output 1.
8OUT0R/W0hOutput 0 enable. When 0 < [CCACT] < 8, OUT0 becomes zero after a capture or compare event.
  • 0h = Channel 2 does not control output 0.
  • 1h = Channel 2 controls output 0.
7RESERVEDR0hReserved
6INPUTR/W0hSelect channel input.
  • 0h = Event fabric
  • 1h = IO controller
5-4EDGER/W0hDetermines the edge that triggers the channel input event. This happens post filter.
  • 0h = Input is turned off.
  • 1h = Input event is triggered at rising edge.
  • 2h = Input event is triggered at falling edge.
  • 3h = Input event is triggered at both edges.
3-0CCACTR/W0hCapture-Compare action. Capture-Compare action defines 15 different channel functions that utilize capture, compare, and zero events. In every compare event the timer looks at the current value of [CNTR.*]. The corresponding output event will be set 1 timer period after [CNTR.*] = [C2CC.*].
  • 0h = Disable channel.
  • 1h = Set on capture, and then disable channel. Channel function sequence: - Set enabled outputs on capture event and copy VAL to VAL. - Disable channel. Primary use scenario is to select this function before starting the timer. Follow these steps to select this function while MODE is different from DIS: - Set CCACT to SET_ON_CAPT with no output enable. - Configure [INPUT] (optional). - Wait for three timer clock periods as defined in [PRECFG.*] before setting CCACT to SET_ON_CAPT_DIS. Output enable is optional. These steps prevent capture events caused by expired signal values in edge-detection circuit.
  • 2h = Clear on zero, toggle on compare, and then disable channel. Channel function sequence: - Clear enabled outputs when VAL = 0. - Toggle enabled outputs when VAL = VAL. - Disable channel. Enabled outputs are set when VAL = 0 and VAL = 0.
  • 3h = Set on zero, toggle on compare, and then disable channel. Channel function sequence: - Set enabled outputs when VAL = 0. - Toggle enabled outputs when VAL = VAL. - Disable channel. Enabled outputs are cleared when VAL = 0 and VAL = 0.
  • 4h = Clear on compare, and then disable channel. Channel function sequence: - Clear enabled outputs when VAL = VAL. - Disable channel.
  • 5h = Set on compare, and then disable channel. Channel function sequence: - Set enabled outputs when VAL = VAL. - Disable channel.
  • 6h = Toggle on compare, and then disable channel. Channel function sequence: - Toggle enabled outputs when VAL = VAL. - Disable channel.
  • 7h = Pulse on compare, and then disable channel. Channel function sequence: - Pulse enabled outputs when VAL = VAL. - Disable channel. The output is high for two timer clock periods.
  • 8h = Period and pulse width measurement. Continuously capture period and pulse width of the signal selected by [INPUT] relative to the signal edge given by [EDGE]. Set enabled outputs and C2CC when VAL contains signal period and VAL contains signal pulse width. Notes: - Make sure to configure [INPUT] and CCACT when MODE equals DIS, then set MODE to UP_ONCE or UP_PER. - The counter restarts in the selected timer mode when VAL contains the signal period. - If more than one channel uses this function, the channels will perform this function one at a time. The channel with lowest number has priority and performs the function first. Next measurement starts when current measurement completes successfully or times out. A timeout occurs when counter equals target. - To observe a timeout event the TGT interrupt can be used, or another channel can be configured to SET_ON_CMP with compare value equal [TGT]. Signal property requirements: - Signal Period >= 2 * ( 1 + TICKDIV ) * timer clock period. - Signal Period <= MAX([CNTR.*]) * (1 + TICKDIV ) * timer clock period. - Signal low and high phase >= (1 + TICKDIV ) * timer clock period.
  • 9h = Set on capture repeatedly. Channel function sequence: - Set enabled outputs on capture event and copy VAL to VAL.
  • Ah = Clear on zero, toggle on compare repeatedly. Channel function sequence: - Clear enabled outputs when VAL = 0. - Toggle enabled outputs when VAL = VAL. Set MODE to UPDWN_PER for center-aligned PWM generation. Duty cycle is given by: When VAL <= VAL: Duty cycle = 1 - ( VAL / VAL ). When VAL > VAL: Duty cycle = 0. Enabled outputs are set when VAL = 0 and VAL = 0.
  • Bh = Set on zero, toggle on compare repeatedly. Channel function sequence: - Set enabled outputs when VAL = 0. - Toggle enabled outputs when VAL = VAL. Set MODE to UP_PER for edge-aligned PWM generation. Duty cycle is given by: When VAL <= VAL: Duty cycle = VAL / ( VAL + 1 ). When VAL > VAL: Duty cycle = 1. Enabled outputs are cleared when VAL = 0 and VAL = 0.
  • Ch = Clear on compare repeatedly. Channel function sequence: - Clear enabled outputs when VAL = VAL.
  • Dh = Set on compare repeatedly. Channel function sequence: - Set enabled outputs when VAL = VAL.
  • Eh = Toggle on compare repeatedly. Channel function sequence: - Toggle enabled outputs when VAL = VAL.
  • Fh = Pulse on compare repeatedly. Channel function sequence: - Pulse enabled outputs when VAL = VAL. The output is high for two timer clock periods.

13.5.24 PTGT Register (Offset = FCh) [Reset = 00000000h]

PTGT is shown in Table 13-29.

Return to the Summary Table.

Pipeline Target A read or write to this register will clear the ZERO and TGT interrupt. If MODE != QDEC. Target value for next counter period. The timer will copy VAL to VAL on the upcoming [CNTR.*] zero crossing only if VAL has been written. The copy does not happen when restarting the timer. This is useful to avoid period jitter in PWM applications with time-varying period, sometimes referenced as phase corrected PWM. If MODE = QDEC The [CNTR.*] value is updated with VALUE on IDX if the counter is counting down. If the counter is counting up, [CNTR.*] is loaded with zero on IDX. In this mode the VALUE is not loaded into [TGT] on zero crossing.

Table 13-29 PTGT Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hThe pipleline target value.

13.5.25 PC0CC Register (Offset = 100h) [Reset = 00000000h]

PC0CC is shown in Table 13-30.

Return to the Summary Table.

Pipeline Channel 0 Capture Compare

Table 13-30 PC0CC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hPipeline Capture Compare value. User defined pipeline compare value or channel-updated capture value. A read or write to this register will clear the C0CC interrupt. Compare mode: An update of VAL will be transferred to VAL when the next VAL is zero and MODE is different from DIS. This is useful for PWM generation and prevents jitter on the edges of the generated signal. Capture mode: When CCACT equals PER_PULSE_WIDTH_MEAS then VAL contains the width of the low or high phase of the selected signal. This is specified by EDGE.

13.5.26 PC1CC Register (Offset = 104h) [Reset = 00000000h]

PC1CC is shown in Table 13-31.

Return to the Summary Table.

Pipeline Channel 1 Capture Compare

Table 13-31 PC1CC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hPipeline Capture Compare value. User defined pipeline compare value or channel-updated capture value. A read or write to this register will clear the C1CC interrupt. Compare mode: An update of VAL will be transferred to VAL when the next VAL is zero and MODE is different from DIS. This is useful for PWM generation and prevents jitter on the edges of the generated signal. Capture mode: When CCACT equals PER_PULSE_WIDTH_MEAS then VAL contains the width of the low or high phase of the selected signal. This is specified by EDGE.

13.5.27 PC2CC Register (Offset = 108h) [Reset = 00000000h]

PC2CC is shown in Table 13-32.

Return to the Summary Table.

Pipeline Channel 2 Capture Compare

Table 13-32 PC2CC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hPipeline Capture Compare value. User defined pipeline compare value or channel-updated capture value. A read or write to this register will clear the C2CC interrupt. Compare mode: An update of VAL will be transferred to VAL when the next VAL is zero and MODE is different from DIS. This is useful for PWM generation and prevents jitter on the edges of the generated signal. Capture mode: When CCACT equals PER_PULSE_WIDTH_MEAS then VAL contains the width of the low or high phase of the selected signal. This is specified by EDGE.

13.5.28 TGT Register (Offset = 13Ch) [Reset = 00000000h]

TGT is shown in Table 13-33.

Return to the Summary Table.

Target User defined counter target. A read or write to this register will clear the ZERO and TGT interrupt.

Table 13-33 TGT Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hUser defined counter target value.

13.5.29 C0CC Register (Offset = 140h) [Reset = 00000000h]

C0CC is shown in Table 13-34.

Return to the Summary Table.

Channel 0 Capture Compare

Table 13-34 C0CC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hCapture Compare value. User defined compare value or channel-updated capture value. A read or write to this register will clear the C0CC interrupt. Compare mode: VAL is compared against VAL and an event is generated as specified by CCACT when these are equal. Capture mode: The current counter value is stored in VAL when a capture event occurs. CCACT determines if VAL is a signal period or a regular capture value.

13.5.30 C1CC Register (Offset = 144h) [Reset = 00000000h]

C1CC is shown in Table 13-35.

Return to the Summary Table.

Channel 1 Capture Compare

Table 13-35 C1CC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hCapture Compare value. User defined compare value or channel-updated capture value. A read or write to this register will clear the C1CC interrupt. Compare mode: VAL is compared against VAL and an event is generated as specified by CCACT when these are equal. Capture mode: The current counter value is stored in VAL when a capture event occurs. CCACT determines if VAL is a signal period or a regular capture value.

13.5.31 C2CC Register (Offset = 148h) [Reset = 00000000h]

C2CC is shown in Table 13-36.

Return to the Summary Table.

Channel 2 Capture Compare

Table 13-36 C2CC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hCapture Compare value. User defined compare value or channel-updated capture value. A read or write to this register will clear the C2CC interrupt. Compare mode: VAL is compared against VAL and an event is generated as specified by CCACT when these are equal. Capture mode: The current counter value is stored in VAL when a capture event occurs. CCACT determines if VAL is a signal period or a regular capture value.

13.5.32 PTGTNC Register (Offset = 17Ch) [Reset = 00000000h]

PTGTNC is shown in Table 13-37.

Return to the Summary Table.

Pipeline Target No Clear Use this register to read or write to [PTGT.*] without clearing the ZERO and TGT interrupt.

Table 13-37 PTGTNC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hA read or write to this register will not clear the TGT interrupt. If MODE != QDEC. Target value for next counter period. The timer copies VAL to VAL when VAL becomes 0. The copy does not happen when restarting the timer. This is useful to avoid period jitter in **PWM** applications with time-varying period, sometimes referenced as phase corrected PWM. If MODE = QDEC. The VAL is updated with VAL on IDX. VAL is not loaded into VAL when VAL becomes 0.

13.5.33 PC0CCNC Register (Offset = 180h) [Reset = 00000000h]

PC0CCNC is shown in Table 13-38.

Return to the Summary Table.

Pipeline Channel 0 Capture Compare No Clear

Table 13-38 PC0CCNC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hPipeline Capture Compare value. User defined pipeline compare value or channel-updated capture value. A read or write to this register will not clear the C0CC interrupt. Compare mode: An update of VAL will be transferred to VAL when the next VAL is zero and MODE is different from DIS. This is useful for **PWM** generation and prevents jitter on the edges of the generated signal. Capture mode: When CCACT equals PER_PULSE_WIDTH_MEAS then VAL contains the width of the low or high phase of the selected signal. This is specified by EDGE.

13.5.34 PC1CCNC Register (Offset = 184h) [Reset = 00000000h]

PC1CCNC is shown in Table 13-39.

Return to the Summary Table.

Pipeline Channel 1 Capture Compare No Clear

Table 13-39 PC1CCNC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hPipeline Capture Compare value. User defined pipeline compare value or channel-updated capture value. A read or write to this register will not clear the C1CC interrupt. Compare mode: An update of VAL will be transferred to VAL when the next VAL is zero and MODE is different from DIS. This is useful for **PWM** generation and prevents jitter on the edges of the generated signal. Capture mode: When CCACT equals PER_PULSE_WIDTH_MEAS then VAL contains the width of the low or high phase of the selected signal. This is specified by EDGE.

13.5.35 PC2CCNC Register (Offset = 188h) [Reset = 00000000h]

PC2CCNC is shown in Table 13-40.

Return to the Summary Table.

Pipeline Channel 2 Capture Compare No Clear

Table 13-40 PC2CCNC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hPipeline Capture Compare value. User defined pipeline compare value or channel-updated capture value. A read or write to this register will not clear the C2CC interrupt. Compare mode: An update of VAL will be transferred to VAL when the next VAL is zero and MODE is different from DIS. This is useful for **PWM** generation and prevents jitter on the edges of the generated signal. Capture mode: When CCACT equals PER_PULSE_WIDTH_MEAS then VAL contains the width of the low or high phase of the selected signal. This is specified by EDGE.

13.5.36 TGTNC Register (Offset = 1BCh) [Reset = 00000000h]

TGTNC is shown in Table 13-41.

Return to the Summary Table.

Target No Clear Use this register to read or write to [TGT.*] without clearing the ZERO and TGT interrupt.

Table 13-41 TGTNC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hUser defined counter target value.

13.5.37 C0CCNC Register (Offset = 1C0h) [Reset = 00000000h]

C0CCNC is shown in Table 13-42.

Return to the Summary Table.

Channel 0 Capture Compare No Clear

Table 13-42 C0CCNC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hCapture Compare value. User defined compare value or channel-updated capture value. A read or write to this register will not clear the C0CC interrupt. Compare mode: VAL is compared against VAL and an event is generated as specified by CCACT when these are equal. Capture mode: The current counter value is stored in VAL when a capture event occurs. CCACT determines if VAL is a signal period or a regular capture value.

13.5.38 C1CCNC Register (Offset = 1C4h) [Reset = 00000000h]

C1CCNC is shown in Table 13-43.

Return to the Summary Table.

Channel 1 Capture Compare No Clear

Table 13-43 C1CCNC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hCapture Compare value. User defined compare value or channel-updated capture value. A read or write to this register will not clear the C1CC interrupt. Compare mode: VAL is compared against VAL and an event is generated as specified by CCACT when these are equal. Capture mode: The current counter value is stored in VAL when a capture event occurs. CCACT determines if VAL is a signal period or a regular capture value.

13.5.39 C2CCNC Register (Offset = 1C8h) [Reset = 00000000h]

C2CCNC is shown in Table 13-44.

Return to the Summary Table.

Channel 2 Capture Compare No Clear

Table 13-44 C2CCNC Register Field Descriptions
BitFieldTypeResetDescription
31-0VALR/W0hCapture Compare value. User defined compare value or channel-updated capture value. A read or write to this register will not clear the C2CC interrupt. Compare mode: VAL is compared against VAL and an event is generated as specified by CCACT when these are equal. Capture mode: The current counter value is stored in VAL when a capture event occurs. CCACT determines if VAL is a signal period or a regular capture value.

13.5.40 CLKCFG Register (Offset = 1000h) [Reset = 00000000h]

CLKCFG is shown in Table 13-45.

Return to the Summary Table.

Clock Enable Register

Table 13-45 CLKCFG Register Field Descriptions
BitFieldTypeResetDescription
31-1RESERVEDR0hReserved
0ENABLER/W0hGPTimer main clock Enable