
Analog-to-Digital Converter (ADC)
PXN20 Microcontroller Reference Manual, Rev. 1
34-46
Freescale Semiconductor
channel to be converted, that is taken as the injected channel value and the triggered injected conversion
starts. The CTUSTART bit is set automatically at this point and it is also automatically reset when the CTU
is disabled (CTUEN = 0).
The CTU and the ADC digital interface are synchronous with the ipg_clk in both cases.
34.4.3.1
CTU Trigger Mode
In CTU trigger mode, normal and injected conversion are still enabled.
When a ctu_trigger pulse is received the output data ctu_numchannel is taken as the injected channel value
and the triggered injected conversion starts. The MSR[CTUSTART] bit is set automatically at this point
and it is also automatically reset when the triggered injected conversion is completed.
CTU conversions must be requested (generating ctu_trigger pulse) when offset cancellation phase is over.
Otherwise, ctu_trigger pulse is discarded. If a ctu_trigger pulse is received during an offset refresh, the
current refresh is immediately stopped in order to satisfy the CTU request.
If an injected conversion (programmed by the user by setting the JSTART bit) is ongoing and a pulse is
received on the ctu_trigger input line, then the injected channel conversion chain is aborted) and only the
triggered injected conversion proceeds. After aborting the injected conversion, the MSR[JSTART] bit is
reset to ‘0’. That abort is signalled through the MSR[JABORT] status bit.
If normal conversion is ongoing and a pulse is received on the ctu_trigger input line, then ongoing channel
conversion is aborted and the triggered injected conversion is processed. When it is finished, normal
conversion resumes from the channel at which the normal conversion was aborted.
If another ctu_trigger pulse is received before ctu_nextcmd signal, that triggered conversion request is
discarded.
When a normal conversion is requested during CTU conversion (CTUSTART = 1), the normal conversion
starts when CTU conversion is completed (CTUSTART = 0). Otherwise when an injected conversion is
requested during CTU conversion, that conversion is discarded and the MCR[JSTART] bit is immediately
reset.
34.4.3.2
CTU Control Mode
When CTU Control mode is enabled, the CPU is able to write in the ADC registers but it 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 a ctu_trigger pulse is received the output data ctu_numchannel is taken as the injected channel value
and the triggered injected conversion starts. The CTUSTART bit is set automatically at this point and it is
also automatically reset when CTU Control mode is disabled (CTUEN = 0).
CTU conversions must be requested (generating ctu_trigger pulse) when offset cancellation phase is over.
In fact, each ctu_trigger pulse received during offset cancellation is discarded. Otherwise, if a ctu_trigger
pulse is received during an offset refresh, the current refresh is immediately stopped in order to satisfy the
CTU request.
Timings of CTU interface signals in CTU Control mode are shown in
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...