
MITSUBISHI MICROCOMPUTERS
3802 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
27
D-A Converter
The 3802 group has two internal D-A converters (DA1 and DA2)
with 8-bit resolutions.
The D-A converter is performed by setting the value in the D-A
conversion register. The result of D-A converter is output from the
DA
1 or DA2 pin by setting the DA output enable bit to “1”.
When using the D-A converter, the corresponding port direction
register bit (P3
0/DA1 or P31/DA2) should be set to “0” (input sta-
tus).
The output analog voltage V is determined by the value n (base
10) in the D-A conversion register as follows:
V = V
REF ✕ n/256 (n = 0 to 255)
Where V
REF is the reference voltage.
At reset, the D-A conversion registers are cleared to “0016”, the DA
output enable bits are cleared to “0”, and the P3
0/DA1 and P31/
DA
2 pins are set to input (high impedance).
The D-A output is not buffered, so connect an external buffer when
driving a low-impedance load.
Set V
CC to 3.0 V or more when using the D-A converter.
Fig. 24 Block diagram of D-A converter
Fig. 25 Equivalent connection circuit of D-A converter
P3
0
/DA
1
D-A1 conversion register (8)
R-2R resistor ladder
DA
1
output enable bit
P3
1
/DA
2
D-A2 conversion register (8)
R-2R resistor ladder
DA
2
output enable bit
Data bus
AV
SS
V
REF
"0"
"1"
MSB
"0"
"1"
R
2R
R
2R
R
2R
R
2R
R
2R
R
2R
R
2R 2R
LSB
2R
P3
0
/DA1
D-A1
conversion
register
DA
1
output enable bit
Comentarios a estos manuales