28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

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

Digital Control<br />

The QADC automatically performs the conversions in the queue until a<br />

pause or an end-of-queue condition is encountered. When a pause<br />

occurs, queue execution stops until the timer interval elapses again, and<br />

queue execution continues. When the queue execution reaches an<br />

end-of-queue situation, the single-scan enable bit is cleared. Software<br />

may set the single-scan enable bit again, allowing another scan of the<br />

queue to be initiated by the interval timer.<br />

nc...<br />

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

The interval timer generates a trigger event whenever the time interval<br />

elapses. The trigger event may cause the queue execution to continue<br />

following a pause, or may be considered a trigger overrun. Once the<br />

queue execution is completed, the single-scan enable bit must be set<br />

again to enable the timer to count again.<br />

Normally, only one queue will be enabled for interval timer single-scan<br />

mode and the timer will reset at the end-of-queue. However, if both<br />

queues are enabled for either single-scan or continuous interval timer<br />

mode, the end-of-queue condition will not reset the timer while the other<br />

queue is active. In this case, the timer will reset when both queues have<br />

reached end-of-queue. See 18.10.9 Periodic/Interval Timer for a<br />

definition of interval timer reset conditions.<br />

The interval timer single-scan mode can be used in applications which<br />

need coherent results, for example:<br />

• When it is necessary that all samples are guaranteed to be taken<br />

during the same scan of the analog pins.<br />

• When the interrupt rate in the periodic timer continuous-scan<br />

mode would be too high.<br />

• In sensitive battery applications, where the single-scan mode uses<br />

less power than the software-initiated continuous-scan mode.<br />

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

Technical Data<br />

MOTOROLA Queued Analog-to-Digital Converter (QADC) 471<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!