QADC64E Enhanced Mode Operation
MPC561/MPC563 Reference Manual, Rev. 1.2
14-28
Freescale Semiconductor
During the freeze mode, the queue status field is not modified. The queue status field retains the status it
held prior to freezing. As a result, the queue status can show queue 1 active, queue 2 idle, even though
neither queue is being executed during freeze.
14.3.9
Conversion Command Word Table
The conversion command word (CCW) table is a RAM, 64 words long on 16-bit address boundaries where
10-bits of each entry are implemented. A CCW can be programmed by the software to request a conversion
of one analog input channel. The CCW table is written by software and is not modified by the QADC64E.
Each CCW requests the conversion of an analog channel to a digital result. The CCW specifies the analog
channel number, the input sample time, and whether the queue is to pause after the current CCW. The ten
implemented bits of the CCW word are read/write data, where they may be written when the software
MSB
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LSB
15
Field
—
CWPQ1
—
CWPQ2
SRESET
00
11_1111
00
11_1111
Addr
0x30 4812 (QASR1_A); 0x30 4C12 (QASR1_B)
Figure 14-14. Status Register 1 (QASR1)
Table 14-18. QASR1 Bit Descriptions
Bits
Name
Description
0:1
—
Reserved
2:7
CWPQ1
Command Word Pointer for Q1 . CWPQ1 allows the software to know what CCW was last
completed for queue 1. This field is a software read-only field, and write operations have
no effect. CWPQ1 allows software to read the last executed CCW in queue 1, regardless
of which queue is active. The CWPQ1 field is a CCW word pointer with a valid range of 0
to 63.
In contrast to CWP, CPWQ1 is updated when the conversion result is written. When the
QADC64E finishes a conversion in queue 1, both the result register is written and the
CWPQ1 are updated.
Finally, when queue 1 operation is terminated after a CCW is read that is defined as BQ2,
CWP points to BQ2 while CWPQ1 points to the last CCW queue 1.
During the stop mode, the CWPQ1 is reset to 63, since the control registers and the analog
logic are reset. When the freeze mode is entered, the CWPQ1 is unchanged; it points to
the last executed CCW in queue 1.
8:9
—
Reserved
10:15
CWPQ2
Command Word Pointer for Q2 . CWPQ2 allows the software to know what CCW was last
completed for queue 2. This field is a software read-only field, and write operations have
no effect. CWPQ2 allows software to read the last executed CCW in queue 2, regardless
which queue is active. The CWPQ2 field is a CCW word pointer with a valid range of 0 to
63.
In contrast to CWP, CPWQ2 is updated when the conversion result is written. When the
QADC64E finishes a conversion in queue 2, both the result register is written and the
CWPQ2 are updated.
During the stop mode, the CWPQ2 is reset to 63, since the control registers and the analog
logic are reset. When the freeze mode is entered, the CWP is unchanged; it points to the
last executed CCW in queue 2.
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...