Enhanced Queued Analog-to-Digital Converter (eQADC)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
18-54
Freescale Semiconductor
ADC Result Format for On-Chip ADC Operation
When the FIFO control unit receives a return data message, it decodes the MESSAGE_TAG field and
stores the 16-bit data into the appropriate RFIFO. This section describes the ADC result portion of the
result message returned by the on-chip ADCs.
The 16-bit data stored in the RFIFOs can be the following:
•
Data read from an ADC register with a read configuration command. In this case, the stored 16-bit
data corresponds to the contents of the ADC register that was read.
•
A time stamp. In this case, the stored 16-bit data is the value of the time base counter latched when
the eQADC detects the end of the analog input voltage sampling. For details see
•
A conversion result. In this case, the stored 16-bit data contains a right justified 14-bit result data.
The conversion result can be calibrated or not depending on the status of CAL bit in the command
that requested the conversion. When the CAL bit is negated, this 14-bit data is obtained by
executing a 2-bit left-shift on the 12-bit data received from the ADC. When the CAL bit is asserted,
8–11
MESSAGE
_TAG[0:3]
MESSAGE_TAG field. Allows the eQADC to separate returning results into different RFIFOs. When the eQADC
transfers a command, the MESSAGE_TAG is included as part of the command. Eventually the external
device/on-chip ADC returns the result with the same MESSAGE_TAG. The eQADC separates incoming
messages into different RFIFOs by decoding the MESSAGE_TAG of the incoming data.
12–23
Reserved.
24–31
ADC_REG_
ADDRESS
[0:7]
ADC register address. Selects a register on the ADC register set to be written or read. Only halfword addresses
can be used. Refer to
.
Table 18-36. On-Chip ADC Field Descriptions: Read Configuration (continued)
Field
Description
MESSAGE_TAG[0:3]
MESSAGE_TAG Meaning
0b0000
Result is sent to RFIFO 0
0b0001
Result is sent to RFIFO 1
0b0010
Result is sent to RFIFO 2
0b0011
Result is sent to RFIFO 3
0b0100
Result is sent to RFIFO 4
0b0101
Result is sent to RFIFO 5
0b0110–0b0111
Reserved
0b1000
Null message received
0b1001
Reserved for customer use.
1
1
These messages are treated as null messages. Therefore, they must obey the
format for incoming null messages and return valid BUSY0/1 fields. Refer to
Section , “Null Message Format for External Device Operation
.”
0b1010
0b1011–0b1111
Reserved
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...