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 />

overrun. As with all continuous-scan queue operating modes, software<br />

action is not needed between trigger events. Since both queues may be<br />

triggered by the periodic/interval timer, see 18.10.9 Periodic/Interval<br />

Timer for a summary of periodic/interval timer reset conditions.<br />

Software enables the completion interrupt when using the periodic timer<br />

continuous-scan mode. When the interrupt occurs, the software knows<br />

that the periodically collected analog results have just been taken. The<br />

software can use the periodic interrupt to obtain nonanalog inputs as<br />

well, such as contact closures, as part of a periodic look at all inputs.<br />

nc...<br />

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

18.10.8 QADC Clock (QCLK) Generation<br />

NOTE:<br />

CAUTION:<br />

Figure 18-42 is a block diagram of the clock subsystem. The QCLK<br />

provides the timing for the A/D converter state machine which controls<br />

the timing of the conversion. The QCLK is also the input to a 17-stage<br />

binary divider which implements the periodic/interval timer. To retain the<br />

specified analog conversion accuracy, the QCLK frequency (f QCLK )<br />

must be within the tolerance specified in Section 22. Electrical<br />

Specifications.<br />

Before using the QADC, the software must initialize the prescaler with<br />

values that put the QCLK within the specified range. Though most<br />

software applications initialize the prescaler once and do not change it,<br />

write operations to the prescaler fields are permitted.<br />

For software compatibility with earlier versions of QADC, the definition of<br />

PSL, PSH, and PSA have been maintained. However, the requirements<br />

on minimum time and minimum low time no longer exist.<br />

A change in the prescaler value while a conversion is in progress is likely<br />

to corrupt the result from any conversion in progress. Therefore, any<br />

prescaler write operation should be done only when both queues are in<br />

the disabled modes.<br />

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

476 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!