English
Language : 

MMC2107 Datasheet, PDF (485/618 Pages) –
Freescale Semiconductor, Inc.
Queued Analog-to-Digital Converter (QADC)
Digital Control
18.10.11 Result Word Table
The result word table is a RAM, 64 words long and 10 bits wide. An entry
is written by the QADC after completing an analog conversion specified
by the corresponding CCW table entry. Software can read or write the
result word table, but in normal operation, the software reads the result
word table to obtain analog conversions from the QADC.
Unimplemented bits are read as 0s, and write operations do not have
any effect.
While there is only one result word table, the data can be accessed in
three different data formats:
• Right justified in the 16-bit word, with 0s in the higher order unused
bits
• Left justified, with the most significant bit inverted to form a sign bit,
and 0s in the unused lower order bits
• Left justified, with 0s in the lower order unused bits
The left justified, signed format corresponds to a half-scale, offset binary,
two’s complement data format. The data is routed onto the IPbus
according to the selected format. The address used to access the table
determines the data alignment format. All write operations to the result
word table are right justified.
The three result data formats are produced by routing the RAM bits onto
the data bus. The software chooses among the three formats by reading
the result at the memory address which produces the desired data
alignment.
The result word table is read/write accessible by software. During normal
operation, applications software only needs to read the result table.
Write operations to the table may occur during test or debug breakpoint
operation. When locations in the CCW table are not used by an
application, software could use the corresponding locations in the result
word table as scratch pad RAM, remembering that only 10 bits are
implemented. The result alignment is only implemented for software
read operations. Since write operations are not the normal use for the
result registers, only one write data format is supported, which is right
justified data.
NOTE: Some write operations, like bit manipulation, may not operate as
expected because the hardware cannot access a true 16-bit value.
MMC2107 – Rev. 2.0
MOTOROLA
Queued Analog-to-Digital Converter (QADC)
For More Information On This Product,
Go to: www.freescale.com
Technical Data
485