參數資料
型號: AD7713AR
廠商: Analog Devices Inc
文件頁數: 16/28頁
文件大小: 0K
描述: IC ADC SIGNAL COND LC2MOS 24SOIC
產品變化通告: Product Discontinuance 27/Oct/2011
標準包裝: 1
位數: 24
采樣率(每秒): 205
數據接口: 串行
轉換器數目: 1
功率耗散(最大): 5.5mW
電壓電源: 模擬和數字
工作溫度: -40°C ~ 85°C
安裝類型: 表面貼裝
封裝/外殼: 24-SOIC(0.295",7.50mm 寬)
供應商設備封裝: 24-SOIC W
包裝: 管件
輸入數目和類型: 1 個單端,單極;1 個差分,單極;1 個差分,雙極
REV. D
AD7713
–23–
Table V shows some typical 8XC51 code used for a single 24-bit
read from the output register of the AD7713. Table V shows
some typical code for a single write operation to the control
register of the AD7713. The 8XC51 outputs the LSB first in a
write operation while the AD7713 expects the MSB first, so the
data to be transmitted has to be rearranged before being written
to the output serial register. Similarly, the AD7713 outputs the
MSB first during a read operation while the 8XC51 expects the
LSB first. Therefore, the data which is read into the serial buffer
needs to be rearranged before the correct data-word from the
AD7713 is available in the accumulator.
Table V. 8XC51 Code for Reading from the AD7713
MOV SCON,#00010001B;
Configure 8051 for MODE 0
MOV IE,#00010000B;
Disable All Interrupts
SETB 90H;
Set P1.0, Used as
RFS
SETB 91H;
Set P1.1, Used as
TFS
SETB 93H;
Set P1.3, Used as A0
MOV R1,#003H;
Sets Number of Bytes to Be Read
in A Read Operation
MOV R0,#030H;
Start Address for Where Bytes
Will Be Loaded
MOV R6,#004H;
Use P1.2 as
DRDY
WAIT:
NOP;
MOV A,P1;
Read Port 1
ANL A,R6;
Mask Out All Bits Except
DRDY
JZ READ;
If Zero Read
SJMP WAIT;
Otherwise Keep Polling
READ:
CLR 90H;
Bring
RFS Low
CLR 98H;
Clear Receive Flag
POLL:
JB 98H, READ1
Tests Receive Interrupt Flag
SJMP POLL
READ 1:
MOV A,SBUF;
Read Buffer
RLC A;
Rearrange Data
MOV B.0,C;
Reverse Order of Bits
RLC A; MOV B.1,C; RLC A; MOV B.2,C;
RLC A; MOV B.3,C; RLC A; MOV B.4,C;
RLC A; MOV B.5,C; RLC A; MOV B.6,C;
RLC A; MOV B.7,C;
MOV A,B;
MOV @R0,A;
Write Data to Memory
INC R0;
Increment Memory Location
DEC R1
Decrement Byte Counter
MOV A,R1
JZ END
Jump if Zero
JMP WAIT
Fetch Next Byte
END:
SETB 90H
Bring
RFS High
FIN:
SJMP FIN
Table VI. 8XC51 Code for Writing to the AD7713
MOV SCON,#00000000B;
Configure 8051 for MODE 0
Operation and Enable Serial
Reception
MOV IE,#10010000B;
Enable Transmit Interrupt
MOV IP,#00010000B;
Prioritize the Transmit Interrupt
SETB 91H;
Bring
TFS High
SETB 90H;
Bring
RFS High
MOV R1,#003H;
Sets Number of Bytes to Be
Written in a Write Operation
MOV R0,#030H;
Start Address in RAM for Bytes
MOV A,#00H;
Clear Accumulator
MOV SBUF,A;
Initialize the Serial Port
WAIT:
JMP WAIT;
Wait for Interrupt
INT ROUTINE:
NOP;
Interrupt Subroutine
MOV A,R1;
Load R1 to Accumulator
JZ FIN;
If Zero Jump to FIN
DEC R1;
Decrement R1 Byte Counter
MOV A,@R;
Move Byte into the Accumulator
INC R0;
Increment Address
RLC A;
Rearrange Data—From LSB
First to MSB First
MOV B.0,C; RLC A; MOV B.1,C; RLC A;
MOV B.2,C; RLC A; MOV B.3,C; RLC A;
MOV B.4,C; RLC A; MOV B.5,C; RLC A;
MOV B.6,C; RLC A: MOV B.7,C; MOV A,B;
CLR 93H;
Bring A0 Low
CLR 91H;
Bring
TFS Low
MOV SBUF,A;
Write to Serial Port
RETI;
Return from Subroutine
FIN:
SETB 91H;
Set
TFS High
SETB 93H;
Set A0 High
RETI;
Return from Interrupt Subroutine
AD7713 to 68HC11 Interface
Figure 18 shows an interface between the AD7713 and the
68HC11 microcontroller. The AD7713 is configured for its exter-
nal clocking mode, while the SPI port is used on the 68HC11,
which is in its single chip mode. The
DRDY line from the AD7713
is connected to the Port PC2 input of the 68HC11, so the
DRDY
line is polled by the 68HC11. The
DRDY line can be connected to
the IRQ input of the 68HC11 if an interrupt driven system is
preferred. The 68HC11 MOSI and MISO lines should be config-
ured for wired-OR operation. Depending on the interface
configuration, it may be necessary to provide bidirectional buffers
between the 68HC11 MOSI and MISO lines.
The 68HC11 is configured in the master mode with its CPOL
bit set to a Logic 0 and its CPHA bit set to a Logic 1.
相關PDF資料
PDF描述
MAX3082CPA+ IC TXRX RS485/RS422 10MBPS 8-DIP
MAX3087CPA+ IC TXRX RS485/422 10MBPS 8-DIP
AD7703BR IC ADC 20BIT LC2MOS 20-SOIC
MAX3218EAP+T IC TXRS RS-232 W/SHTDWN 20SSOP
MS3100F32-1S CONN RCPT 5POS WALL MNT W/SCKT
相關代理商/技術參數
參數描述
AD7713AR-REEL 制造商:Analog Devices 功能描述:24-BIT SIGMA DELTA ADC IC - Tape and Reel
AD7713AR-REEL7 制造商:AD 制造商全稱:Analog Devices 功能描述:LC2MOS Loop-Powered Signal Conditioning ADC
AD7713ARZ 功能描述:IC ADC SIGNAL COND LC2MOS 24SOIC RoHS:是 類別:集成電路 (IC) >> 數據采集 - 模數轉換器 系列:- 其它有關文件:TSA1204 View All Specifications 標準包裝:1 系列:- 位數:12 采樣率(每秒):20M 數據接口:并聯 轉換器數目:2 功率耗散(最大):155mW 電壓電源:模擬和數字 工作溫度:-40°C ~ 85°C 安裝類型:表面貼裝 封裝/外殼:48-TQFP 供應商設備封裝:48-TQFP(7x7) 包裝:Digi-Reel® 輸入數目和類型:4 個單端,單極;2 個差分,單極 產品目錄頁面:1156 (CN2011-ZH PDF) 其它名稱:497-5435-6
AD7713ARZ 制造商:Analog Devices 功能描述:IC ADC 24-BIT SIGMA DELTA
AD7713ARZ-REEL 功能描述:IC ADC 24BIT SIGMA-DELTA 24SOIC RoHS:是 類別:集成電路 (IC) >> 數據采集 - 模數轉換器 系列:- 標準包裝:1 系列:- 位數:14 采樣率(每秒):83k 數據接口:串行,并聯 轉換器數目:1 功率耗散(最大):95mW 電壓電源:雙 ± 工作溫度:0°C ~ 70°C 安裝類型:通孔 封裝/外殼:28-DIP(0.600",15.24mm) 供應商設備封裝:28-PDIP 包裝:管件 輸入數目和類型:1 個單端,雙極