English
Language : 

MC68HC908LJ12 Datasheet, PDF (304/413 Pages) Freescale Semiconductor, Inc – 8-bit microcontroller units
Analog-to-Digital Converter (ADC)
15.4.2 Voltage Conversion
NOTE:
When the input voltage to the ADC equals VREFH, the ADC converts the
signal to $3FF (full scale). If the input voltage equals VREFL, the ADC
converts it to $000. Input voltages between VREFH and VREFL are
straight-line linear conversions. All other input voltages will result in
$3FF if greater than VREFH and $000 if less than VREFL.
Input voltage should not exceed the analog supply voltages.
15.4.3 Conversion Time
Conversion starts after a write to the ADSCR. A conversion is between
16 and 17 ADC clock cycles, therefore:
Conversion time = 16 to17 ADC cycles
ADC frequency
Number of bus cycles = conversion time × bus frequency
The ADC conversion time is determined by the clock source chosen and
the divide ratio selected. The clock source is either the bus clock or
CGMXCLK and is selectable by the ADICLK bit located in the ADC clock
register. The divide ratio is selected by the ADIV[2:0] bits.
For example, if a 4MHz CGMXCLK is selected as the ADC input clock
source, with a divide-by-2 prescale, and the bus speed is set at 8MHz:
Conversion time = 16 to 17 ADC cycles = 8 to 8.5 µs
4MHz ÷ 2
Number of bus cycles = 8µs x 8MHz = 64 to 68 cycles
NOTE:
The ADC frequency must be between fADIC minimum and fADIC
maximum to meet ADC specifications. See 23.6 5.0V DC Electrical
Characteristics.
Since an ADC cycle may be comprised of several bus cycles (eight in the
previous example) and the start of a conversion is initiated by a bus cycle
write to the ADSCR, from zero to four additional bus cycles may occur
before the start of the initial ADC cycle. This results in a fractional ADC
cycle and is represented as the 17th cycle.
MC68HC908LJ12 — Rev. 2.1
Freescale Semiconductor
Analog-to-Digital Converter (ADC)
Technical Data
305