Digital-to-analog converter (DAC) RM0033
256/1381 RM0033 Rev 9
11 Digital-to-analog converter (DAC)
This section applies to the whole STM32F20x and STM32F21x family, unless otherwise
specified.
11.1 DAC introduction
The DAC module is a 12-bit, voltage output digital-to-analog converter. The DAC can be
configured in 8- or 12-bit mode and may be used in conjunction with the DMA controller. In
12-bit mode, the data could be left- or right-aligned. The DAC has two output channels, each
with its own converter. In dual DAC channel mode, conversions could be done
independently or simultaneously when both channels are grouped together for synchronous
update operations. An input reference pin, V
REF+
(shared with ADC) is available for better
resolution.
11.2 DAC main features
• Two DAC converters: one output channel each
• Left or right data alignment in 12-bit mode
• Synchronized update capability
• Noise-wave generation
• Triangular-wave generation
• Dual DAC channel for independent or simultaneous conversions
• DMA capability for each channel
• DMA underrun error detection
• External triggers for conversion
• Input voltage reference,
V
REF+
Figure 48 shows the block diagram of a DAC channel and Table 41 gives the pin
description.