47.2 Features
The following are key features of the module:
- Up to six Compare/Capture Channels
(CC) with:
- Double buffered period setting
- Double buffered compare or capture channel
- Circular buffer on period and compare channel registers
- Input Capture:
- Event capture
- Frequency capture
- Pulse-width capture
- Waveform Generation:
- Frequency generation
- Single-slope pulse-width modulation (PWM)
- Dual-slope PWM with half-cycle reload capability
- 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 (TCCx_EV_0 , TCCx_EV_1) for counter
- One input event (TCCx_MC_y) for each channel (y=0,1,2...7)
- 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
- Can be used with DMA and can Trigger DMA Transactions
Feature Summary
TCC Instance | Capture-Compare
Channels | Waveform Output Channel Pins | Output Channels that Support Dithering | (OTMX) Output Matrix Channels Available | (DTI) Output Channels that Support Dead Time Insertion | (SWAP) Outputs Channels that Support HS / LS swapping | (PG) Output Channels that Support Pattern Generation | Counter Size |
---|---|---|---|---|---|---|---|---|
0 | 6 | 8 | 1 | 1 | 1 | 1 | 1 | 32-bit |
1 | 6 | 8 | 1 | 1 | 1 | 1 | 1 | 32-bit |
2 | 6 | 8 | 1 | 1 | 1 | 1 | 1 | 32-bit |
3 | 6 | 8 | 1 | 1 | 1 | 1 | 1 | 32-bit |
4 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 16-bit |
5 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 16-bit |
6 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 16-bit |
7 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 16-bit |