R01UH0136EJ0210 Rev.2.10
Page 627 of 800
Jul 31, 2012
M16C/64A Group
27. A/D Converter
Table 27.7 lists Cycles of A/D Conversion Item. A/D conversion time is described below.
Start processing time depends on which
φ
AD is selected.
A/D conversion starts after the start processing time elapses by setting the ADST bit in the ADCON0
register to 1 (A/D conversion start). When reading the ADST bit before starting A/D conversion, 0 (A/D
conversion stop) is read.
When selecting multiple pins, or in a mode which performs A/D conversion multiple times, inter-execution
processing time is inserted between A/D conversions.
In one-shot mode and single sweep mode, the ADST bit becomes 0 at the end processing time and the
last A/D conversion result is stored in the ADi register.
One-shot mode:
Start processing time + A/D conversion execution time + end processing time
Two pins are selected in single sweep mode:
Start processing time + (A/D conversion execution time + inter-execution processing time + A/D
conversion execution time) + end processing time
Table 27.7
Cycles of A/D Conversion Item
A/D Conversion Item
Number of Cycles
Start processing time
φ
AD = fAD
1 to 2 cycles of fAD
φ
AD = fAD divided by 2
2 to 3 cycles of fAD
φ
AD = fAD divided by 3
3 to 4 cycles of fAD
φ
AD = fAD divided by 4
3 to 4 cycles of fAD
φ
AD = fAD divided by 6
4 to 5 cycles of fAD
φ
AD = fAD divided by 12
7 to 8 cycles of fAD
A/D conversion execution
time
Open-circuit detection disabled
40 cycles of
φ
AD
Open-circuit detection enabled
42 cycles of
φ
AD
Inter-execution processing time
1 cycle of
φ
AD
End processing time
2 to 3 cycles of fAD
Summary of Contents for M16C/60 Series
Page 853: ...M16C 64A Group R01UH0136EJ0210...