29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

RM0008<br />

Digital-to-analog converter (DAC)<br />

12 Digital-to-analog converter (DAC)<br />

Low-density devices are <strong>STM32F101xx</strong>, <strong>STM32F102xx</strong> <strong>and</strong> <strong>STM32F103xx</strong><br />

microcontrollers where the Flash memory density ranges between 16 <strong>and</strong> 32 Kbytes.<br />

Medium-density devices are <strong>STM32F101xx</strong>, <strong>STM32F102xx</strong> <strong>and</strong> <strong>STM32F103xx</strong><br />

microcontrollers where the Flash memory density ranges between 64 <strong>and</strong> 128 Kbytes.<br />

High-density devices are <strong>STM32F101xx</strong> <strong>and</strong> <strong>STM32F103xx</strong> microcontrollers where the<br />

Flash memory density ranges between 256 <strong>and</strong> 512 Kbytes.<br />

Connectivity line devices are <strong>STM32F105xx</strong> <strong>and</strong> STM32F107xx microcontrollers.<br />

This section applies to connectivity line <strong>and</strong> high-density <strong>STM32F101xx</strong> <strong>and</strong> <strong>STM32F103xx</strong><br />

devices only.<br />

12.1 DAC introduction<br />

The DAC module is a 12-bit, voltage output digital-to-analog converter. The DAC can be<br />

configured in 8- or 12-bit mode <strong>and</strong> may be used in conjunction with the DMA controller. In<br />

12-bit mode, the data could be left- or right-aligned. The DAC has two output channels, each<br />

with its own converter. In dual DAC channel mode, conversions could be done<br />

independently or simultaneously when both channels are grouped together for synchronous<br />

update operation. An input reference pin V REF+ is available for better resolution.<br />

12.2 DAC main features<br />

● Two DAC converters: one output channel each<br />

● 8-bit or 12-bit monotonic output<br />

● Left or right data alignment in 12-bit mode<br />

● Synchronized update capability<br />

● Noise-wave generation<br />

● Triangular-wave generation<br />

● Dual DAC channel independent or simultaneous conversions<br />

● DMA capability for each channel<br />

● External triggers for conversion<br />

● Input voltage reference V REF+<br />

The block diagram of a DAC channel is shown in Figure 43 <strong>and</strong> the pin description is given<br />

in Table 68.<br />

Doc ID 13902 Rev 9 233/995

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

Saved successfully!

Ooh no, something went wrong!