72
M37905M4C-XXXFP, M37905M4C-XXXSP
M37905M6C-XXXFP, M37905M6C-XXXSP
M37905M8C-XXXFP, M37905M8C-XXXSP
PRELIMINAR
Y
Notice:
This
is not
a final
specification.
Som
e param
etric
lim
its are
subject
to change.
16-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
D-A CONVERTER
Two independent D-A converters are included in this microcomputer,
and each D-A converter adopts an 8-bit R-2R method. Figure 81
shows the block diagram of the D-A converter, and Figure 82 shows
the bit configuration of the D-A control register (address 9616).
D-A conversion is performed by writing a value to the corresponding
D-A register i. Whether to output the analog voltage or not is deter-
mined by bits 0 and 1 of the D-A control register. When any of bits 0
and 1 = “1”, the corresponding pin (D-A0 or D-A1) outputs the analog
voltage.
This analog voltage (V) is determined according to value n. (“n” =
decimal number. This has been set in the D-A register.)
V = VREF n/256 (n = 0 to 255)
VREF : Reference voltage
The contents of the corresponding D-A output enable bit and D-A
register are cleared to “0” at reset.
An external buffer is necessary when connecting a low impedance
load with the D-A converter. It is because that a D-A output pin does
not include a buffer.
Pin D-Ai (i = 0, 1) is multiplexed with I/O port pins, analog input pins,
and external interrupt input pins. When a D-Ai output enable bit = “1”
(in other words, output is enabled.), however, the corresponding pin
cannot function as another I/O pin, which is multiplexed with pin D-
Ai.
Also, when not using the D-A converter, be sure to clear the contents
of the corresponding D-A output enable bit and D-A register to “0”.
Fig. 81 Block diagram of D-A converter
AVSS
VREF
R-2R ladder
resistor network
D-A register i (i = 0, 1)
(Addresses 9816, 9916)
Pin D-Ai
D-Ai output enable bit
Data bus
Fig. 82 Bit configuration of D-A control register
D-A0 output enable bit (Note)
0: Output is disabled.
1: Output is enabled.
D-A1 output enable bit (Note)
0: Output is disabled.
1: Output is enabled.
76543210
D-A control register
Address
9616
Note: Pin D-Ai is multiplexed with I/O port pins, analog input pins, and
external interrupt input pins. When a D-Ai output enable bit = “1”
(in other words, output is enabled.), however, the corresponding
pin cannot function as another I/O pin, which is multiplexed with
pin D-Ai.