Chapter 9 Analog-to-Digital Converter (S08ADC10V1)
MC9S08SG32 Data Sheet, Rev. 8
Freescale Semiconductor
141
approximation algorithm is performed to determine the digital value of the analog signal. The result of the
conversion is transferred to ADCRH and ADCRL upon completion of the conversion algorithm.
If the bus frequency is less than the fADCK frequency, precise sample time for continuous conversions
cannot be guaranteed when short sample is enabled (ADLSMP=0). If the bus frequency is less than 1/11th
of the fADCK frequency, precise sample time for continuous conversions cannot be guaranteed when long
sample is enabled (ADLSMP=1).
The maximum total conversion time for different conditions is summarized in
Table 9-13.
The maximum total conversion time is determined by the clock source chosen and the divide ratio selected.
The clock source is selectable by the ADICLK bits, and the divide ratio is specied by the ADIV bits. For
example, in 10-bit mode, with the bus clock selected as the input clock source, the input clock divide-by-1
ratio selected, and a bus frequency of 8 MHz, then the conversion time for a single conversion is:
NOTE
The ADCK frequency must be between fADCK minimum and fADCK
maximum to meet ADC specications.
Table 9-13. Total Conversion Time vs. Control Conditions
Conversion Type
ADICLK
ADLSMP
Max Total Conversion Time
Single or rst continuous 8-bit
0x, 10
0
20 ADCK cycles + 5 bus clock cycles
Single or rst continuous 10-bit
0x, 10
0
23 ADCK cycles + 5 bus clock cycles
Single or rst continuous 8-bit
0x, 10
1
40 ADCK cycles + 5 bus clock cycles
Single or rst continuous 10-bit
0x, 10
1
43 ADCK cycles + 5 bus clock cycles
Single or rst continuous 8-bit
11
0
5
μs + 20 ADCK + 5 bus clock cycles
Single or rst continuous 10-bit
11
0
5
μs + 23 ADCK + 5 bus clock cycles
Single or rst continuous 8-bit
11
1
5
μs + 40 ADCK + 5 bus clock cycles
Single or rst continuous 10-bit
11
1
5
μs + 43 ADCK + 5 bus clock cycles
Subsequent continuous 8-bit;
fBUS > fADCK
xx
0
17 ADCK cycles
Subsequent continuous 10-bit;
fBUS > fADCK
xx
0
20 ADCK cycles
Subsequent continuous 8-bit;
fBUS > fADCK/11
xx
1
37 ADCK cycles
Subsequent continuous 10-bit;
fBUS > fADCK/11
xx
1
40 ADCK cycles
23 ADCK cyc
Conversion time =
8 MHz/1
Number of bus cycles = 3.5
μs x 8 MHz = 28 cycles
5 bus cyc
8 MHz
+
= 3.5
μs