ADUC832 Analog Devices, ADUC832 Datasheet - Page 44

no-image

ADUC832

Manufacturer Part Number
ADUC832
Description
Precision Analog Microcontroller: 1.3MIPS 8052 MCU + 62kB Flash + 8-Ch 12-Bit ADC + Dual 12-Bit DAC
Manufacturer
Analog Devices
Datasheet

Specifications of ADUC832

Mcu Core
8052
Mcu Speed (mips)
1.3
Sram (bytes)
2304Bytes
Gpio Pins
34
Adc # Channels
8
Other
PWM

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADUC832BCPZ-REEL
Manufacturer:
ADI
Quantity:
208
Part Number:
ADUC832BS
Manufacturer:
ADI
Quantity:
150
Part Number:
ADUC832BSZ
Manufacturer:
SONY
Quantity:
101
Part Number:
ADUC832BSZ
Manufacturer:
ADI
Quantity:
150
Part Number:
ADUC832BSZ
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ADUC832BSZ
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
ADUC832BSZ-REEL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
ADuC832
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 up the device and
calibrate the ADC offset and gain.
MOV ADCCON1,#0ACH
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
To calibrate system gain:
Connect system V
MOV ADCCON2,#01H
MOV ADCCON3,#27H
REF
to an ADC channel input (1).
;select internal AGND
;select offset calibration,
;31 averages per bit,
;offset calibration
;select internal V
;select offset calibration,
;31 averages per bit,
;offset calibration
;select external V
;select offset calibration
;31 averages per bit,
;offset calibration
;select external AGND
;select offset calibration,
;31 averages per bit
;ADC on; ADCCLK set
;to divide by 16,4
;acquisition clock
REF
REF
Rev. A | Page 44 of 92
The calibration cycle time, t
equation:
For an ADCCLK/f
and NUMAV = 15, the calibration cycle time is:
In a calibration cycle, the ADC busy flag (ADCCON3[7]),
instead of framing an individual ADC conversion as in normal
mode, goes high at the start of calibration and only returns to 0
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
t
t
CAL
CAL
CAL
= 14 × ADCCLK × NUMAV × (16 + t
= 14 × (1/1,048,576) × 15 × (16 + 4)
= 4.2 ms
CORE
divide ratio of 16, with t
;move ADCCON3 to A
;If Bit 7 is set, jump to
WAIT, else continue
CAL
, is calculated by the following
ACQ
ACQ
= 4 ADCCLK,
)

Related parts for ADUC832