Enhanced Queued Analog-to-Digital Converter (eQADC)
MPC5566 Microcontroller Reference Manual, Rev. 2
19-42 Freescale Semiconductor
19.3.3.5 ADCn Offset Calibration Constant Registers (ADC0_OCCR and
ADC1_OCCR)
The ADCn_OCCR contains the offset calibration constant used to fine-tune of ADC0/1 conversion results.
The offset constant is a signed 14-bit integer value. Refer to Section 19.4.5.4, “ADC Calibration Feature,”
for details about the calibration scheme used in the eQADC.
19.4 Functional Description
The eQADC provides a parallel interface to two on-chip ADCs, and a single master to single slave serial
interface to an off-chip external device. The two on-chip ADCs can access all the analog channels.
Initially, command data is contained in system memory in a user defined data queue structure. Command
data is moved between the user-defined queues and CFIFOs by the host CPU or by the eDMA which
responds to interrupt and eDMA requests generated by the eQADC. The eQADC supports software and
Table 19-32. ADCn_GCCR Field Descriptions
Field Description
0 Reserved.
1–15
GCCn
[0:14]
ADCn gain calibration constant (GCC1) is an unsigned 15-bit fixed pointed number expressed in the
GCC_INT.GCC_FRAC binary format. Use the gain calibration constant to fine-tune ADCn conversion results. The
integer part of the gain constant (GCC_INT) contains a single binary digit while its fractional part (GCC_FRAC)
contains 14 digits. For details about the GCC data format refer to Section 19.4.5.4.2, “MAC Unit and Operand Data
Format.”
Address: 0x0005 Access: R/W
0123456789101112131415
R0 0
OCC0
W
Reset0000000000000000
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
R0 0
OCC1
W
Reset0000000000000000
Figure 19-23. ADCn Offset Calibration Constant Registers (ADCn_OCCR)
Table 19-33. ADCn_OCCR Field Descriptions
Field Description
0–1 Reserved.
2–15
OCCn
[0:13]
ADCn offset calibration constant. Contains the offset calibration constant used to fine-tune ADCn conversion results.
Use the two’s complement representation for expressing negative values.