CHAPTER 9 A/D CONVERTER
User’s Manual U18172EJ2V0UD
154
Notes 3.
Set the sampling time as follows.
•
V
DD
≥
4.5 V:
1.0
µ
s or more
•
V
DD
≥
4.0 V:
2.4
µ
s or more
•
V
DD
≥
2.85 V:
3.0
µ
s or more
•
V
DD
≥
2.7 V:
11.0
µ
s or more
4.
Set the A/D conversion time as follows.
•
V
DD
≥
4.5 V:
3.0
µ
s or more and less than 100
µ
s
•
V
DD
≥
4.0 V:
4.8
µ
s or more and less than 100
µ
s
•
V
DD
≥
2.85 V:
6.0
µ
s or more and less than 100
µ
s
•
V
DD
≥
2.7 V:
14.0
µ
s or more and less than 100
µ
s
5.
Setting is prohibited because the values do not satisfy the condition of
Notes 3
or
4
.
6.
The operation of the comparator is controlled by ADCS and ADCE, and it takes 1
µ
s from
operation start to operation stabilization. Therefore, when ADCS is set to 1 after 1
µ
s or more
has elapsed from the time ADCE is set to 1, the conversion result at that time has priority over the
first conversion result. If the ADCS is set to 1 without waiting for 1
µ
s or longer, ignore the first
conversion data.
Table 9-2. Settings of ADCS and ADCE
ADCS ADCE
A/D
Conversion Operation
0
0
Stop status (DC power consumption path does not exist)
0
1
Conversion waiting mode (only comparator consumes power)
1
×
Conversion mode
Figure 9-4. Timing Chart When Comparator Is Used
ADCE
Comparator
ADCS
Conversion
operation
Conversion
operation
Conversion stopped
Conversion
waiting
Comparator operating
Note
Note
The time from the rising of the ADCE bit to the rising of the ADCS bit must be 1
µ
s or longer to stabilize the
internal circuit.
Cautions 1. The above sampling time and conversion time do not include the clock frequency error.
Select the sampling time and conversion time such that Notes 3 and 4 above are satisfied,
while taking the clock frequency error into consideration (an error margin maximum of
±
5%
when using the high-speed internal oscillator).
2.
If a bit other than ADCS of ADM is manipulated while A/D conversion is stopped (ADCS = 0)
and then A/D conversion is started, execute two NOP instructions or an instruction
equivalent to two machine cycles, and set ADCS to 1.
3.
A/D conversion must be stopped (ADCS = 0) before rewriting bits FR0 to FR2.
4.
Be sure to clear bits 6, 2, and 1 to 0.
<R>