English
Language : 

MMC2107 Datasheet, PDF (404/618 Pages) –
Freescale Semiconductor, Inc.
Queued Analog-to-Digital Converter (QADC)
18.5 Modes of Operation
This subsection describes the two modes of operation:
• Debug mode
• Stop mode
18.5.1 Debug Mode
If the QDBG bit in the module configuration register (QADCMCR) is set,
then the QADC enters debug mode when background debug mode is
enabled and a breakpoint is processed.
When in debug mode and the QDBG bit is set, the QADC finishes any
conversion in progress and then freezes. Depending on when debug
mode is asserted, the three possible queue freeze scenarios are:
• When a queue is not executing, the QADC freezes immediately.
• When a queue is executing, the QADC completes the current
conversion and then freezes.
• If during the execution of the current conversion, the queue
operating mode for the active queue is changed, or a queue 2
abort occurs, the QADC freezes immediately.
When the QADC enters debug mode while a queue is active, the current
CCW location of the queue pointer is saved.
Debug mode:
• Stops the analog clock
• Holds the periodic/interval timer in reset
• Prevents external trigger events from being captured
• Keeps all QADC registers and RAM accessible
Although the QADC saves a pointer to the next CCW in the current
queue, the software can force the QADC to execute a different CCW by
writing new queue operating modes for normal operation. The QADC
looks at the queue operating modes, the current queue pointer, and any
pending trigger events to decide which CCW to execute.
Technical Data
404
Queued Analog-to-Digital Converter (QADC)
For More Information On This Product,
Go to: www.freescale.com
MMC2107 – Rev. 2.0
MOTOROLA