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

00<br />

CONVERSION COMMAND<br />

WORD (CCW) TABLE<br />

RESULT WORD TABLE<br />

BEGINNING OF QUEUE 1 00<br />

•<br />

•<br />

•<br />

END OF QUEUE 1<br />

BEGINNING OF QUEUE 2<br />

CHANNEL SELECT,<br />

SAMPLE, HOLD,<br />

A/D CONVERSION<br />

•<br />

•<br />

•<br />

nc...<br />

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

•<br />

•<br />

•<br />

•<br />

•<br />

•<br />

63 END OF QUEUE 2<br />

63<br />

10-BIT CONVERSION COMMAND<br />

WORD FORMAT<br />

9 8 [7:6] [5:0]<br />

P BYP IST CHAN<br />

P — PAUSE AFTER CONVERSION<br />

UNTIL NEXT TRIGGER<br />

BYP — BYPASS BUFFER AMPLIFIER<br />

IST — INPUT SAMPLE TIME<br />

CHAN — CHANNEL NUMBER AND<br />

END-OF-QUEUE CODE<br />

10-BIT RESULT, READABLE IN<br />

THREE 16-BIT FORMATS<br />

15 14 13 12 11 10<br />

0 0 0 0 0 0 RESULT<br />

Figure 18-44. QADC Conversion Queue Operation<br />

To prepare the QADC for a scan sequence, the software writes to the<br />

CCW table to specify the desired channel conversions. The software<br />

also establishes the criteria for initiating the queue execution by<br />

programming the queue operating mode. The queue operating mode<br />

determines what type of trigger event causes queue execution to begin.<br />

A trigger event refers to any of the ways to cause the QADC to begin<br />

executing the CCWs in a queue or subqueue. An external trigger is only<br />

one of the possible trigger events.<br />

S<br />

[9:0]<br />

RIGHT-JUSTIFIED, UNSIGNED RESULT<br />

[15:6]<br />

RESULT 0 0 0 0 0 0<br />

LEFT-JUSTIFIED, SIGNED RESULT<br />

[15:6]<br />

[5:0]<br />

[5:0]<br />

RESULT 0 0 0 0 0 0<br />

LEFT-JUSTIFIED, UNSIGNED RESULT<br />

A scan sequence may be initiated by:<br />

• A software command<br />

• Expiration of the periodic/interval timer<br />

• External trigger signal<br />

• External gated signal (queue 1 only)<br />

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

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