QADC64E Enhanced Mode Operation
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
14-29
initializes the QADC64E. The remaining 6-bits are unimplemented so these read as zeros, and write
operations have no effect. Each location in the CCW table corresponds to a location in the result word
table. When a conversion is completed for a CCW entry, the 10-bit result is written in the corresponding
result word entry. The QADC64E provides 64 CCW table entries.
The beginning of queue 1 is the first location in the CCW table. The first location of queue 2 is specified
by the beginning of queue 2 pointer (BQ2) in QACR2. To dedicate the entire CCW table to queue 1, queue
2 is programmed to be in the disabled mode, and BQ2 is programmed to 64 or greater. To dedicate the
entire CCW table to queue 2, queue 1 is programmed to be in the disabled mode, and BQ2 is specified as
the first location in the CCW table
illustrates the operation of the queue structure.
Figure 14-15. QADC64E Conversion Queue Operation
To prepare the QADC64E for a scan sequence, the software writes to the CCW table to specify the desired
channel conversions. The software also establishes the criteria for initiating the queue execution by
programming the queue operating mode. The queue operating mode determines what type of trigger event
causes queue execution to begin. A “trigger event” is used to refer to any of the ways to cause the
Conversion Command
Word (CCW) Table
0x200 (CCW0)
1
BQ2
0x27E (CCW63)
1
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...