数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AD822 数据表(PDF) 31 Page - Analog Devices

部件名 AD822
功能描述  MicroConverter짰 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
PDF  88 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

AD822 数据表(HTML) 31 Page - Analog Devices

Back Button AD822 Datasheet HTML 27Page - Analog Devices AD822 Datasheet HTML 28Page - Analog Devices AD822 Datasheet HTML 29Page - Analog Devices AD822 Datasheet HTML 30Page - Analog Devices AD822 Datasheet HTML 31Page - Analog Devices AD822 Datasheet HTML 32Page - Analog Devices AD822 Datasheet HTML 33Page - Analog Devices AD822 Datasheet HTML 34Page - Analog Devices AD822 Datasheet HTML 35Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 88 page
background image
ADuC841/ADuC842/ADuC843
Rev. 0 | Page 31 of 88
Initiating the Calibration in Code
When calibrating the ADC using ADCCON1, the ADC must 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 to
calibrate the ADC offset and gain.
MOV ADCCON1,#08CH ;
ADC on; ADCCLK set
;to divide by 32,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 V
REF
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 V
REF
MOV ADCCON3,#27H
;select offset calibration,
;31 averages per bit,
;offset calibration
The calibration cycle time TCAL is calculated by the following
equation:
(
)
ACQ
CAL
T
NUMAV
ADCCLK
T
+
×
×
×
=
16
14
For an ADCCLK/FCORE divide ratio of 32, TACQ = 4 ADCCLK,
and NUMAV = 15, the calibration cycle time is
()
(
)
ms
T
T
CAL
CAL
8
4
16
15
524288
/
1
14
=
+
×
×
×
=
In a calibration cycle, the ADC busy flag (Bit 7), instead of
framing an individual ADC conversion as in normal mode, goes
high at the start of calibration and returns to zero only 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
NONVOLATILE FLASH/EE MEMORY
The ADuC841/ADuC842/ADuC843 incorporate Flash/EE
memory technology on-chip to provide the user with nonvola-
tile, in-circuit, reprogrammable code and data memory space.
Flash/EE memory is a relatively recent type of nonvolatile
memory technology, which is based on a single transistor cell
architecture. Flash/EE memory combines the flexible in-circuit
reprogrammable features of EEPROM with the space efficient/
density features of EPROM as shown in Figure 37.
Because Flash/EE technology is based on a single transistor cell
architecture, a flash memory array, such as EPROM, can be
implemented to achieve the space efficiencies or memory densities
required by a given design. Like EEPROM, flash memory can be
programmed in-system at a byte level; it must first be erased,
the erase being performed in page blocks. Thus, flash memory
is often and more correctly referred to as Flash/EE memory.
EEPROM
TECHNOLOGY
EPROM
TECHNOLOGY
FLASH/EEMEMORY
TECHNOLOGY
IN-CIRCUIT
REPROGRAMMABLE
SPACE EFFICIENT/
DENSITY
Figure 37. Flash/EE Memory Development
Overall, Flash/EE memory represents a step closer to the ideal
memory device that includes nonvolatility, in-circuit program-
mability, high density, and low cost. Incorporated in the parts,
Flash/EE memory technology allows the user to update program
code space in-circuit, without the need to replace one-time
programmable (OTP) devices at remote operating nodes.
Flash/EE Memory and the ADuC841/ADuC842/ADuC843
The parts provide two arrays of Flash/EE memory for user
applications. Up to 62 kBytes of Flash/EE program space are
provided on-chip to facilitate code execution without any
external discrete ROM device requirements. The program
memory can be programmed in-circuit by using the serial
download mode provided, by using conventional third party
memory programmers, or via a user defined protocol that can
configure it as data if required.
Note that the following sections use the 62 kByte program space
as an example when referring to ULOAD mode. For the other
memory models (32 kByte and 8 kByte), the ULOAD space
moves to the top 8 kBytes of the on-chip program memory, i.e.,
for 32 kBytes, the ULOAD space is from 24 kBytes to 32 kBytes,
the kernel still resides in a protected space from 60 kBytes to
62 kBytes. There is no ULOAD space present on the 8 kBtye part.



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 77 78 79 80 81 82 83 84 85 86 87 88


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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