Renesas M16C/6NK Technical Information Seite 243

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 412
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 242
Rev.2.10 Apr 14, 2006 page 219 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 17. D/A Converter
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 is 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.
V = VREF n/ 256 (n = 0 to 255)
VREF : reference voltage
Table 17.1 lists the D/A converter Performance. Figure 17.1 shows the D/A Converter Block Diagram.
Figure 17.2 shows the D/A converter-related registers. Figure 17.3 shows the D/A Converter Equivalent
Circuit.
Item Performance
D/A conversion method R-2R method
Resolution 8 bits
Analog output pin 2 channels (DA0 and DA1)
Table 17.1 D/A Converter Performance
DA0E bit
Data bus low-order
DA1E bit
DA0 register
R-2R resistor ladder
DA1 register
R-2R resistor ladder
DA0
0
1
DA1
0
1
Figure 17.1 D/A Converter Block Diagram
Seitenansicht 242
1 2 ... 238 239 240 241 242 243 244 245 246 247 248 ... 411 412

Kommentare zu diesen Handbüchern

Keine Kommentare