RM0090 Digital-to-analog converter (DAC)
Doc ID 018909 Rev 4 310/1422
12 Digital-to-analog converter (DAC)
This section applies to the whole STM32F4xx family devices, unless otherwise specified.
12.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.
12.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 54 shows the block diagram of a DAC channel and Ta bl e 5 7 gives the pin description.