Electronic Components Datasheet Search
  English  ▼

Delete All
ON OFF
ALLDATASHEET.COM

X  

Preview PDF Download HTML

ADC12H030 Datasheet(PDF) 37 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
Part No. ADC12H030
Description  Self-Calibrating 12-Bit Plus Sign Serial I/O A/D Converters with MUX and Sample/Hold
Download  41 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Maker  NSC [National Semiconductor (TI)]
Homepage  http://www.national.com
Logo 

ADC12H030 Datasheet(HTML) 37 Page - National Semiconductor (TI)

 
Zoom Inzoom in Zoom Outzoom out
 37 / 41 page
background image
Application Hints (Continued)
Power Down instructions do not change these default set-
tings. The following power up sequence should be followed:
1.
Run the program
2.
Prior to responding to the prompt apply the power to the
ADC12038
3.
Respond to the program prompts
It is recommended that the first instruction issued to the
ADC12038 be Auto Cal (see Section 1.1).
’variables
DOL=Data Out word length,
DI=Data string for A/D DI input,
DO=A/D result string
’SET CS# HIGH
OUT
&H3FC, (&H2 OR INP (&H3FC))
’set
RTS HIGH
OUT
&H3FC, (&HFE AND INP(&H3FC))
’set
DTR LOW
OUT
&H3FC, (&HFD AND INP(&H3FC))
’set
RTS LOW
OUT
&H3FC, (&HEF AND INP(&H3FC))
’set
B4 low
10
LINE INPUT <&ldquo>DI data for ADC12038 (see
Mode Table on data sheet)”; DI$
INPUT <&ldquo>ADC12038 output word length
(8,9,12,13,16 or 17)”; DOL
20
’SET CS# HIGH
OUT
&H3FC, (&H2 OR INP (&H3FC))
’set
RTS HIGH
OUT
&H3FC, (&HFE AND INP(&H3FC))
’set
DTR LOW
OUT
&H3FC, (&HFD AND INP(&H3FC))
’set
RTS LOW
’SET CS# LOW
OUT
&H3FC, (&H2 OR INP (&H3FC))
’set
RTS HIGH
OUT
&H3FC, (&H1 OR INP(&H3FC))
’set
DTR HIGH
OUT
&H3FC, (&HFD AND INP(&H3FC))
’set
RTS LOW
DO$=
<&ldquo> ”
’reset
DO variable
OUT &H3FC, (&H1 OR INP(&H3FC))
’SET
DTR HIGH
OUT &H3FC, (&HFD AND
INP(&H3FC))
’SCLK low
FOR N=1 TO 8
Temp$=MID$(DI$,N,1)
IF Temp$=<&ldquo>0” THEN
OUT &H3FC,(&H1 OR INP(&H3FC))
ELSE OUT &H3FC, (&HFE AND INP(&H3FC))
END IF
’out
DI
OUT &H3FC, (&H2 OR
INP(&H3FC))
’SCLK high
IF
(INP(&H3FE) AND 16)=16 THEN
DO$=DO$+<&ldquo>0”
ELSE
DO$=DO$+<&ldquo>1”
END
IF
’input
DO
OUT &H3FC, (&H1 OR INP(&H3FC))
’SET
DTR HIGH
OUT &H3FC, (&HFD AND
INP(&H3FC))
’SCLK low
NEXT N
IF DOL>8 THEN
FOR N=9 TO DOL
OUT &H3FC, (&H1 OR INP(&H3FC))
’SET
DTR HIGH
OUT &H3FC, (&HFD AND
INP(&H3FC))
’SCLK low
OUT &H3FC, (&H2 OR
INP(&H3FC))
’SCLK high
IF (INP(&H3FE) AND &H10)=&H10 THEN
DO$=DO$+<&ldquo>0”
ELSE
DO$=DO$+<&ldquo>1”
END IF
NEXT N
END IF
OUT
&H3FC, (&HFA AND
INP(&H3FC))
’SCLK low and DI high
FOR N=1 TO 500
NEXT N
PRINT DO$
INPUT <&ldquo>Enter <&ldquo>C” to convert
else <&ldquo>RETURN” to alter DI data”; s$
IF s$=<&ldquo>C” OR s$=<&ldquo>c” THEN
GOTO 20
ELSE
GOTO 10
END IF
END
www.national.com
37


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 


Datasheet Download




Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ]  

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Alldatasheet API   |   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