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

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

Номер в каталогеADC0831 TI
Texas Instruments TI
Компоненты Описание8-Bit Serial I/O A/D Converters with Multiplexer Options
ADC0831 Datasheet PDF : 41 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
ADC0831-N, ADC0832-N, ADC0834-N, ADC0838-N
SNAS531B – AUGUST 1999 – REVISED MARCH 2013
Cop Coding Example
Mnemonic
LEI
SC
OGI
CLR A
AISC 1
XAS
LDD
NOP
XAS
XAS
XIS
CLER A
RC
XAS
XIS
OGI
LEI
Instruction
ENABLES SIO's INPUT AND OUTPUT
C=1
G0 = 0 (CS = 0)
CLEARS ACCUMULATOR
LOADS ACCUMULATOR WITH 1
EXCHANGES SIO WITH ACCUMULATOR
AND STARTS SK CLOCK
LOADS MUX ADDRESS FROM RAM
INTO ACCUMULATOR
-
LOADS MUX ADDRESS FROM
ACCUMULATOR
8 INSTRUCTIONS
READS HIGH ORDER NIBBLE (4 BITS)
INTO ACCUMULATOR
PUTS HIGH ORDER NIBBLE INTO RAM
CLEARS ACCUMULATOR
C=0
READS LOW ORDER NIBBLE INTO
ACCUMULATOR AND STOPS SK
PUTS LOW ORDER NIBBLE INTO RAM
G0 = 1 (CS = 1)
DISABLES SIO's INPUT AND OUTPUT
8048 Coding Example
Mnemonic
START: ANL
MOV
MOV
LOOP 1: RRC
JC
ZERO: ANL
JMP
ONE:
CONT:
ORL
CALL
DJNZ
CALL
LOOP 2:
MOV
CALL
IN
RRC
RRC
MOV
RLC
MOV
DJNZ
RETR
PULSE: ORL
NOP
ANL
RET
Instruction
P1, #0F7H ;SELECT A/D (CS = 0)
B, #5
;BIT COUNTER5
A, #ADDR ;AMUX ADDRESS
A
;CYADDRESS BIT
ONE
;TEST BIT
;BIT=0
P1, #0FEH ;DI0
CONT
;CONTINUE
;BIT=1
P1, #1
;DI1
PULSE
;PULSE SK 010
B, LOOP 1 ;CONTINUE UNTIL
DONE
PULSE
;EXTRA CLOCK FOR
SYNC
B, #8
;BIT COUNTER8
PULSE
;PULSE SK 010
A, P1
;CYDO
A
A
A, C
;ARESULT
A
;A(0)BIT AND SHIFT
C, A
;CRESULT
B, LOOP 2 ;CONTINUE UNTIL
DONE
P1, #04
P1, #0FBH
;PULSE SUBROUTINE
;SK1
;DELAY
;SK0
www.ti.com
20
Submit Documentation Feedback
Copyright © 1999–2013, Texas Instruments Incorporated
Product Folder Links: ADC0831-N ADC0832-N ADC0834-N ADC0838-N
Direct download click here

 

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