Enhanced Queued Analog-to-Digital Converter (eQADC)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
18-55
this 14-bit data is the result of the calculations performed in the EQADC MAC unit using the12-bit
data received from the ADC and the calibration constants GCC and OCC (Refer to
Section 18.4.5.4, “ADC Calibration Feature
”). Then, this 14-bit data is further formatted into a
16-bit format according to the status of the FMT bit in the conversion command. When FMT is
asserted, the 14-bit result data is reformatted to look as if it was measured against an imaginary
ground at VREF/2 (the msb (most significant bit) bit of the 14-bit result is inverted), and is
sign-extended to a 16-bit format as in
. When FMT is negated, the eQADC
zero-extends the 14-bit result data to a 16-bit format as in
. Correspondence between
the analog voltage in a channel and the calculated digital values is shown in
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SIGN_EXT
CONVERSION_RESULT (With inverted msb bit)
0
0
ADC Result
Figure 18-29. ADC Result Format when FMT = 1 (Right Justified Signed)—On-Chip ADC Operation
Table 18-37. ADC Result Format when FMT = 1 Field Descriptions
Field
Description
0–1
SIGN_
EXT[0:1]
Sign extension. Only has meaning when FMT is asserted. SIGN_EXT is 0b00 when CONVERSION_RESULT
is positive, and 0b11 when CONVERSION_RESULT is negative.
2–15
CONVERSION
_RESULT
[0:13]
Conversion result. A digital value corresponding to the analog input voltage in a channel when the conversion
command was initiated. The two’s complement representation is used to express negative values.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
0
CONVERSION_RESULT
0
0
ADC Result
Figure 18-30. ADC Result Format when FMT = 0 (Right Justified Unsigned)—On-Chip ADC Operation
Table 18-38. ADC Result Format when FMT = 0 Field Descriptions
Field
Description
0–1
SIGN_
EXT[0:1]
Sign extension. Only has meaning when FMT is asserted. SIGN_EXT is 0b00 when CONVERSION_RESULT
is positive, and 0b11 when CONVERSION_RESULT is negative.
2–15
CONVERSION
_RESULT
[0:13]
Conversion result. A digital value corresponding to the analog input voltage in a channel when the conversion
command was initiated.
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...