English
Language : 

ATXMEGA16E5_14 Datasheet, PDF (53/147 Pages) ATMEL Corporation – 8/16-bit Atmel AVR XMEGA Microcontrollers
29. DAC – Digital to Analog Converter
29.1
Features
z One Digital to Analog Converter (DAC)
z 12-bit resolution
z Two independent, continuous-drive output channels
z Up to 1 million samples per second conversion rate per DAC channel
z Built-in calibration that removes:
z Offset error
z Gain error
z Multiple conversion trigger sources
z On new available data
z Events from the event system
z Drive capabilities and support for
z Resistive loads
z Capacitive loads
z Combined resistive and capacitive loads
z Internal and external reference options
z DAC output available as input to analog comparator and ADC
z Low-power mode, with reduced drive strength
z Optional EDMA transfer of data
29.2 Overview
The digital-to-analog converter (DAC) converts digital values to voltages. The DAC has two channels, each with 12-bit
resolution, and is capable of converting up to one million samples per second (Msps) on each channel. The built-in
calibration system can remove offset and gain error when loaded with calibration values from software.
Figure 29-1. DAC overview.
EDMA req
(Data Empty)
CH0DATA 12
AVCC
Internal 1.00V
AREFA
AREFD
Reference
selection
D
A
T
DAC0
A
Output
Driver
Trigger
Select
CTRLB
Trigger
Select
Enable
CTRLA
Enable
Int.
driver
Internal Output
enable
To
AC/ADC
EDMA req
(Data Empty)
CH1DATA 12
D
A
T
DAC1
A
Output
Driver
A DAC conversion is automatically started when new data to be converted are available. Events from the event system
can also be used to trigger a conversion, and this enables synchronized and timed conversions between the DAC and
other peripherals, such as a timer/counter. The EDMA controller can be used to transfer data to the DAC.
XMEGA E5 [DATASHEET] 53
Atmel-8153I–AVR-ATxmega8E5-ATxmega16E5-ATxmega32E5_Datasheet–08/2014