RM0351
17
Digital-to-analog converter (DAC)
17.1
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
available for better resolution.
The DAC_OUTx pin can be used as general purpose Input/Output (GPIO) when the DAC
output is disconnected from output pad and connected to on chip peripheral. The DAC's
output buffer can be optionally enabled to allow a high drive output current. An individual
calibration can be applied on each DAC's output channel. The DAC output channels support
a low power mode; the sample and hold mode.
17.2
DAC main features
The DAC main features are the following (see
•
Two DAC converters: one output channel each
•
Left or right data alignment in 12-bit mode
•
Synchronized update capability
•
Noise-wave and Triangular-wave generation
•
Dual DAC channel for independent or simultaneous conversions
•
DMA capability for each channel including DMA underrun error detection
•
External triggers for conversion
•
DAC output channel buffered/unbuffered modes
•
buffer offset calibration
•
The DAC_OUTx can be disconnected from output pin
•
Internal pin connection to on chip peripherals
•
Sample and hold mode for low power operation in STOP mode
•
Input voltage reference,
Figure 129
description.
V
REF+
shows the block diagram of a DAC channel and
DocID024597 Rev 3
Digital-to-analog converter (DAC)
(shared with others analog peripherals) is
REF+
Figure 129: DAC channel block
Table 102
diagram)
gives the pin
541/1693
573
Need help?
Do you have a question about the STM32L4x6 and is the answer not in the manual?