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

18.9.3.9 State Machine<br />

The state machine receives the QCLK, RST, STOP, IST[1:0], BYP,<br />

CHAN[5:0], and START CONV. signals, from which it generates all<br />

timing to perform an A/D conversion. The start-conversion signal<br />

(START CONV.) indicates to the A/D converter that the desired channel<br />

has been sent to the MUX. IST[1:0] indicates the desired sample time.<br />

BYP indicates whether to bypass the sample amplifier. The<br />

end-of-conversion (EOC) signal notifies the queue control logic that a<br />

result is available for storage in the result RAM.<br />

nc...<br />

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

18.10 Digital Control<br />

The digital control subsystem includes the control logic to sequence the<br />

conversion activity, the clock and periodic/interval timer, control and<br />

status registers, the conversion command word table RAM, and the<br />

result word table RAM.<br />

The central element for control of the QADC conversions is the 64-entry<br />

conversion command word (CCW) table. Each CCW specifies the<br />

conversion of one input channel. Depending on the application, one or<br />

two queues can be established in the CCW table. A queue is a scan<br />

sequence of one or more input channels. By using a pause mechanism,<br />

subqueues can be created in the two queues. Each queue can be<br />

operated using one of several different scan modes. The scan modes for<br />

queue 1 and queue 2 are programmed in the control registers QACR1<br />

and QACR2. Once a queue has been started by a trigger event (any of<br />

the ways to cause the QADC to begin executing the CCWs in a queue<br />

or subqueue), the QADC performs a sequence of conversions and<br />

places the results in the result word table.<br />

18.10.1 Queue Priority Timing Examples<br />

This subsection describes the QADC priority scheme when trigger<br />

events on two queues overlap or conflict.<br />

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

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