參數(shù)資料
型號: EVAL-AD7712EB
廠商: Analog Devices, Inc.
英文描述: 0.1UF 50V +-20% 0805 X7R CERAMIC CAPACITOR
中文描述: LC2MOS信號調(diào)理模數(shù)轉(zhuǎn)換器
文件頁數(shù): 25/28頁
文件大?。?/td> 229K
代理商: EVAL-AD7712EB
2
–25–
REV. E
AD7712
REVERSE
ORDER OF
BITS
START
WRITE DATA FROM
ACCUMULATOR TO
SERIAL BUFFER
BRING
TFS
& A0 LOW
LOAD DATA FROM
ADDRESS TO
ACCUMULATOR
CONFIGURE &
INITIALIZE
m
C/
m
P
SERIAL PORT
BRING
RFS
,
TFS
& A0 HIGH
BRING
TFS
& A0 HIGH
END
3
3
Figure 17. Flowchart for Single Write Operation to the
AD7712
AD7712 to 8051 Interface
Figure 18 shows an interface between the AD7712 and the
8XC51 microcontroller. The AD7712 is configured for its exter-
nal clocking mode while the 8XC51 is configured in its Mode 0
serial interface mode. The
DRDY
line from the AD7712 is
connected to the Port P1.2 input of the 8XC51 so the
DRDY
line is polled by the 8XC51. The
DRDY
line can be connected
to the
INT1
input of the 8XC51 if an interrupt driven system is
preferred.
P1.0
P1.1
P1.2
P3.0
P3.1
P1.3
DV
DD
8XC51
AD7712
SDATA
SCLK
A0
RFS
TFS
MODE
DRDY
SYNC
Figure 18. AD7712 to 8XC51 Interface
Table VII shows some typical 8XC51 code used for a single
24-bit read from the output register of the AD7712. Table VIII
shows some typical code for a single write operation to the con-
trol register of the AD7712. The 8XC51 outputs the LSB first
in a write operation while the AD7712 expects the MSB first, so
the data to be transmitted has to be rearranged before being
written to the output serial register. Similarly, the AD7712 out-
puts 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 AD7712 is available in the accumulator.
Table VII. 8XC51 Code for Reading from the AD7712
MOV SCON,#00010001B;
Configure 8051 for MODE 0
Operation
Disable All Interrupts
Set P1.0, Used as
RFS
Set P1.1, Used as
TFS
Set P1.3, Used as A0
Sets Number of Bytes to Be Read in
A Read Operation
Start Address for Where Bytes Will
Be Loaded
Use P1.2 as
DRDY
MOV IE,#00010000B;
SETB 90H;
SETB 91H;
SETB 93H;
MOV R1,#003H;
MOV R0,#030H;
MOV R6,#004H;
WAIT:
NOP;
MOV A,P1;
ANL A,R6;
JZ READ;
SJMP WAIT;
READ:
CLR 90H;
CLR 98H;
POLL:
JB 98H, READ1
SJMP POLL
READ 1:
MOV A,SBUF;
RLC A;
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;
MOV @R0,A;
INC R0;
DEC R1
MOV A,R1
JZ END
JMP WAIT
END:
SETB 90H
FIN:
SJMP FIN
Read Port 1
Mask Out All Bits Except
DRDY
If Zero Read
Otherwise Keep Polling
Bring
RFS
Low
Clear Receive Flag
Tests Receive Interrupt Flag
Read Buffer
Rearrange Data
Reverse Order of Bits
Write Data to Memory
Increment Memory Location
Decrement Byte Counter
Jump if Zero
Fetch Next Byte
Bring
RFS
High
相關(guān)PDF資料
PDF描述
EVAL-AD7713EB CAP CERAMIC 1.0UF 10V 10% X7R 0805 SMD
EVAL-AD7714-3EB 3 V/5 V, CMOS, 500 uA Signal Conditioning ADC
EVAL-AD7714-5EB 3 V/5 V, CMOS, 500 uA Signal Conditioning ADC
EVAL-AD7715-3EB 3 V/5 V, 450 uA 16-Bit, Sigma-Delta ADC
EVAL-AD7715-5EB 3 V/5 V, 450 uA 16-Bit, Sigma-Delta ADC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
EVAL-AD7713EB 制造商:AD 制造商全稱:Analog Devices 功能描述:LC2MOS Loop-Powered Signal Conditioning ADC
EVAL-AD7714-3EB 制造商:Analog Devices 功能描述:EVALUATION BOARD - Bulk
EVAL-AD7714-3EBZ 功能描述:BOARD EVAL FOR AD7714 RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 評估板 - 模數(shù)轉(zhuǎn)換器 (ADC) 系列:- 產(chǎn)品培訓(xùn)模塊:Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:1 系列:- ADC 的數(shù)量:1 位數(shù):12 采樣率(每秒):94.4k 數(shù)據(jù)接口:USB 輸入范圍:±VREF/2 在以下條件下的電源(標(biāo)準(zhǔn)):- 工作溫度:-40°C ~ 85°C 已用 IC / 零件:MAX11645 已供物品:板,軟件
EVAL-AD7714-5EB 制造商:Analog Devices 功能描述:EVALUATION BOARD - Bulk
EVAL-AD7715-3EB 制造商:AD 制造商全稱:Analog Devices 功能描述:3 V/5 V, 450 uA 16-Bit, Sigma-Delta ADC