Digital-to-analog converter (DAC)
V
1
V
d
V
2
dac_hold
_ck
DAC
Like in Normal mode, the Sample and hold mode has different configurations.
To enable the output buffer, MODEx[2:0] bits in DAC_MCR register must be set to:
•
100: DAC is connected to the external pin
•
101: DAC is connected to external pin and to on chip peripherals
To disabled the output buffer, MODEx[2:0] bits in DAC_MCR register must be set to:
•
110: DAC is connected to external pin and to on chip peripherals
•
111: DAC is connected to on chip peripherals
When MODEx[2:0] bits are equal to 111, an internal capacitor, C
output of the DAC core and then drive it to on-chip peripherals.
All Sample and hold phases are interruptible, and any change in DAC_DHRx immediately
triggers a new sample phase.
x
MODE
[2:0]
Mode
0
0
0
0
0
1
Normal mode
0
1
0
0
1
1
416/1390
Figure 67. DAC Sample and hold mode phase diagram
Sampling phase
ON
Table 84. Channel output modes summary
Buffer
Connected to external pin
Enabled
Connected to external pin and to on chip-peripherals (such as
comparators)
Connected to external pin
Disabled
Connected to on chip peripherals (such as comparators)
Hold phase
Refresh
phase
ON
Output connections
RM0444 Rev 5
RM0444
t
Sampling phase
t
ON
MSv45340V3
holds the voltage
,
Lint
Need help?
Do you have a question about the STM32G0 1 Series and is the answer not in the manual?
Questions and answers