Enhanced Queued Analog-to-Digital Converter (eQADC)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
18-112
Freescale Semiconductor
Step Two: Configure the eDMA to handle data transfers between the command/result queues in RAM and
the CFIFOs/RFIFOs in the eQADC.
1. For transferring, set the source address of the eDMA TCD
n
to point to the start address of
command queue 1. Set the destination address of the eDMA to point to EQADC_CFPR1. Refer to
Section 18.3.2.4, “eQADC CFIFO Push Registers 0–5 (EQADC_CFPRn)
.”
2. For receiving, set the source address of the eDMA TCD
n
to point to EQADC_RFPR3. Refer to
Section 18.3.2.5, “eQADC Result FIFO Pop Registers 0–5 (EQADC_RFPRn)
.” Set the destination
address of the eDMA to point to the starting address of result queue 1.
Table 18-57. Example of Command Queue Commands
1
1
Fields LST, TSR, FMT, and CHANNEL_NUMBER are not shown for clarity. Refer to
Section , “Conversion Command Message
Format for On-Chip ADC Operation
,” for details.
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
EOQ
PA
U
S
E
RES
E
R
VED
ABOR
T
_ST
EB (0b1)
BN
CAL
MESSAGE_
TAG
ADC COMMAND
CMD1
0
0
0
0
0
1
0
0b0011
Conversion command
CMD2
0
0
0
0
0
1
0
0b0011
Conversion command
CMD3
0
0
0
0
0
1
0
0b0011
Conversion command
CMD4
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
CMD5
0
0
0
0
0
1
0
0b0011
Conversion command
CMD6
0
0
0
0
0
1
0
0b0011
Conversion command
CMD7
0
0
0
0
0
1
0
0b0011
Conversion command
CMD8
0
1
0
0
0
1
0
0b0011
Configure peripheral device for next conversion sequence
etc
............
CMDEOQ
1
0
0
0
0
1
0
0b0011
EOQ message
CFIFO header
ADC command
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...