Datasheet
36XMEGA E5 [DATASHEET]
Atmel-8153H–AVR-ATxmega8E5-ATxmega16E5-ATxmega32E5_Datasheet–07/2014
18. WeX – Waveform Extension
18.1 Features
z Module for more customized and advanced waveform generation
z Optimized for various type of motor, ballast, and power stage control
z Output matrix for timer/counter waveform output distribution
z Configurable distribution of compare channel output across port pins
z Redistribution of dead-time insertion resource between TC4 and TC5.
z Four dead-time insertion (DTI) units, each with
z Complementary high and low side with non overlapping outputs
z Separate dead-time setting for high and low side
z 8-bit resolution
z Four swap (SWAP) units
z Separate port pair or low high side drivers swap
z Double buffered swap feature
z Pattern generation creating synchronized bit pattern across the port pins
z Double buffered pattern generation
18.2 Overview
The waveform extension (WEX) provides extra functions to the timer/counter in waveform generation (WG) modes. It is
primarily intended for motor control, ballast, LED, H-bridge, power converters, and other types of power control
applications. The WEX consist of five independent and successive units, as shown in Figure 18-1.
Figure 18-1. Waveform extension and closely related peripherals.
The output matrix (OTMX) can distribute and route out the waveform outputs from timer/counter 4 and 5 across the port
pins in different configurations, each optimized for different application types. The dead time insertion (DTI) unit splits the
four lower OTMX outputs into a 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.
SWAP1DTI1
SWAP1DTI1
SWAP1DTI1
SWAP1DTI1
Pattern Generator
Output Matrix
WEX
Px7
Px6
Px5
Px4
Px3
Px2
Px1
Px0
Fault
Unit 5
Fault
Unit 4
T/C4
T/C5
OUTOVDIS
HIRES