
RM0008
Digital-to-analog converter (DAC)
Doc ID 13902 Rev 12
243/1096
12 Digital-to-analog
converter
(DAC)
Low-density
devices
are STM32F101xx, STM32F102xx and STM32F103xx
microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes.
Medium-density
devices
are STM32F101xx, STM32F102xx and STM32F103xx
microcontrollers where the Flash memory density ranges between 64 and 128 Kbytes.
High-density devices
are STM32F101xx and STM32F103xx microcontrollers where the
Flash memory density ranges between 256 and 512 Kbytes.
XL-density devices
are STM32F101xx and STM32F103xx microcontrollers where the
Flash memory density ranges between 768 Kbytes and 1 Mbyte.
Connectivity line devices
are STM32F105xx and STM32F107xx microcontrollers.
This section applies to connectivity line, high-density and XL-density STM32F101xx and
STM32F103xx devices only.
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 operation. 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 independent or simultaneous conversions
●
DMA capability for each channel
●
External triggers for conversion
●
Input voltage reference
V
REF+
The block diagram of a DAC channel is shown in
and the pin description is given
in
.