Electronic Components Datasheet Search
Selected language     English  ▼
Part Name
         Description


ADC0831 Datasheet(PDF) 20 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
Part No. ADC0831
Description  8-Bit Serial I/O A/D Converters with Multiplexer Options
Download  33 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Maker  NSC [National Semiconductor (TI)]
Homepage  http://www.national.com
Logo 

 20 page
background image
Applications (Continued)
Cop Coding Example
Mnemonic
Instruction
LEI
ENABLES SIO’s INPUT AND OUTPUT
SC
C=1
OGI
G0=0 (CS =0)
CLR A
CLEARS ACCUMULATOR
AISC 1
LOADS ACCUMULATOR WITH 1
XAS
EXCHANGES SIO WITH ACCUMULATOR
AND STARTS SK CLOCK
LDD
LOADS MUX ADDRESS FROM RAM
INTO ACCUMULATOR
NOP
XAS
LOADS MUX ADDRESS FROM
ACCUMULATOR TO SIO REGISTER
8 INSTRUCTIONS
XAS
READS HIGH ORDER NIBBLE (4 BITS)
INTO ACCUMULATOR
XIS
PUTS HIGH ORDER NIBBLE INTO RAM
CLR A
CLEARS ACCUMULATOR
RC
C=0
XAS
READS LOW ORDER NIBBLE INTO
ACCUMULATOR AND STOPS SK
XIS
PUTS LOW ORDER NIBBLE INTO RAM
OGI
G0=1 (CS =1)
LEI
DISABLES SIO’s INPUT AND OUTPUT
8048 CODING EXAMPLE
Mnemonic
Instruction
START:
ANL
P1, #0F7H ;SELECT A/D (CS =0)
MOV
B, #5
;BIT COUNTER
←5
MOV
A, #ADDR
;A
←MUX ADDRESS
LOOP 1:
RRC
A
;CY
←ADDRESS BIT
JC
ONE
;TEST BIT
;BIT=0
ZERO:
ANL
P1, #0FEH ;DI
←0
JMP
CONT
;CONTINUE
;BIT=1
ONE:
ORL
P1, #1
;DI
←1
CONT:
CALL
PULSE
;PULSE SK 0
→1→0
DJNZ
B, LOOP 1 ;CONTINUE UNTIL
DONE
CALL
PULSE
;EXTRA CLOCK FOR
SYNC
MOV
B, #8
;BIT COUNTER
←8
LOOP 2:
CALL
PULSE
;PULSE SK 0
→1→0
IN
A, P1
;CY
←DO
RRC
A
RRC
A
MOV
A, C
;A
←RESULT
RLC
A
;A(0)
←BIT AND SHIFT
MOV
C, A
;C
←RESULT
DJNZ
B, LOOP 2 ;CONTINUE UNTIL
DONE
RETR
;PULSE SUBROUTINE
PULSE:
ORL
P1, #04
;SK
←1
NOP
;DELAY
ANL
P1, #0FBH ;SK
←0
RET
www.national.com
20




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 


Datasheet Download



Related Electronics Part Number

Part NumberComponents DescriptionHtml ViewManufacturer
ADC080318-Bit High-Speed Serial I/O A/D Converters with Multiplexer Options
Voltage Reference and Track/Hold Function
1 2 3 4 5 MoreNational Semiconductor (TI)
ADC081318-Bit High-Speed Serial I/O A/D Converters with Multiplexer Options Voltage Reference and Track/Hold Function 1 2 3 4 5 MoreNational Semiconductor (TI)
ADC080328-Bit High-Speed Serial I/O A/D Converters with Multiplexer Options Voltage Reference and Track/Hold Function 1 2 3 4 5 MoreNational Semiconductor (TI)
ML2281Serial I/O 8-Bit A/D Converters with Multiplexer Options 1 2 3 4 5 MoreMicro Linear Corporation
ADC088318-Bit Serial I/O CMOS A/D Converters with Multiplexer and Sample/Hold Function 1 2 3 4 5 MoreNational Semiconductor (TI)
ADC08448-Bit uP Compatible A/D Converters with Multiplexer Options 1 2 3 4 5 MoreNational Semiconductor (TI)
ADC08088-Bit uP Compatible A/D Converters with 8-Channel Multiplexer 1 2 3 4 5 MoreNational Semiconductor (TI)
TLC0831C8-BIT ANALOG-TO-DIGITAL CONVERTERS WITH SERIAL CONTROL 1 2 3 4 5 MoreTexas Instruments
TLV0831C3-VOLT 8-BIT ANALOG-TO-DIGITAL CONVERTERS WITH SERIAL CONTROL 1 2 3 4 5 MoreTexas Instruments

Link URL

Does ALLDATASHEET help your business so far?  [ DONATE ]  

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Bookmark   |   Link Exchange   |   Manufacturer List
All Rights Reserved© Alldatasheet.com 2003 - 2017    


Mirror Sites
English : Alldatasheet.com  , 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