
Analog-to-Digital Converter (ADC)
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
34-45
The clock stretching is implemented if and only if MCR[ADCLKSEL] = 0 (if AD_clk is half ipg_clk).
In order to support different loadings and switching times (in particular for the group 2 channels), three
different Conversion Timing registers are present (CTR[0 – 2]). The first is associated with group 0
channels, the second one with group 1 channels, and the third one with the group 2 channels. INPLATCH
and IPCMP configurations are limited when ipg_clk frequency is greater than 20 Mhz.
34.4.3
ADC Cross Triggering Unit
The ADC Cross Triggering Unit (CTU) is included to enhance the injected conversion capability of the
ADC. The CTU contains multiple event inputs that can be used to select the channels to be converted from
the appropriate event configuration register. In
the CTU/ADC interface is shown. The CTU
generates a trigger output pulse (
ctu_trigger
) of one clock cycle and outputs onto a data bus
(
ctu_numchannel
) which channel has to be converted. A single channel is converted for each request. After
performing the conversion, the ADC returns the result on the ctu_dataout bus. Together with the converted
data, the ADC outputs two pulses named
ctu_nextcmd
and
ctu_push
spaced one clock cycle (of analog
AD_clk) apart. The ctu_nextcmd is set to ‘1’ during the last clock cycle of ADC evaluation phase. The
ctu_push is asserted when the conversion is finished, meaning that the ctu_dataout is valid. After
performing the conversion, the conversion result is saved in the corresponding data register and it is
compared with Watchdog thresholds if requested.
Figure 34-42. ADC Cross Triggering Unit
Two different modes can be selected by programming the CTUEN field of MCR, as described in
:
When the CTU is enabled, the CPU is able to write in the ADC registers but the CPU cannot start any
conversion. Conversion requests can be generated only by the CTU trigger pulse. If a normal or injected
conversion is requested, it is automatically discarded. When the CTU sends to the ADC the number of the
Table 34-41. CTU Selection
CTUEN CTU
Mode
0
CTU is disabled.
1
CTU Trigger Mode is enabled.
ctu_trigger
ctu_numchannel<num_ch_bits-1:0>
ctu_nextcmd
ctu_push
ctu_dataout<9:0>
ADC
Digital
Interface
CTU
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...