MPC563XM Reference Manual, Rev. 1
1100
Freescale Semiconductor
Preliminary—Subject to Change Without Notice
b.
At the end of the CQueue, the “EOQ” bit is asserted as shown in
c.
Results will be returned to RFIFO3 as specified in the MESSAGE_TAG field of commands.
2. Reserve memory space for storing results.
Step Two: Configure the DMAC to handle data transfers between the CQueues/RQueues in RAM and the
CFIFOs/RFIFOs in the EQADC.
1.
For transferring, set the source address of the DMAC to point to the start address of CQueue1. Set
the destination address of the DMAC to point to EQADC_CFPR1. Refer to
“EQADC CFIFO Push Registers (EQADC_CFPR)
.
2.
For receiving, set the source address of the DMAC to point to EQADC_RFPR3. Refer to
Section 24.5.2.6, “EQADC Result FIFO Pop Registers (EQADC_RFPR)
address of the DMAC to point to the starting address of RQueue1.
Step Three: Configure the EQADC Control Registers.
3.
Configure
Section 24.5.2.8, “EQADC Interrupt and DMA Control Registers (EQADC_IDCR)
a.
Set EOQIE1 to enable the End of Queue Interrupt request.
Table 24-40. Example of CQueue Commands
1
1
Fields LST, TSR, FMT, and CHANNEL_NUMBER are not showed for clarity. See
Format for the Standard Configuration
for details.
Bit #
0
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Bit
Name
EOQ
PA
U
S
E
RESER
VED
AB
OR
T_ST
EB
BN
RESER
VED
MESSAGE
TAG
ADC COMMAND
CMD
1
0
0
0
0
0
1
0
0b0011
Conversion Command
CMD
2
0
0
0
0
0
1
0
0b0011
Conversion Command
CMD
3
0
0
0
0
0
1
0
0b0011
Conversion Command
CMD
4
0
1
0
0
0
1
0
0b0011
2
2
MESSAGE_TAG field is only defined for read configuration commands.
Configure peripheral device for next conversion sequence
CMD
5
0
0
0
0
0
1
0
0b0011
Conversion Command
CMD
6
0
0
0
0
0
1
0
0b0011
Conversion Command
CMD
7
0
0
0
0
0
1
0
0b0011
Conversion Command
CMD
8
0
1
0
0
0
1
0
Configure peripheral device for next conversion sequence
etc. ...........
CMD
EOQ
1
0
0
0
0
1
0
0b0011
EOQ Message
CFIFO Header
ADC Command