35.2 Features

  • Up to four Compare/Capture Channels (CC) with:
    • Double buffered period setting
    • Double buffered compare or capture channel
    • Circular buffer on period and compare channel registers
  • Waveform Generation:
    • Frequency generation
    • Single-slope Pulse-Width Modulation (PWM)
    • Dual-slope PWM with half-cycle reload capability
  • Input Capture:
    • Event capture
    • Frequency capture
    • Pulse-width capture
  • Waveform Extensions:
    • Configurable distribution of compare channels outputs across port pins
    • Low-side and high-side output with programmable dead-time insertion
    • Waveform swap option with double buffer support
    • Pattern generation with double buffer support
    • Dithering support
  • Fault Protection for Safe Disabling of Drivers:
    • Two recoverable fault sources
    • Two non-recoverable fault sources
    • Debugger can be a source of non-recoverable fault
  • Input Events:
    • Two input events (EVx) for counter
    • One input event (MCx) for each channel
  • Output Events:
    • Three output events (Count, re-trigger and overflow) are available for counter
    • One compare match/input capture event output for each channel
  • Interrupts:
    • Overflow and re-trigger interrupt
    • Compare match/input capture interrupt
    • Interrupt on fault detection
    • Counter cycle interrupt (INTFLAG.CNT)
    • Error condition interrupt (INTFLAG.ERR)
  • Can be Used with DMA and can Trigger DMA Transactions

The following table lists the features for each TCC instance.

Table 35-1. TCC Configuration Summary
TCC# Channels (CC_NUM) Waveform Output (WO_NUM) Counter size Fault Dithering Output matrix Dead Time Insertion
 (DTI) SWAP Pattern generation
0 4 8 24-bit Yes Yes Yes Yes Yes Yes
1 2 4 24-bit Yes Yes - - - Yes
2 2 2 16-bit Yes - - - - -
Note: The number of CC registers (CC_NUM) for each TCC corresponds to the number of compare/capture channels, hence a TCC can have more Waveform Outputs (WO_NUM) than the CC registers.