Electronic Components Datasheet Search
  English  ▼

X  

ADUC831BCP Datasheet(PDF) 26 Page - Analog Devices

Part # ADUC831BCP
Description  MicroConverter, 12-Bit ADCs and DACs with Embedded 62 kBytes Flash MCU
PDF  76 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AD [Analog Devices]
Direct Link  http://www.analog.com
Logo AD - Analog Devices

ADUC831BCP Datasheet(HTML) 26 Page - Analog Devices

Back Button ADUC831BCP Datasheet HTML 22Page - Analog Devices ADUC831BCP Datasheet HTML 23Page - Analog Devices ADUC831BCP Datasheet HTML 24Page - Analog Devices ADUC831BCP Datasheet HTML 25Page - Analog Devices ADUC831BCP Datasheet HTML 26Page - Analog Devices ADUC831BCP Datasheet HTML 27Page - Analog Devices ADUC831BCP Datasheet HTML 28Page - Analog Devices ADUC831BCP Datasheet HTML 29Page - Analog Devices ADUC831BCP Datasheet HTML 30Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 26 / 76 page
background image
REV. 0
–26–
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
;ADC on; ADCCLK set
;to divide by 16, 4
;acquisition clock
To calibrate device offset:
MOV ADCCON2,#0BH
;select internal AGND
MOV ADCCON3,#25H
;select offset calibration,
;31 averages per bit,
;offset calibration
To calibrate device gain:
MOV ADCCON2,#0CH
;select internal VREF
MOV ADCCON3,#27H
;select offset calibration,
;31 averages per bit,
;offset calibration
To calibrate system offset:
Connect system AGND to an ADC channel input (0).
MOV ADCCON2,#00H
;select external AGND
MOV ADCCON3,#25H
;select offset calibration,
;31 averages per bit
To calibrate system gain:
Connect system VREF to an ADC channel input (1).
MOV ADCCON2,#01H
;select external VREF
MOV ADCCON3,#27H
;select offset calibration,
;31 averages per bit,
;offset calibration
The calibration cycle time, TCAL, is calculated by the following
equation assuming a 16 MHz crystal:
T
ADCCLK
NUMAV
T
CAL
ACQ
=×
×
×
+
14
16
()
For an ADCCLK/FCORE divide ratio of 16, a TACQ = 4 ADCCLK,
NUMAV = 15, the calibration cycle time is:
T
T
ms
CAL
CAL
=×
×
×
+
=
14
1 1000000
15
16
4
42
(/
)
(
)
.
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
;move ADCCON3 to A
JB ACC.7, WAIT
;If Bit 7 is set jump to
WAIT else continue



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com