5.3.2 Waveform Extensions (WEX)

AVR and PIC32CM Waveform Extensions enhance timer/counter peripherals for precise and safe waveform control in advanced motor, power, LED control, and similar applications. In older AVR devices (AT90PWM), the waveform extension features are provided by the Power Stage Controller (PSC) module.

Table 5-12 shows a comparison of features between AVR and PIC32CM.

Table 5-12. AVR® and PIC32CM WEX Features
FeatureAVR® WEXPIC32CM TCC Waveform Extensions
Complementary OutputsSupportedSupported
Output DistributionInput Matrix (INMX) with multiple routing modesOutput Matrix (OTMX) with multiple routing modes
Dead-Time Insertion

Four DTI units

Separate high-/low-side register

8-bit resolution

Double-buffered

Four DTI units

Common register

8-bit resolution

Double-buffered

Swap FunctionalityFour swap units for port pair or high/low side driver swapWaveform swap option with double buffer support
Pattern Generation

Double-buffered

Can distribute one channel to all pins

Double-buffered

Dithering support

Dithering N/ASupported
Port Override/Disable

Channel distribution to all pins

Output disable on selectable port pins

N/A
Fault ProtectionEvent-controlled, instant and predictable triggering, fault blanking, multiple event inputsFault protection for safe and deterministic shutdown