English
Language : 

MMC2107 Datasheet, PDF (483/618 Pages) –
Freescale Semiconductor, Inc.
Queued Analog-to-Digital Converter (QADC)
Digital Control
The software also specifies whether the QADC is to perform a single
pass through the queue or is to scan continuously. When a single-scan
mode is selected, the software selects the queue operating mode and
sets the single-scan enable bit. When a continuous-scan mode is
selected, the queue remains active in the selected queue operating
mode after the QADC completes each queue scan sequence.
During queue execution, the QADC reads each CCW from the active
queue and executes conversions in four stages:
• Initial sample
• Final sample
• Resolution
During initial sample, a buffered version of the selected input channel is
connected to the sample capacitor at the input of the sample buffer
amplifier.
During the final sample period, the sample buffer amplifier is bypassed,
and the multiplexer input charges the sample capacitor directly. Each
CCW specifies a final input sample time of 2, 4, 8, or 16 QCLK cycles.
When an analog-to-digital conversion is complete, the result is written to
the corresponding location in the result word table. The QADC continues
to sequentially execute each CCW in the queue until the end of the
queue is detected or a pause bit is found in a CCW.
When the pause bit is set in the current CCW, the QADC stops execution
of the queue until a new trigger event occurs. The pause status flag bit
is set, which may cause an interrupt to notify the software that the queue
has reached the pause state. After the trigger event occurs, the paused
state ends and the QADC continues to execute each CCW in the queue
until another pause is encountered or the end of the queue is detected.
The end-of-queue condition is indicated by:
• The CCW channel field is programmed with 63 ($3F) to specify the
end of the queue.
• The end-of-queue 1 is implied by the beginning of queue 2, which
is specified in the BQ2 field in QACR2.
• The physical end of the queue RAM space defines the end of
either queue.
MMC2107 – Rev. 2.0
MOTOROLA
Queued Analog-to-Digital Converter (QADC)
For More Information On This Product,
Go to: www.freescale.com
Technical Data
483