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.
| Feature | AVR® WEX | PIC32CM TCC Waveform Extensions |
|---|---|---|
| Complementary Outputs | Supported | Supported |
| Output Distribution | Input Matrix (INMX) with multiple routing modes | Output 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 Functionality | Four swap units for port pair or high/low side driver swap | Waveform swap option with double buffer support |
| Pattern Generation |
Double-buffered Can distribute one channel to all pins |
Double-buffered Dithering support |
| Dithering | N/A | Supported |
| Port Override/Disable |
Channel distribution to all pins Output disable on selectable port pins | N/A |
| Fault Protection | Event-controlled, instant and predictable triggering, fault blanking, multiple event inputs | Fault protection for safe and deterministic shutdown |
