Digital-to-analog converter (DAC) RM0440
728/2126 RM0440 Rev 4
1. MODEx bits in the DAC_MCR control the output mode and allow switching between the Normal mode in
buffer/unbuffered configuration and the Sample and hold mode.
2. Refer to Section 22.3: DAC implementation for channel2 availability.
3. DAC channel2 is available only on DAC1, DAC3 and DAC4.
22.4.2 DAC pins and internal signals
The DAC includes:
• Up to two output channels
• The DAC_OUTx can be disconnected from the output pin and used as an ordinary
GPIO
• The dac_outx can use an internal pin connection to on-chip peripherals such as
comparator, operational amplifier and ADC (if available).
• DAC output channel buffered or non buffered
• Sample and hold block and registers operational in Stop mode, using the LSI/LSE clock
source (dac_hold_ck) for static conversion.
The DAC includes up to two separate output channels. Each output channel can be
connected to on-chip peripherals such as comparator, operational amplifier and ADC (if
available). In this case, the DAC output channel can be disconnected from the DAC_OUTx
output pin and the corresponding GPIO can be used for another purpose.
The DAC output can be buffered or not. The Sample and hold block and its associated
registers can run in Stop mode using the LSI or LSE clock source (dac_hold_ck).
Table 180. DAC input/output pins
Pin name Signal type Remarks
VREF+
Input, analog reference
positive
The higher/positive reference voltage for the DAC,
V
REF+
≤ V
DDAmax
(refer to datasheet)
VDDA Input, analog supply Analog power supply
VSSA Input, analog supply ground Ground for analog power supply
DAC_OUTx Analog output signal DAC channelx analog output
Table 181. DAC input/output signals
Internal signal name Signal type Description
dac_ch1_dma Bidirectional DAC channel1 DMA request/acknowledge
dac_ch2_dma Bidirectional DAC channel2 DMA request/acknowledge
dac_ch1_trgx (x = 1 to 15) Inputs DAC channel1 trigger inputs
dac_ch2_trgx (x = 1 to 15) Inputs DAC channel2 trigger inputs
dac_ch1_inc_trgx (x = 1 to 15) Inputs DAC channel1 sawtooth increment trigger inputs
dac_chn2_inc_trgx (x = 1 to 15) Inputs DAC channel1 sawtooth increment trigger inputs
dac_unr_it Output DAC underrun interrupt
dac_hclk Input DAC peripheral clock
dac_hold_ck Input
DAC low-power clock used in Sample and hold
mode