Analog to Digital (ATD) Module
MC1321x Reference Manual, Rev. 1.6
20-6
Freescale Semiconductor
large C
AS
is used and sufficient time to recharge C
AS
is provided between samples. In order to achieve
accuracy specified under the worst case conditions of maximum
Δ
V
SAMP
and minimum C
AS
, R
AS
must
be less than the maximum value of 10 k
Ω
. The maximum value of 10 k
Ω
for R
AS
is to ensure low sampling
error
in the worst case condition of maximum
Δ
V
SAMP
and minimum C
AS
.
20.3.3
Analog Input Multiplexer
The analog input multiplexer selects one of the eight external analog input channels to generate an analog
sample. The analog input multiplexer includes negative stress protection circuitry which prevents
cross-talk between channels when the applied input potentials are within specification. Only analog input
signals within the potential range of V
REFL
to V
REFH
(ATD reference potentials) will result in valid ATD
conversions.
20.3.4
ATD Module Accuracy Definitions
illustrates an ideal ATD transfer function. The horizontal axis represents the ATD input
voltage in millivolts. The vertical axis the conversion result code.
The ATD is specified with the following
figures of merit:
•
Number of bits (N) — The number of bits in the digitized output
•
Resolution (LSB) — The resolution of the ATD is the step size of the ideal transfer function. This
is also referred to as the ideal code width, or the difference between the transition voltages to a
given code and to the next code. This unit, known as 1LSB, is equal to
1LSB = (V
REFH
– V
REFL
) / 2
N
Eqn. 20-5
•
Inherent quantization error (E
Q
) — This is the error caused by the division of the perfect ideal
straight-line transfer function into the quantized ideal transfer function with 2
N
steps. This error is
±
1/2 LSB.
•
Differential non-linearity (DNL) — This is the difference between the current code width and the
ideal code width (1LSB). The current code width is the difference in the transition voltages to the
current code and to the next code. A negative DNL means the transfer function spends less time at
the current code than ideal; a positive DNL, more. The DNL cannot be less than –1.0; a DNL of
greater than 1.0 reduces the effective number of bits by 1.
•
Integral non-linearity (INL) — This is the difference between the transition voltage to the current
code and the transition to the corresponding code on the adjusted transfer curve. INL is a measure
of how straight the line is (how far it deviates from a straight line). The adjusted ideal transition
voltage is:
Eqn. 20-6
•
Zero scale error (E
ZS
) — This is the difference between the transition voltage to the first valid code
and the ideal transition to that code. Normally, it is defined as the difference between the actual and
(Current Code - 1/2)
2
N
Adjusted Ideal Trans. V =
* ((V
REFH
+ E
FS
) - (V
REFL
+ E
ZS
))
Содержание freescale semiconductor MC13211
Страница 40: ...MC1321x Pins and Connections MC1321x Reference Manual Rev 1 6 2 6 Freescale Semiconductor...
Страница 100: ...MC1321x Serial Peripheral Interface SPI MC1321x Reference Manual Rev 1 6 4 24 Freescale Semiconductor...
Страница 166: ...Modem Modes of Operation MC1321x Reference Manual Rev 1 6 7 22 Freescale Semiconductor...
Страница 172: ...Modem Interrupt Description MC1321x Reference Manual Rev 1 6 8 6 Freescale Semiconductor...
Страница 186: ...MCU Modes of Operation MC1321x Reference Manual Rev 1 6 10 8 Freescale Semiconductor...
Страница 208: ...MCU Memory MC1321x Reference Manual Rev 1 6 11 22 Freescale Semiconductor...
Страница 244: ...MCU Parallel Input Output MC1321x Reference Manual Rev 1 6 13 20 Freescale Semiconductor...
Страница 288: ...MCU Central Processor Unit CPU MC1321x Reference Manual Rev 1 6 15 20 Freescale Semiconductor...
Страница 308: ...MCU Timer PWM TPM Module MC1321x Reference Manual Rev 1 6 17 16 Freescale Semiconductor...
Страница 338: ...Inter Integrated Circuit IIC MC1321x Reference Manual Rev 1 6 19 14 Freescale Semiconductor...
Страница 372: ...Development Support MC1321x Reference Manual Rev 1 6 21 20 Freescale Semiconductor...