![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Скачать руководство пользователя страница 583](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898583.webp)
Chapter 23 Analog-to-Digital Converter (ADC)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
583
B starts followed by conversion of the channels D-E. This sequence repeats itself till the
MCR[NSTART] bit is cleared by software.
At the end of each conversion an End Of Conversion interrupt is issued (if enabled by the corresponding
mask bit) and at the end of the conversion sequence an End Of Chain interrupt is issued (if enabled by the
corresponding mask bit in the IMR register).
23.3.1.4
Injected channel conversion
A conversion chain can be injected into the ongoing normal conversion by configuring the Injected
Conversion Mask Registers (JCMR). As with normal conversion, each channel can be selected
individually. This injected conversion (which can occur only in One Shot mode) interrupts the normal
conversion (which can be in One Shot or Scan mode). When an injected conversion is inserted, ongoing
normal channel conversion is aborted and the injected channel request is processed. After the last channel
in the injected chain is converted, normal conversion resumes from the channel at which the normal
conversion was aborted, as shown in
Figure 23-3. Injected sample/conversion sequence
The injected conversion can be started using two options:
•
By software setting the MCR[JSTART]; the current conversion is suspended and the injected chain
is converted. At the end of the chain, the JSTART bit in the MSR is reset and the normal chain
conversion is resumed.
•
By an internal trigger signal from the PIT when MCR[JTRGEN] is set; a programmed event
(rising/falling edge depending on MCR[JEDGE]) on the signal coming from PIT or CTU starts the
injected conversion by setting the MSR[JSTART]. At the end of the chain, the MSR[JSTART] is
cleared and the normal conversion chain is resumed.
The MSR[JSTART] is automatically set when the Injected conversion starts. At the same time the
MCR[JSTART] is reset, allowing the software to program a new start of conversion. In that case the new
requested conversion starts after the running injected conversion is completed.
At the end of each injected conversion, an End Of Injected Conversion (JEOC) interrupt is issued (if
enabled by the IMR[MSKJEOC]) and at the end of the sequence an End Of Injected Chain (JECH)
interrupt is issued (if enabled by the IMR[MSKJEOC]).
The ongoing channel conversion is interrupted and the injected
conversion chain is processed first. After the injected chain is
converted the normal chain conversion resumes from the channel at
which normal conversion was aborted.
Injected conversion of channels I and J
Normal conversion resumes from
the last aborted channel.
Sample B
Convert B
Sample C
Sample D
Convert D
Sample E
Convert E
Convert C
Sample C
Abort C
Sample I
Sample J
Convert J
Sample C
Convert C
Convert I
Содержание SAFE ASSURE Qorivva MPC5601P
Страница 2: ...MPC5602P Microcontroller Reference Manual Rev 4 2 Freescale Semiconductor ...
Страница 4: ...MPC5602P Microcontroller Reference Manual Rev 4 4 Freescale Semiconductor ...
Страница 62: ...Chapter 2 MPC5602P Memory Map MPC5602P Microcontroller Reference Manual Rev 4 62 Freescale Semiconductor ...
Страница 104: ...Chapter 4 Clock Description MPC5602P Microcontroller Reference Manual Rev 4 104 Freescale Semiconductor ...
Страница 128: ...Chapter 6 Power Control Unit MC_PCU MPC5602P Microcontroller Reference Manual Rev 4 128 Freescale Semiconductor ...
Страница 272: ...Chapter 12 e200z0 and e200z0h Core MPC5602P Microcontroller Reference Manual Rev 4 272 Freescale Semiconductor ...
Страница 280: ...Chapter 14 Crossbar Switch XBAR MPC5602P Microcontroller Reference Manual Rev 4 280 Freescale Semiconductor ...
Страница 306: ...Chapter 16 Internal Static RAM SRAM MPC5602P Microcontroller Reference Manual Rev 4 306 Freescale Semiconductor ...
Страница 380: ...Chapter 17 Flash Memory MPC5602P Microcontroller Reference Manual Rev 4 380 Freescale Semiconductor ...
Страница 532: ...Chapter 21 LIN Controller LINFlex MPC5602P Microcontroller Reference Manual Rev 4 532 Freescale Semiconductor ...
Страница 578: ...Chapter 22 FlexCAN MPC5602P Microcontroller Reference Manual Rev 4 578 Freescale Semiconductor ...
Страница 708: ...Chapter 25 FlexPWM MPC5602P Microcontroller Reference Manual Rev 4 708 Freescale Semiconductor ...
Страница 742: ...Chapter 26 eTimer MPC5602P Microcontroller Reference Manual Rev 4 742 Freescale Semiconductor ...
Страница 760: ...Chapter 27 Functional Safety MPC5602P Microcontroller Reference Manual Rev 4 760 Freescale Semiconductor ...
Страница 782: ...Chapter 28 Fault Collection Unit FCU MPC5602P Microcontroller Reference Manual Rev 4 782 Freescale Semiconductor ...
Страница 788: ...Chapter 29 Wakeup Unit WKPU MPC5602P Microcontroller Reference Manual Rev 4 788 Freescale Semiconductor ...
Страница 798: ...Chapter 30 Periodic Interrupt Timer PIT MPC5602P Microcontroller Reference Manual Rev 4 798 Freescale Semiconductor ...
Страница 816: ...Chapter 32 Cyclic Redundancy Check CRC MPC5602P Microcontroller Reference Manual Rev 4 816 Freescale Semiconductor ...
Страница 848: ...Chapter 33 Boot Assist Module BAM MPC5602P Microcontroller Reference Manual Rev 4 848 Freescale Semiconductor ...
Страница 930: ...Chapter 36 Nexus Development Interface NDI MPC5602P Microcontroller Reference Manual Rev 4 930 Freescale Semiconductor ...