GD32A50x User Manual
295
15.
Digital-to-analog converter (DAC)
15.1.
Overview
The Digital-to-analog converter converts 12-bit digital data to a voltage on the external pins.
The digital data can be configured in 8-bit or 12-bit mode, left-aligned or right-aligned mode.
DMA can be used to update the digital data on external triggers. The output voltage can be
optionally buffered for higher drive capability.
15.2.
Characteristics
8-bit or 12-bit resolution. Right or left data alignment.
DMA support.
Conversion update synchronously.
Conversion trigged by external triggers.
Configurable internal buffer.
Extern voltage reference, V
REF+
.
Noise wave (LFSR noise mode and Triangle noise mode).
Figure 15-1. DAC block diagram
shows the block diagram of DAC and
gives the pin description.
Figure 15-1. DAC block diagram
12-bit
12-bit
SWTRx
T
ri
g
g
e
r
se
le
ct
o
r
DAC control register
DTSEL[1:0]
D
M
A
r
e
q
u
e
st
D
T
E
N
DAC
Control
logic
V
D
D
A
V
S
S
A
DBOFF
Buff
M
U
X
2
X
1
D
D
M
A
E
N
DAC_OUT
EXTRI G
V
R
E
F
+
D
W
B
W
[3
:0
]
D
W
M
[1
:0
]
OUT_DH
OUT_DO