206
8331B–AVR–03/12
Atmel AVR XMEGA AU
16. AWeX – Advanced Waveform Extension
16.1
Features
•
Waveform output with complementary output from each compare channel
•
Four dead-time insertion (DTI) units
– 8-bit resolution
– Separate high and low side dead-time setting
– Double buffered dead time
– Optionally halts timer during dead-time insertion
•
Pattern generation unit creating synchronised bit pattern across the port pins
– Double buffered pattern generation
– Optional distribution of one compare channel output across the port pins
•
Event controlled fault protection for instant and predictable fault triggering
16.2
Overview
The advanced waveform extension (AWeX) provides extra functions to the timer/counter in
waveform generation (WG) modes. It is primarily intended for use with different types of motor
control and other power control applications. It enables low- and high side output with dead-time
insertion and fault protection for disabling and shutting down external drivers. It can also gener-
ate a synchronized bit pattern across the port pins.
Figure 16-1.
Advanced waveform extention and closely related peripherals (grey).
As shown in
, each of the waveform generator outputs from timer/coun-
ter 0 are split into a complimentary pair of outputs when any AWeX features are enabled. These
Timer/Counter 0
AWeX
WG
Channel A
DTI
Channel A
WG
Channel B
DTI
Channel B
WG
Channel C
DTI
Channel C
WG
Channel D
DTI
Channel D
Port
Override
Pattern
Generation
Px0
Px1
Px2
Px3
Px4
Px5
Px6
Px7
Event
System
Fault
Protection