![NXP Semiconductors MPC5605BK Reference Manual Download Page 730](http://html.mh-extra.com/html/nxp-semiconductors/mpc5605bk/mpc5605bk_reference-manual_1721852730.webp)
Chapter 28 Analog-to-Digital Converter (ADC)
MPC5606BK Microcontroller Reference Manual, Rev. 2
728
Freescale Semiconductor
28.3.7
DMA functionality
A DMA request can be programmed after the conversion of every channel by setting the respective
masking bit in the DMAR registers. The DMAR masking registers must be programmed before starting
any conversion. There is one DMAR per channel type and each ADC module has one DMA request
associated with it.
The DMA transfers can be enabled using the DMAEN bit of DMAE register. When the DCLR bit of
DMAE register is set then the DMA request is cleared on the reading of the register for which DMA
transfer has been enabled.
28.3.8
Interrupts
The ADC generates the following two maskable interrupt signals:
•
ADC_EOC interrupt requests
— EOC (end of conversion)
— ECH (end of chain)
— JEOC (end of injected conversion)
— JECH (end of injected chain)
— EOCTU (end of CTU conversion)
•
WDG
x
L and WDG
x
H (watchdog threshold) interrupt requests
Interrupts are generated during the conversion process to signal events such as End Of Conversion as
explained in register description for CEOCFR[0..2]. Two registers named CEOCFR[0..2] (Channel
Pending Registers) and IMR (Interrupt Mask Register) are provided in order to check and enable the
interrupt request to INT module.
Interrupts can be individually enabled on a channel by channel basis by programming the CIMR (Channel
Interrupt Mask Register).
Several CEOCFR[0..2] are also provided in order to signal which of the channels’ measurement has been
completed.
The analog watchdog interrupts are handled by two registers, WTISR (Watchdog Threshold Interrupt
Status Register) and WTIMR (Watchdog Threshold Interrupt Mask Register), in order to check and enable
the interrupt request to the INTC module. The Watchdog interrupt source sets two pending bits WDG
x
H
and WDG
x
L in the WTISR for each of the channels being monitored.
The CEOCFR[0..2] contains the interrupt pending request status. If the user wants to clear a particular
interrupt event status, then writing a 1 to the corresponding status bit clears the pending interrupt flag (at
this write operation all the other bits of the CEOCFR[0..2] must be maintained at 0).
28.3.9
External decode signals delay
The ADC provides several external decode signals to select which external channel has to be converted.
In order to take into account the control switching time of the external analog multiplexer, a Decode
Summary of Contents for MPC5605BK
Page 2: ...This page is intentionally left blank...
Page 20: ...MPC5606BK Microcontroller Reference Manual Rev 2 20 Freescale Semiconductor...
Page 103: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 103 Clocks and power...
Page 645: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 643 Timers...
Page 715: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 713 ADC system...
Page 787: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 787 Memory...
Page 893: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 893 Integrity...
Page 943: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 943 Debug...