English
Language : 

MC9S08GT16A Datasheet, PDF (231/300 Pages) Freescale Semiconductor, Inc – Microcontrollers
Analog-to-Digital Converter (S08ATDV3)
When the S/H machine is not sampling, it disables its own internal clocks.The input analog signals are
unipolar. The signals must fall within the potential range of VSSAD to VDDAD. The S/H machine is not
required to perform special conversions (i.e., convert VREFL and VREFH).
Proper sampling is dependent on the following factors:
• Analog source impedance (the real portion, RAS – see the electricals characteristics at the end of
this data sheet) — This is the resistive (or real, in the case of high frequencies) portion of the
network driving the analog input voltage VAIN.
• Analog source capacitance (CAS) — This is the filtering capacitance on the analog input, which (if
large enough) may help the analog source network charge the ATD input in the case of high RAS.
• ATD input resistance (RAIN – maximum value 7 kΩ) — This is the internal resistance of the ATD
circuit in the path between the external ATD input and the ATD sample and hold circuit. This
resistance varies with temperature, voltage, and process variation but a worst case number is
necessary to compute worst case sample error.
• ATD input capacitance (CAIN – maximum value 25 pF) — This is the internal capacitance of the
ATD sample and hold circuit. This capacitance varies with temperature, voltage, and process
variation but a worst case number is necessary to compute worst case sample error.
• ATD conversion clock frequency (fATDCLK – maximum value 2 MHz) — This is the frequency of
the clock input to the ATD and is dependent on the bus clock frequency and the ATD prescaler.
This frequency determines the width of the sample window, which is 14 ATDCLK cycles.
• Input sample frequency (fSAMP – see the electrical characteristics at the end of this data sheet) —
This is the frequency that a given input is sampled.
• Delta-input sample voltage (∆VSAMP) — This is the difference between the current input voltage
(intended for conversion) and the previously sampled voltage (which may be from a different
channel). In non-continuous convert mode, this is assumed to be the greater of (VREFH – VAIN) and
(VAIN – VREFL). In continuous convert mode, 5 LSB should be added to the known difference to
account for leakage and other losses.
• Delta-analog input voltage (∆VAIN) — This is the difference between the current input voltage and
the input voltage during the last conversion on a given channel. This is based on the slew rate of
the input.
In cases where there is no external filtering capacitance, the sampling error is determined by the number
of time constants of charging and the change in input voltage relative to the resolution of the ATD:
# of time constants (τ) = (14 / fATDCLK) / ((RAS + RAIN) * CAIN)
sampling error in LSB (ES) = 2N * (∆VSAMP / (VREFH - VREFL)) * e−τ
The maximum sampling error (assuming maximum change on the input voltage) will be:
Eqn. 14-1
ES = (3.6/3.6) * e–(14/((7 k + 10 k) * 50 p * 2 M)) * 1024 = 0.271 LSB
Eqn. 14-2
In the case where an external filtering capacitance is applied, the sampling error can be reduced based on
the size of the source capacitor (CAS) relative to the analog input capacitance (CAIN). Ignoring the analog
source impedance (RAS), CAS will charge CAIN to a value of:
MC9S08GT16A/GT8A Data Sheet, Rev. 1
Freescale Semiconductor
231