www.ti.com
ADC Circuit
457
SPRUI07–March 2020
Submit Documentation Feedback
Copyright © 2020, Texas Instruments Incorporated
Analog-to-Digital Converter (ADC)
7.2.5 Calibration and Offset Correction
7.2.5.1 ADC Calibration
The ADC_cal() routine is programmed into TI reserved OTP memory by the factory. The boot ROM
automatically calls the ADC_cal() routine to initialize the ADCREFSEL and ADCOFFTRIM registers with
device specific calibration data. During normal operation, this process occurs automatically and no action
is required by the user.
If the boot ROM is bypassed by Code Composer Studio during the development process, then
ADCREFSEL and ADCOFFTRIM must be initialized by the application. For working examples, see the
ADC initialization in (C2000Ware).
The next two sections describe different methods for calling the ADC_Cal() routine.
NOTE: FAILURE TO INITIALIZE THESE REGISTERS WILL CAUSE THE ADC TO FUNCTION
OUT OF SPECIFICATION.
Because TI reserved OTP memory is secure, the ADC_Cal() routine must be called from
secure memory or called from non-secure memory after the Code Security Module is
unlocked. If the system is reset or the ADC module is reset using Bit 14 (RESET) from the
ADC Control Register 1, the routine must be repeated.