A/D 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)

16. A/D Converter

The microcomputer contains one A/D converter circuit based on 10-bit successive approximation method
configured with a capacitive-coupling amplifier. The analog inputs share the pins with P10_0 to P10_7,
P9_5, P9_6, P0_0 to P0_7, and P2_0 to P2_7. Similarly, ADTRG input shares the pin with P9_7. Therefore,
when using these inputs, make sure the corresponding port direction bits are set to "0" (input mode).
When not using the A/D converter, set the VCUT bit to "0" (VREF unconnected), so that no current will flow
from the VREF pin into the resistor ladder, helping to reduce the power consumption of the chip.
The A/D conversion result is stored in the ADi register's bits for ANi, AN0_i, and AN2_i pins (i = 0 to 7).
Table 16.1 shows the performance of the A/D converter. Figure 16.1 shows the block diagram of the A/D
converter, and Figures 16.2 and 16.3 show the A/D converter-related registers.
Table 16.1 A/D Converter Performance
Item
Method of A/D Conversion Successive approximation (capacitive coupling amplifier)
Analog Input Voltage
Operating Clock φAD
Resolution
Integral Nonlinearity Error When AVCC = VREF = 5 V
Operating Modes
Analog Input Pins
A/D Conversion
Start Condition
Conversion Speed Per Pin • Without sample and hold
NOTES:
1. Does not depend on use of sample and hold.
2. φAD frequency must be 10 MHz or less.
When sample and hold is disabled, φAD frequency must be 250 kHz or more.
When sample and hold is enabled, φAD frequency must be 1 MHz or more.
Rev.2.00
Nov 28, 2005
REJ09B0124-0200
(1)
0V to AVCC (VCC)
(2)
fAD, divide-by-2 of fAD, divide-by-3 of fAD, divide-by-4 of fAD,
divide-by-6 of fAD, divide-by-12 of fAD
8 bits or 10 bits (selectable)
• With 8-bit resolution: ±2LSB
• With 10-bit resolution
AN0 to AN7 input, AN0_0 to AN0_7 input and AN2_0 to AN2_7 input: ±3LSB
ANEX0 and ANEX1 input (including mode in which external operation
amp is selected): ±7LSB
When AVCC = VREF = 3.3 V
• With 8-bit resolution: ±2LSB
• With 10-bit resolution
AN0 to AN7 input, AN0_0 to AN0_7 input and AN2_0 to AN2_7 input: ±5LSB
ANEX0 and ANEX1 input (including mode in which external operation
amp is selected): ±7LSB
One-shot mode, repeat mode, single sweep mode, repeat sweep mode 0,
and repeat sweep mode 1
8 pins (AN0 to AN7) + 2 pins (ANEX0 and ANEX1) + 8 pins (AN0_0 to AN0_7)
+ 8 pins (AN2_0 to AN2_7)
• Software trigger
The ADST bit in the ADCON0 register is set to "1" (A/D conversion starts)
• External trigger (retriggerable)
_____________
Input on the ADTRG pin changes state from high to low after the ADST bit
is set to "1" (A/D conversion starts)
8-bit resolution: 49 φAD cycles, 10-bit resolution: 59 φAD cycles
• With sample and hold
8-bit resolution: 28 φAD cycles, 10-bit resolution: 33 φAD cycles
page 202 of 378
_____________
Performance
16. A/D Converter

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6nm

Table of Contents