28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />

Queued Analog-to-Digital Converter (QADC)<br />

18.10.7 Continuous-Scan Modes<br />

nc...<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, I<br />

NOTE:<br />

When the application software wants to execute multiple passes through<br />

a sequence of conversions defined by a queue, a continuous-scan<br />

queue operating mode is selected. By programming the MQ1(2) field in<br />

QACR1(2), these software-initiated modes can be selected:<br />

• Software-initiated continuous-scan mode<br />

• External trigger continuous-scan mode<br />

• External gated continuous-scan mode<br />

• Periodic timer continuous-scan mode<br />

When a queue is programmed for a continuous-scan mode, the<br />

single-scan enable bit in the queue control register does not have any<br />

meaning or effect. As soon as the queue operating mode is<br />

programmed, the selected trigger event can initiate queue execution.<br />

In the case of the software-initiated continuous-scan mode, the trigger<br />

event is generated internally and queue execution begins immediately.<br />

In the other continuous-scan queue operating modes, the selected<br />

trigger event must occur before the queue can start. A trigger overrun is<br />

captured if a trigger event occurs during queue execution in the external<br />

trigger continuous-scan mode and the periodic timer continuous-scan<br />

mode.<br />

After the queue execution is complete, the queue status is shown as idle.<br />

Since the continuous-scan queue operating modes allow the entire<br />

queue to be scanned multiple times, software involvement is not needed<br />

to enable queue execution to continue from the idle state. The next<br />

trigger event causes queue execution to begin again, starting with the<br />

first CCW in the queue.<br />

Coherent samples are guaranteed. The time between consecutive<br />

conversions has been designed to be consistent. However, there is one<br />

exception. For queues that end with a CCW containing EOQ code<br />

(channel 63), the last queue conversion to the first queue conversion<br />

requires one additional CCW fetch cycle. Therefore continuous samples<br />

are not coherent at this boundary.<br />

In addition, the time from trigger to first conversion can not be<br />

guaranteed since it is a function of clock synchronization, programmable<br />

trigger events, queue priorities, and so on.<br />

Technical Data <strong>MMC2107</strong> – Rev. 2.0<br />

472 Queued Analog-to-Digital Converter (QADC) MOTOROLA<br />

For More Information On This Product,<br />

Go to: www.freescale.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!