Electronic component search and free download site.
Transistors,MosFET ,Diode,Integrated circuits
Номер в каталоге  

ADC0844 Просмотр технического описания (PDF) - National ->Texas Instruments

Номер в каталогеADC0844 National-Semiconductor
National ->Texas Instruments National-Semiconductor
Компоненты Описание8-Bit μP Compatible A/D Converters with Multiplexer Options
ADC0844 Datasheet PDF : 24 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
ADC0844—INS8039 Interface
0000 04 10
0010 B9 FF
0012
0014
0016
B8 20
89 FF
23 00
0018
001A
14 50
23 02
001C
001D
18
14 50
0050
0052
0053
0054
0056
0057
0059
005A
99 FE
91
09
32 53
81
89 01
A0
83
501627
SAMPLE PROGRAM FOR ADC0844—INS8039 INTERFACE
CONVERTING TWO RATIOMETRIC, DIFFERENTIAL SIGNALS
BEGIN:
ORG
JMP
ORG
MOV
MOV
ORL
MOV
CALL
MOV
INC
CALL
0H
BEGIN
10H
R1,#0FFH
R0,#20H
P1,#0FFH
A,00H
CONV
A,#02H
R0
CONV
;START PROGRAM AT ADDR 10
;MAIN PROGRAM
;LOAD R1 WITH A UNUSED ADDR
;LOCATION
;A/D DATA ADDRESS
;SET PORT 1 OUTPUTS HIGH
;LOAD THE ACC WITH A/D MUX DATA
;CH1 AND CH2 DIFFERENTIAL
;CALL THE CONVERSION SUBROUTINE
;LOAD THE ACC WITH A/D MUX DATA
;CH3 AND CH4 DIFFERENTIAL
;INCREMENT THE A/D DATA ADDRESS
;CALL THE CONVERSION SUBROUTINE
;CONTINUE MAIN PROGRAM
;CONVERSION SUBROUTINE
;ENTRY:ACC—A/D MUX DATA
;EXIT: ACC—CONVERTED DATA
CONV:
LOOP:
ORG
ANL
MOVX
IN
JB1
MOVX
ORL
MOV
RET
50H
P1,#0FEH
@R1,A
A,P1
LOOP
A,@R1
P1,&01H
@R0,A
;CHIP SELECT THE A/D
;LOAD A/D MUX & START CONVERSION
;INPUT INTR STATE
;IF INTR = 1 GOTO LOOP
;IF INTR = 0 INPUT A/D DATA
;CLEAR THE A/D CHIP SELECT
;STORE THE A/D DATA
;RETURN TO MAIN PROGRAM
www.national.com
18
Direct download click here

 

Share Link : 
All Rights Reserved© datasheetq.com 2015 - 2019  ] [ Privacy Policy ] [ Request Datasheet  ] [ Contact Us ]