12.07.2015 Views

Digital to Analog Converter - AN0022 - Application ... - Energy Micro

Digital to Analog Converter - AN0022 - Application ... - Energy Micro

Digital to Analog Converter - AN0022 - Application ... - Energy Micro

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

1 <strong>Digital</strong> <strong>to</strong> <strong>Analog</strong> <strong>Converter</strong>1.1 Introduction...the world's most energy friendly microcontrollersThe EFM32 DAC is a 12 bit rail <strong>to</strong> rail <strong>Digital</strong> <strong>to</strong> <strong>Analog</strong> converter with either two single ended outputs,or one differential output. The maximum conversion rate is 500 ksamples/s at 12 bits resolution. Oneof the DAC's internal bandgap references or the VDD voltage can be selected as reference. The DACmay be used for a number of different applications such as sensor interfaces, voltage generation orsound/signal output.This application note shows general operation and usage of the DAC. In addition the sine genera<strong>to</strong>rmode is described and the different conversion modes are explained. The software examples includeboth an advanced signal genera<strong>to</strong>r and audio playback that both use DMA (Direct Memory Access) andthe PRS (Peripheral Reflex System).1.2 OverviewFigure 1.1. <strong>Digital</strong> <strong>to</strong> <strong>Analog</strong> <strong>Converter</strong> OverviewCH0DATACh 0DACn_OUT0CH1DATACh 1DACn_OUT11.25 V2.5 VVDDADCREFSELIn Figure 1.1 (p. 2) , the two data registers and the reference selection register are shown in grey.The DAC has a single reference selection for both channels. The output can be routed <strong>to</strong> the ADC andoutput on a pin at the same time.2013-05-08 - an0022_Rev1.09 2 www.energymicro.com

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

Saved successfully!

Ooh no, something went wrong!