05.08.2014 Views

xmega a3u - Elfa

xmega a3u - Elfa

xmega a3u - Elfa

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

XMEGA A3U<br />

29. DAC – 12-bit Digital to Analog Converter<br />

29.1 Features<br />

• One Digital to Analog Converter (DAC)<br />

• 12-bit resolution<br />

• Two independent, continuous-drive output channels<br />

• Up to one million samples per second conversion rate per DAC channel<br />

• Built-in calibration that removes:<br />

– Offset error<br />

– Gain error<br />

• Multiple conversion trigger sources<br />

– On new available data<br />

– Events from the event system<br />

• High drive capabilities and support for<br />

– Resistive loads<br />

– Capacitive loads<br />

– Combined resistive and capacitive loads<br />

• Internal and external reference options<br />

• DAC output available as input to analog comparator and ADC<br />

• Low-power mode, with reduced drive strength<br />

• Optional DMA transfer of data<br />

29.2 Overview<br />

The digital-to-analog converter (DAC) converts digital values to voltages. The DAC has two<br />

channels, each with 12-bit resolution, and is capable of converting up to one million samples per<br />

second (msps) on each channel. The built-in calibration system can remove offset and gain error<br />

when loaded with calibration values from software.<br />

Figure 29-1.<br />

DAC overview.<br />

DMA req<br />

(Data Empty)<br />

CH0DATA<br />

12<br />

D<br />

A<br />

T<br />

A<br />

DAC0<br />

Output<br />

Driver<br />

AVCC<br />

Internal 1.00V<br />

AREFA<br />

AREFB<br />

Reference<br />

selection<br />

Trigger<br />

CTRLB<br />

Trigger<br />

Select<br />

Select<br />

Enable<br />

CTRLA<br />

Enable<br />

Internal Output<br />

enable<br />

Int.<br />

driver<br />

To<br />

AC/ADC<br />

DMA req<br />

(Data Empty)<br />

CH1DATA<br />

12<br />

D<br />

A<br />

T<br />

A<br />

DAC1<br />

Output<br />

Driver<br />

A DAC conversion is automatically started when new data to be converted are available. Events<br />

from the event system can also be used to trigger a conversion, and this enables synchronized<br />

and timed conversions between the DAC and other peripherals, such as a timer/counter. The<br />

DMA controller can be used to transfer data to the DAC.<br />

52<br />

8386B–AVR–12/11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!