MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
1069
Preliminary—Subject to Change Without Notice
When a conversion is undertaken at a resolution less than 12, the result is presented by the ADC in right
justified format in the 12-bit input bus e.g.: 0000xxxxxxxx for 8 bits and 00xxxxxxxxxx for 10 bits. The
EQADC inverts the result to left justified format i.e.: xxxxxxxx0000 for 8 bits and xxxxxxxxxx00 for 10
bits. This is because the same calibration coefficients in the MAC can then be used. The left shift operation
is done just after the conversion result enters the EQADC, in the Resolution Adjustment block prior to the
MAC, as illustrated in
24.6.6.6
ADC Calibration Feature
24.6.6.6.1
Overview
There are three sets of calibration coefficients for each ADC. Each set is composed by a gain factor and
an offset factor: GCCn/OCCn, ALTGCCn1/ALTGCCn1, and ALTGCCn2/ALTGCCn2, where n is the
ADC number 0 or 1. The pair GCCn/OCCn is selected when it is used the normal configuration or the
alternate configurations 3 to 8. The pair ALTGCCn1/ALTGCCn1 is used only when the alternate
configuration 1 is selected. And the pair ALTGCCn2/ALTGCCn2 is for the alternate configuration 2. The
description below is for a generic pair of gain/offset GCC/OCC.
The EQADC provides a calibration scheme to remove the effects of gain and offset errors from the results
generated by the on-chip ADCs. Only results generated by the on-chip ADCs are calibrated. The results
generated by ADCs on the external device are directly sent to RFIFOs unchanged. The main component
of calibration hardware is a Multiply-and-Accumulate (MAC) unit, one per on-chip ADC, that is used to
calculate the following transfer function which relates a calibrated result to a raw, uncalibrated one.
CAL_RES = GCC * R OCC+2;
where:
•
CAL_RES is the calibrated result corresponding the input voltage V
i
.
•
GCC is the gain calibration constant.
•
RAW_RES is the raw, uncalibrated result with resolution adjustment corresponding to an specific
input voltage V
i
.
•
OCC is the offset calibration constant.
•
The addition of two reduces the maximum quantization error of the ADC. See
“Quantization Error Reduction During Calibration
Calibration constants GCC and OCC are determined by taking two samples of known reference voltages
and using these samples to calculate the values for the constants. For details and an example about how to
calculate the calibration constants and use them in result calibration refer to
. Once calculated, GCC is stored in the
Section 24.5.3.4, “ADC0/1 Gain Calibration Constant
Registers (ADC0_GCCR and ADC1_GCCR)
Section 24.5.3.5, “ADC0/1 Offset Calibration
Constant Registers (ADC0_OCCR and ADC1_OCCR)
from where their values are fed to the MAC unit.
The alternate gain values are stored in
Section 24.5.3.7, “ADC0/1 Alternate Gain Registers
and the alternate offset values in
Alternate Offset Register (ADC0_AOR1-2 and ADC1_AOR1-2)
. Since the analog characteristics of each
on-chip ADCs differs, each ADC has an independent pair of calibration constants.
Содержание MPC5632M
Страница 22: ...MPC563XM Reference Manual Rev 1 22 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 62: ...MPC563XM Reference Manual Rev 1 62 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 92: ...MPC563XM Reference Manual Rev 1 92 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 168: ...MPC563XM Reference Manual Rev 1 168 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 242: ...MPC563XM Reference Manual Rev 1 242 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 302: ...MPC563XM Reference Manual Rev 1 302 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 410: ...MPC563XM Reference Manual Rev 1 410 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 440: ...MPC563XM Reference Manual Rev 1 440 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 464: ...MPC563XM Reference Manual Rev 1 464 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 554: ...MPC563XM Reference Manual Rev 1 554 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 590: ...MPC563XM Reference Manual Rev 1 590 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 622: ...MPC563XM Reference Manual Rev 1 622 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 716: ...MPC563XM Reference Manual Rev 1 716 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1114: ...MPC563XM Reference Manual Rev 1 1114 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1144: ...MPC563XM Reference Manual Rev 1 1144 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1266: ...MPC563XM Reference Manual Rev 1 1266 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1316: ...MPC563XM Reference Manual Rev 1 1316 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1348: ...MPC563XM Reference Manual Rev 1 1348 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1362: ...MPC563XM Reference Manual Rev 1 1362 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1382: ...MPC563XM Reference Manual Rev 1 1382 Freescale Semiconductor Preliminary Subject to Change Without Notice ...