
125
D-A converter
Mitsubishi microcomputers
M30218 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
D-A Converter
This is an 8-bit, R-2R type D-A converter. The microcomputer contains two independent D-A converters of this type.
D-A conversion is performed when a value is written to the corresponding D-A register. Bits 0 and 1 (D-A
output enable bits) of the D-A control register decide if the result of conversion is to be output. Do not set the
target port to output mode if D-A conversion is to be performed.
Output analog voltage (V) is determined by a set value (n : decimal) in the D-A register.
V = VREF X n/ 256 (n = 0 to 255)
VREF : reference voltage
Table 36 lists the performance of the D-A converter. Figure 109 shows the block diagram of the D-A
converter. Figure 110 shows the D-A control register. Figure 111 shows the D-A converter equivalent
circuit.
Table 36. Performance of D-A converter
Item
Performance
Conversion method
R-2R method
Resolution
8 bits
Analog output pin
2 channels
P97/DA0/CLKOUT/DIMOUT
P96/DA1/SCLK22
Data bus low-order bits
D-A register0 (8)
R-2R resistor ladder
D-A0 output enable bit
D-A register1 (8)
R-2R resistor ladder
D-A1 output enable bit
(Address 03D816)
(Address 03DA16)
Figure 109. Block diagram of D-A converter