aduc831bcp-reel Analog Devices, Inc., aduc831bcp-reel Datasheet - Page 26
aduc831bcp-reel
Manufacturer Part Number
aduc831bcp-reel
Description
Microconverter, 12-bit Adcs And Dacs With Embedded 62 Kbytes Flash Mcu
Manufacturer
Analog Devices, Inc.
Datasheet
1.ADUC831BCP-REEL.pdf
(76 pages)
- Current page: 26 of 76
- Download datasheet (2Mb)
ADuC831
INITIATING CALIBRATION IN CODE
When calibrating the ADC, using ADCCON1 the ADC should
be set up into the configuration in which it will be used. The
ADCCON3 register can then be used to set the device up and
calibrate the ADC offset and gain.
MOV ADCCON1,#08CH
To calibrate device offset:
MOV ADCCON2,#0BH
MOV ADCCON3,#25H
To calibrate device gain:
MOV ADCCON2,#0CH
MOV ADCCON3,#27H
To calibrate system offset:
Connect system AGND to an ADC channel input (0).
MOV ADCCON2,#00H
MOV ADCCON3,#25H
;ADC on; ADCCLK set
;to divide by 16, 4
;acquisition clock
;select internal AGND
;select offset calibration,
;31 averages per bit,
;offset calibration
;select internal VREF
;select offset calibration,
;31 averages per bit,
;offset calibration
;select external AGND
;select offset calibration,
;31 averages per bit
–26–
To calibrate system gain:
Connect system V
MOV ADCCON2,#01H
MOV ADCCON3,#27H
The calibration cycle time, T
equation assuming a 16 MHz crystal:
For an ADCCLK/F
NUMAV = 15, the calibration cycle time is:
In a calibration cycle the ADC busy flag (Bit 7), instead of
framing an individual ADC conversion as in normal mode, will
go high at the start of calibration and only return to zero at the
end of the calibration cycle. It can therefore be monitored in
code to indicate when the calibration cycle is completed. The
following code can be used to monitor the BUSY signal during
a calibration cycle:
WAIT:
MOV A, ADCCON3
JB ACC.7, WAIT
T
CAL
T
T
CAL
CAL
=
14
=
=
14
4 2
×
REF
.
CORE
ADCCLK
×
ms
to an ADC channel input (1).
( /
1 1000000
divide ratio of 16, a T
;move ADCCON3 to A
;If Bit 7 is set jump to
;select external VREF
;select offset calibration,
;31 averages per bit,
;offset calibration
WAIT else continue
CAL
×
, is calculated by the following
NUMAV
)
×
15
×
×
ACQ
(
16
(
16 4
= 4 ADCCLK,
+
+
T
ACQ
)
REV. 0
)
Related parts for aduc831bcp-reel
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Analog Divider
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Analog Front End For Adsl
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Lc2mos Complete, 12-bit Analog I/o System
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Cmos 4/8 Channel Analog Multiplexers
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Low Cost, Low Power Cmos General Purpose Analog Front End
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
2.5 V To 5.0 V Micropower, Precision Series Mode Voltage References
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Stereo, Single-supply 18-bit Integrated Dac
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Multichannel 24-bit, 192 Khz, Dac
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Ac?97 Soundmax Codec
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Complete Dual 18-bit 16 X Fs Audio Dac
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Sampleport Stereo Asynchronous Sample Rate Converters
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
U.s./international Modem Daa Line Codec Chipset
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Low Distortion 750 Mhz Closed-loop Buffer Amp
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
High Speed Active Load With Inhibit Mode
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Cmos 80 Mhz, 10-bit Video Dac
Manufacturer:
Analog Devices, Inc.
Datasheet: