English
Language : 

PXD20RM Datasheet, PDF (171/1628 Pages) Freescale Semiconductor, Inc – PXD20 Microcontroller
When a chain conversion abort is requested (ABORTCHAIN bit is set) while an injected
conversion is running over a suspended Normal conversion, both injected chain and Normal
conversion chain are aborted (both the NSTART and JSTART bits are also reset).
5.4.2 Analog clock generator and conversion timings
The clock frequency can be selected by programming the ADCLKSEL bit in the MCR. When this bit is
set to ‘1’ the ADC clock has the same frequency as the system clock. Otherwise, the ADC clock is half of
the system clock frequency. The ADCLKSEL bit can be written only in power-down mode.
When the internal divider is not enabled (ADCCLKSEL = 1), it is important that the associated clock
divider in the clock generation module is ‘1’. This is needed to ensure 50% clock duty cycle.
The direct clock should basically be used only in low power mode when the device is using only the
16 MHz fast internal RC oscillator, but the conversion still requires a 16 MHz clock (an 8 MHz clock is
not fast enough).
In all other cases, the ADC should use the clock divided by two internally.
5.4.3 ADC sampling and conversion timing
In order to support different loading and switching times, several different Conversion Timing registers
(CTR) are present. There is one register per channel type. INPLATCH and INPCMP configurations are
limited when the system clock frequency is greater than 20 MHz.
When a conversion is started, the ADC connects the internal sampling capacitor to the respective analog
input pin, allowing the capacitance to charge up to the input voltage value. The time to load the capacitor
is referred to as sampling time. After completion of the sampling phase, the evaluation phase starts and all
the bits corresponding to the resolution of the ADC are estimated to provide the conversion result.
The conversion times are programmed via the bit fields of the CTR. Bit fields INPLATCH, INPCMP and
INPSAMPLE are used to define the total conversion duration (Tconv) and in particular the partition
between sampling phase duration (Tsample) and total evaluation phase duration (Teval).
The sampling phase duration is:
Tsample = INPSAMPLE – ndelay  Tck
INPSAMPLE  3
where ndelay is equal to 0.5 if INPSAMPLE is less than or equal to 06h, otherwise it is 1. INPSAMPLE
must be greater than or equal to 3 (hardware requirement).
The total evaluation phase duration is:
Teval = 10  Tbiteval = 10  INPCMP  Tck
INPCMP  1 and INPLATCH  INPCMP
Freescale Semiconductor
PXD20 Microcontroller Reference Manual, Rev. 1
Preliminary—Subject to Change Without Notice
5-29