The Waveform Extension (WEX) provides extra functions to the timer/counter
in Waveform Generation (WG) modes. It is primarily intended for use in different types of
motor control and other power control applications. The WEX consists of five independent
and successive units.
Figure 24-1. Block Diagram Overview
The Input Matrix (INMX) can distribute and route out the waveform
outputs from the connected timer/counter across the port pins in different
configurations, each optimized for different application types.
The Dead Time Insertion (DTI) unit splits each of the four lower INMX outputs into two non-overlapping
signals, the non-inverted low side (LS) and inverted high side (HS) of the waveform
output with optional dead-time insertion between LS and HS switching. When the DTI
modules are disabled, the signals from the INMX go to the SWAP module.
The swap (SWAP) unit can swap the LS and HS pin positions for fast
decay motor control. The SWAP works even when the DTI units are not enabled and will
swap the connected INMX signals.
The Pattern Generation unit generates a synchronized output waveform
with a constant logic level, which can be used for easy stepper motor and full-bridge
control.
The Fault Protection unit is connected to the Event System, enabling an
event to trigger a Fault condition to set the WEX output to a defined state. The Event
System ensures predictable and instant fault reactions and gives flexibility the fault
trigger selection.
The Port Override Disable unit can disable the waveform output on
selectable port pins to optimize usage or free the pins for other functional use when
the application does not need the waveform output spread across all the port pins as
they can be selected by the INMX configurations.
Figure 24-2. Waveform Extension Stage
Details