QADC64E Enhanced Mode Operation
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
14-5
to the LOCK and FLIP bits of the module configuration register. This will be described in
“Switching Between Legacy and Enhanced Modes of Operation
.”
14.2.4
Using the Queue and Result Word Table
The heart of the QADC is its conversion command word (CCW) queues. This is where the module is
programmed to convert a particular channel according to a particular requirement. The queues are created
by writing CCWs into the CCW table in the register memory. The queues are controlled by the three
control registers, and their status can be read from the two status registers. As conversions are completed
the digital value is written into the result word table.
shows the CCW queue and the result
word table.
Figure 14-2. CCW Queue and Result Table Block Diagram
14.2.5
External Multiplexing
The QADC can use from one to four 8-input external multiplexer chips to expand the number of analog
signals that may be converted. The externally multiplexed channels are automatically selected from the
Conversion Command
Word (CCW) Table
0x200 (CCW0)
BQ2
0x27E (CCW63)
A/D Converter
Result Word Table
Result 0
Result 63
Channel Select,
Sample, Hold,
and
Analog to Digital
Conversion
Begin Queue 1
Begin Queue 2
End of Queue 1
End of Queue 2
P REF
IST
CHAN
10-bit Conversion
Command Word
(CCW) Format
10-bit Result is
Software Readable
in Three Different 16-bit Formats
P = Pause Until Next Trigger
REF = Use Alternate Reference Voltage
IST = Input Sample Time
CHAN = Channel Number and End_of_Queue Code
Result
S
Result
0
Right Justified, Unsigned Result Format
Left Justified, Unsigned Result Format
Left Justified, Signed Result Format
15
0
15
0
S = Sign bit
Result
15
0
0 0
0 0
0
0 0 0
0 0
0
0 0 0
0 0
0
Address Offsets:
0x280-0x2FF
1
0x380-0x3FF
1
0x300-0x37F
1
msb
msb
lsb
lsb
8
6 9
15
7
7 8
1
7 8
7 8
NOTE 1: These offsets must be added to the module base address: A = 0x30 4800 or B = 0x30 4C00
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...