AD7712ARZ-REEL Analog Devices Inc, AD7712ARZ-REEL Datasheet - Page 26

no-image

AD7712ARZ-REEL

Manufacturer Part Number
AD7712ARZ-REEL
Description
24 BIT SIGMA DELTA ADC IC
Manufacturer
Analog Devices Inc
Datasheet

Specifications of AD7712ARZ-REEL

Number Of Bits
24
Sampling Rate (per Second)
1.03k
Data Interface
Serial
Number Of Converters
1
Power Dissipation (max)
45mW
Voltage Supply Source
Analog and Digital, Dual ±
Operating Temperature
-40°C ~ 85°C
Mounting Type
Surface Mount
Package / Case
24-SOIC (0.300", 7.50mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
AD7712
MOV SCON,#00000000B;
MOV IE,#10010000B;
MOV IP,#00010000B;
SETB 91H;
SETB 90H;
MOV R1,#003H;
MOV R0,#030H;
MOV A,#00H;
MOV SBUF,A;
WAIT:
JMP WAIT;
INT ROUTINE:
NOP;
MOV A,R1;
JZ FIN;
DEC R1;
MOV A,@R;
INC R0;
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;
CLR 93H;
CLR 91H;
MOV SBUF,A;
RETI;
FIN:
SETB 91H;
SETB 93H;
RETI;
Table VIII. 8XC51 Code for Writing to the AD7712
Configure 8051 for MODE 0
Operation & Enable Serial Reception
Enable Transmit Interrupt
Prioritize the Transmit Interrupt
Bring
Bring
Sets Number of Bytes to Be Written
in a Write Operation
Start Address in RAM for Bytes
Clear Accumulator
Initialize the Serial Port
Wait for Interrupt
Interrupt Subroutine
Load R1 to Accumulator
If Zero Jump to FIN
Decrement R1 Byte Counter
Move Byte into the Accumulator
Increment Address
Rearrange Data—From LSB First
to MSB First
Bring A0 Low
Bring
Write to Serial Port
Return from Subroutine
Set
Set A0 High
Return from Interrupt Subroutine
TFS
TFS
RFS
TFS
High
High
High
Low
–26–
AD7712 to 68HC11 Interface
Figure 19 shows an interface between the AD7712 and the
68HC11 microcontroller. The AD7712 is configured for its
external clocking mode, while the SPI port is used on the
68HC11, which is in its single-chip mode. The DRDY line
from the AD7712 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 configured 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. With a
10 MHz master clock on the AD7712, the interface will operate
with all four serial clock rates of the 68HC11.
68HC11
Figure 19. AD7712 to 68HC11 Interface
MISO
MOSI
SCK
PC0
PC2
PC3
PC1
SS
DV
DD
DV
DD
SYNC
A0
RFS
TFS
DRDY
SCLK
SDATA
MODE
AD7712
REV. F

Related parts for AD7712ARZ-REEL