D/A Converter - Renesas M16C/6NK Hardware Manual

16-bit single-chip microcomputer m16c family / m16c/60 series
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)

17. 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, 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 set 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 17.1 lists the performance of the D/A converter. Figure 17.1 shows the block diagram of the D/A
converter. Figure 17.2 shows the D/A converter-related registers. Figure 17.3 shows the D/A converter
equivalent circuit.
Table 17.1 D/A Converter Performance
Item
D/A conversion Method
Resolution
Analog Output Pin
Figure 17.1 D/A Converter Block Diagram
Rev.2.00
Nov 28, 2005
REJ09B0124-0200
V = VREF ✕ n/ 256 (n = 0 to 255)
VREF : reference voltage
R-2R method
8 bits
2 channels (DA0 and DA1)
Data bus low-order
DA0 register
R-2R resistor ladder
DA1 register
R-2R resistor ladder
page 219 of 378
Performance
0
DA0
1
DA0E bit
0
DA1
1
DA1E bit
17. D/A Converter

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6nm

Table of Contents