Digital-to-analog converter (DAC)
19
Digital-to-analog converter (DAC)
19.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 can be left- or right-aligned. The DAC features one single channel.
An input reference pin, V
resolution. An internal reference can also be set on the same input. Refer to voltage
reference buffer (VREFBUF) section.
The DACx_OUT1 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
output buffer can be optionally enabled to obtain a high drive output current. An individual
calibration can be applied on each DAC output channel. The DAC output channels support
a low power mode, the Sample and hold mode.
19.2
DAC main features
The DAC main features are the following (see
•
One DAC interface
•
Left or right data alignment in 12-bit mode
•
Synchronized update capability
•
Noise-wave and Triangular-wave generation
•
Single DAC channel
•
DMA capability including DMA underrun error detection
•
External triggers for conversion
•
DAC output channel buffered/unbuffered modes
•
Buffer offset calibration
•
The DAC output can be disconnected from the DACx_OUT1 output pin
•
DAC output connection to on-chip peripherals
•
Sample and hold mode for low power operation in Stop mode
•
Input voltage reference
Figure 86
description.
592/1450
(shared with others analog peripherals) is available for better
REF+
from V
shows the block diagram of a DAC channel and
Figure 86: DAC block
pin or internal VREFBUF reference
REF+
RM0453 Rev 5
diagram)
Table 112
gives the pin
RM0453
Need help?
Do you have a question about the STM32WL5 Series and is the answer not in the manual?
Questions and answers