41.1 Overview

The device provides three instances of the Timer/Counter for Control Applications (TCC).

Each TCC instance consists of a counter, a prescaler, compare/capture channels and control logic. The counter can be set to count events or clock pulses. The counter together with the compare/capture channels can be configured to time stamp input events, allowing capture of frequency and pulse-width. It can also perform waveform generation, such as frequency generation and pulse-width modulation.

Waveform extensions are featured for motor control, ballast, LED, H-bridge, power converters and other types of power control applications. They allow for low-side and high-side output with optional dead-time insertion. Waveform extensions can also generate a synchronized bit pattern across the waveform output pins. The fault options enable fault protection for safe and deterministic handling, disabling and/or shut-down of external drivers.

Note: The TCC configurations, such as channel numbers and features, may be reduced for some of the TCC instances.
Table 41-1. TCC Specific Configuration
Extensions
TCC No. Counter Size (SIZE) Host Link (Host_Client_MODE) (0 = NA, 1 = Host, 2 = Client) Channels (CC_NUM) Pins WO_NUM (OW_NUM) Fault

1=YES

Dithering

1=YES

OutMatrix

1=YES (OTMX)

Dead Time Insertion

1=YES (DTI)

Swap

1=YES (SWAP)

Pattern Generation

1=YES (PG)

0 24 1 6 6 1 1 1 1 1 1
1 24 2 6 6 1 1 1 1 1 1
2 16 0 2 2 1 0 1 0 0 0
Note: Traditional Timer/Counter for Control Applications (TCC) documentation uses the terminology “Master” and “Slave”. The equivalent Microchip terminology used in this document is “Host” and “Client”, respectively.