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

18.10.11 Result Word Table<br />

The result word table is a RAM, 64 words long and 10 bits wide. An entry<br />

is written by the QADC after completing an analog conversion specified<br />

by the corresponding CCW table entry. Software can read or write the<br />

result word table, but in normal operation, the software reads the result<br />

word table to obtain analog conversions from the QADC.<br />

Unimplemented bits are read as 0s, and write operations do not have<br />

any effect.<br />

nc...<br />

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

While there is only one result word table, the data can be accessed in<br />

three different data formats:<br />

• Right justified in the 16-bit word, with 0s in the higher order unused<br />

bits<br />

• Left justified, with the most significant bit inverted to form a sign bit,<br />

and 0s in the unused lower order bits<br />

• Left justified, with 0s in the lower order unused bits<br />

The left justified, signed format corresponds to a half-scale, offset binary,<br />

two’s complement data format. The data is routed onto the IPbus<br />

according to the selected format. The address used to access the table<br />

determines the data alignment format. All write operations to the result<br />

word table are right justified.<br />

The three result data formats are produced by routing the RAM bits onto<br />

the data bus. The software chooses among the three formats by reading<br />

the result at the memory address which produces the desired data<br />

alignment.<br />

The result word table is read/write accessible by software. During normal<br />

operation, applications software only needs to read the result table.<br />

Write operations to the table may occur during test or debug breakpoint<br />

operation. When locations in the CCW table are not used by an<br />

application, software could use the corresponding locations in the result<br />

word table as scratch pad RAM, remembering that only 10 bits are<br />

implemented. The result alignment is only implemented for software<br />

read operations. Since write operations are not the normal use for the<br />

result registers, only one write data format is supported, which is right<br />

justified data.<br />

NOTE:<br />

Some write operations, like bit manipulation, may not operate as<br />

expected because the hardware cannot access a true 16-bit value.<br />

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

Technical Data<br />

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