參數(shù)資料
型號(hào): LM4031AI
廠商: National Semiconductor Corporation
元件分類(lèi): 串行ADC
英文描述: Self-Calibrating 12-Bit Plus Sign Serial I/O A/D Converters with MUX and Sample/Hold
中文描述: 自校準(zhǔn)12位帶符號(hào)串行I /辦公自動(dòng)化/ D轉(zhuǎn)換器MUX和采樣/保持
文件頁(yè)數(shù): 37/41頁(yè)
文件大小: 1152K
代理商: LM4031AI
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))
RTS HIGH
OUT
&H3FC, (&HFE AND INP(&H3FC))
DTR LOW
OUT
&H3FC, (&HFD AND INP(&H3FC))
RTS LOW
OUT
&H3FC, (&HEF AND INP(&H3FC))
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))
RTS HIGH
OUT
&H3FC, (&HFE AND INP(&H3FC))
DTR LOW
OUT
&H3FC, (&HFD AND INP(&H3FC))
RTS LOW
’SET CS# LOW
OUT
&H3FC, (&H2 OR INP (&H3FC))
RTS HIGH
OUT
&H3FC, (&H1 OR INP(&H3FC))
DTR HIGH
OUT
&H3FC, (&HFD AND INP(&H3FC))
RTS LOW
DO$=
<&ldquo> ”
DO variable
OUT &H3FC, (&H1 OR INP(&H3FC))
DTR HIGH
OUT &H3FC, (&HFD AND
INP(&H3FC))
’SCLK low
’set
’set
’set
’set
’set
’set
’set
’set
’set
’set
’reset
’SET
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
DI
OUT &H3FC, (&H2 OR
INP(&H3FC))
IF
(INP(&H3FE) AND 16)=16 THEN
DO$=DO$+<&ldquo>0”
ELSE
DO$=DO$+<&ldquo>1”
END
IF
DO
OUT &H3FC, (&H1 OR INP(&H3FC))
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))
DTR HIGH
OUT &H3FC, (&HFD AND
INP(&H3FC))
’SCLK low
OUT &H3FC, (&H2 OR
INP(&H3FC))
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
’out
’SCLK high
’input
’SET
’SET
’SCLK high
A
www.national.com
37
相關(guān)PDF資料
PDF描述
LM4050AI-4.1 Self-Calibrating 12-Bit Plus Sign Serial I/O A/D Converters with MUX and Sample/Hold
LM4120AI-4.1 Self-Calibrating 12-Bit Plus Sign Serial I/O A/D Converters with MUX and Sample/Hold
LM4121AI-4.1 Self-Calibrating 12-Bit Plus Sign Serial I/O A/D Converters with MUX and Sample/Hold
LM432 Dual Op Amp with On-Chip Fixed 2.5V Reference
LM432MA Dual Op Amp with On-Chip Fixed 2.5V Reference
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
LM4040 制造商:TI 制造商全稱:Texas Instruments 功能描述:PRECISION MICROPOWER SHUNT VOLTAGE REFERENCE
LM4040/1 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Precision Micropower Shunt Voltage Reference
LM4040_05 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Precision Micropower Shunt Voltage Reference
LM4040_07 制造商:VISHAY 制造商全稱:Vishay Siliconix 功能描述:PRECISION MICROPOWER SHUNT VOLTAGE REFERENCE
LM4040_08 制造商:ZETEX 制造商全稱:ZETEX 功能描述:Precision micropower shunt voltage references