D/A Converter - Renesas M16C/62P Hardware Manual

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for M16C/62P:
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)

19. D/A Converter

This is an 8-bit, R-2R type D/A converter. These are two independent D/A converters.
D/A conversion is performed by writing to the DAi register (i = 0 to 1). To output the result of conversion, set
the DAiE bit in the DACON register to "1" (output enabled). Before D/A conversion can be used, the
corresponding port direction bit must be cleared to "0" (input mode). Setting the DAiE bit to "1" removes a
pull-up from the corresponding port.
Output analog voltage (V) is determined by a set value (n : decimal) in the DAi register.
Table 19.1 lists the performance of the D/A converter. Figure 19.1 shows the block diagram of the D/A
converter. Figure 19.2 shows the D/A converter related registers. Figure 19.3 shows the D/A converter
equivalent circuit.
Table 19.1 D/A Converter Performance
Item
D/A conversion method
Resolution
Analog output pin
Data bus low-order
Figure 19.1 D/A Converter Block Diagram
R
e
. v
2
3 .
0
S
e
p
0
, 1
2
0
0
4
R
E
J
0
9
B
0
1
8
5
0 -
2
3
0
Z
V = VREF X n/ 256 (n = 0 to 255)
VREF : reference voltage
R-2R method
8 bits
2 (DA0 and DA1)
DA0 register
R-2R resistor ladder
DA1 register
R-2R resistor ladder
page 224
f o
3
6
4
Performance
DA0
DA0E bit
DA1
DA1E bit
19. D/A Converter

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pt

Table of Contents