![NXP Semiconductors MPC5605BK Скачать руководство пользователя страница 722](http://html.mh-extra.com/html/nxp-semiconductors/mpc5605bk/mpc5605bk_reference-manual_1721852722.webp)
Chapter 28 Analog-to-Digital Converter (ADC)
MPC5606BK Microcontroller Reference Manual, Rev. 2
720
Freescale Semiconductor
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]).
If the content of all the injected conversion mask registers (JCMR) is zero (that is, no channel is selected)
the JECH interrupt is immediately issued after the start of conversion.
28.3.1.5
Abort conversion
Two different abort functions are provided.
•
The user can abort the ongoing conversion by setting the MCR[ABORT] bit. The current
conversion is aborted and the conversion of the next channel of the chain is immediately started.
In the case of an abort operation, the NSTART/JSTART bit remains set and the ABORT bit is reset
after the conversion of the next channel starts. The EOC interrupt corresponding to the aborted
channel is not generated. This behavior is true for normal or Injected conversion modes. If the last
channel of a chain is aborted, the end of chain is reported generating an ECH interrupt.
•
It is also possible to abort the current chain conversion by setting the MCR[ABORTCHAIN] bit.
In that case the behavior of the ADC depends on the MODE bit. If scan mode is disabled, the
NSTART bit is automatically reset together with the MCR[ABORTCHAIN] bit. Otherwise, if the
scan mode is enabled, a new chain conversion is started. The EOC interrupt of the current aborted
conversion is not generated but an ECH interrupt is generated to signal the end of the chain.
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).
28.3.2
Analog clock generator and conversion timings
The clock frequency can be selected by programming the MCR[ADCLKSEL]. When this bit is set to 1 the
ADC clock has the same frequency as the peripheral set 3 clock. Otherwise, the ADC clock is half of the
peripheral set 3 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.
In all other cases, the ADC should use the clock divided by two internally.
28.3.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.
Содержание MPC5605BK
Страница 2: ...This page is intentionally left blank...
Страница 20: ...MPC5606BK Microcontroller Reference Manual Rev 2 20 Freescale Semiconductor...
Страница 103: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 103 Clocks and power...
Страница 104: ...MPC5606BK Microcontroller Reference Manual Rev 2 104 Freescale Semiconductor This page is intentionally left blank...
Страница 243: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 243 Core platform modules...
Страница 244: ...MPC5606BK Microcontroller Reference Manual Rev 2 244 Freescale Semiconductor This page is intentionally left blank...
Страница 395: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 395 Communication modules...
Страница 396: ...MPC5606BK Microcontroller Reference Manual Rev 2 396 Freescale Semiconductor This page is intentionally left blank...
Страница 548: ...Chapter 24 LIN Controller LINFlexD MPC5606BK Microcontroller Reference Manual Rev 2 548 Freescale Semiconductor...
Страница 645: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 643 Timers...
Страница 646: ...MPC5606BK Microcontroller Reference Manual Rev 2 644 Freescale Semiconductor This page is intentionally left blank...
Страница 715: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 713 ADC system...
Страница 716: ...MPC5606BK Microcontroller Reference Manual Rev 2 714 Freescale Semiconductor This page is intentionally left blank...
Страница 787: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 787 Memory...
Страница 788: ...MPC5606BK Microcontroller Reference Manual Rev 2 788 Freescale Semiconductor This page is intentionally left blank...
Страница 893: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 893 Integrity...
Страница 894: ...MPC5606BK Microcontroller Reference Manual Rev 2 894 Freescale Semiconductor This page is intentionally left blank...
Страница 943: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 943 Debug...
Страница 944: ...MPC5606BK Microcontroller Reference Manual Rev 2 944 Freescale Semiconductor This page is intentionally left blank...