
Enhanced Queued Analog-to-Digital Converter (eQADC)
MPC5566 Microcontroller Reference Manual, Rev. 2
19-50
Freescale Semiconductor
Write Configuration Command Message Format for On-Chip ADC Operation
describes the command message format for a write configuration command when interfacing
with the on-chip ADCs. A write configuration command is used to set the control registers of the on-chip
ADCs. No conversion data is returned for a write configuration command. Write configuration commands
are differentiated from read configuration commands by a negated R/W bit.
16–23
CHANNEL_
NUMBER
[0:7]
Channel number. Selects the analog input channel. The software programs this field with the channel number
corresponding to the analog input pin to be sampled and converted. Refer to
,” for details.
24–31
ADC_REG_
ADDRESS
[0:7]
ADC register address. Identifies the address of the ADC register. Only use 16-bit (halfword) addresses. Refer to
. Include $00 for conversion commands.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
EOQ
PAUSE
Reserved
EB
(0b0)
BN
R/W
(0b0)
ADC_REGISTER_HIGH_BYTE
CFIFO Header
ADC Command
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
ADC_REGISTER_LOW_BYTE
ADC_REG_ADDRESS
ADC Command
Figure 19-27. Write Configuration Command Message Format for On-chip ADC Operation
Table 19-35. On-Chip ADC Field Descriptions: Write Configuration
Field
Description
0
EOQ
End-of-queue. Asserted in the last command of a command queue to indicate to the eQADC that a scan of the
queue is completed. EOQ instructs the eQADC to reset its current CFIFO transfer counter value (TC_CF) to 0.
Depending on the CFIFO mode of operation, the CFIFO status also changes upon the detection of an asserted
EOQ bit on the last transferred command. Refer to
Section 19.4.3.5, “CFIFO Scan Trigger Modes
,” for details.
0 Not the last entry of the command queue.
1 Last entry of the command queue.
Note:
If both the pause and EOQ bits are asserted in the same command message the respective flags are set,
but the CFIFO status changes as if only the EOQ bit were asserted.
1
PAUSE
Pause bit. Allows software to create sub-queues within a command queue. When the eQADC completes the
transfer of a command with an asserted pause bit, the CFIFO enters the WAITING FOR TRIGGER state. Refer
to
Section 19.4.3.6.1, “CFIFO Operation Status
,” for a description of the state transitions. The pause bit is only
valid when CFIFO operation mode is configured to single or continuous-scan edge trigger mode.
0 Do not enter WAITING FOR TRIGGER state after transfer of the current command message.
1 Enter WAITING FOR TRIGGER state after transfer of the current command message.
Note:
If both the pause and EOQ bits are asserted in the same command message, the respective flags are set,
but the CFIFO status changes as if only the EOQ bit were asserted.
Table 19-34. On-Chip ADC Field Descriptions: Conversion Command Message Format (continued)
Field
Description
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...