Datasheet

AD7993/AD7994
Rev. 0 | Page 26 of 32
READING DATA FROM THE AD7993/AD7994
Reading data from the AD7993/AD7994 is a 1-byte or 2-byte
operation. Reading back the contents of the alert status register
or the cycle timer register is a single-byte read operation, as
shown in Figure 29. This assumes the particular register address
has previously been set up by a single-byte write operation to
the address pointer register, as shown in Figure 26. Once the
register address has been set up, any number of reads can be
performed from that particular register without having to write
to the address pointer register again. If a read from a different
register is required, the relevant register address has to be
written to the address pointer register, and again, any number of
reads from this register may then be performed.
Reading data from the configuration register, conversion result
register, DATA
HIGH
registers, DATA
LOW
registers, or hysteresis
registers is a 2-byte operation, as shown in Figure 30. The same
rules apply for a 2-byte read as a 1-byte read.
When reading data back from a register on the AD7993 or the
AD7994, for example the conversion result register, if more than
two read bytes are supplied, the same or new data is read from
the AD7993/AD7994 without the need to readdress the device.
This allows the master to continuously read from a data register
without having to readdress the AD7993/AD7994.
SDA
1199
D7 D6 D5 D2 D1 D0
R/W
A0A1A2A301
SCL
D4
D3
0
03472-0-029
START BY
MASTER
ACK. BY
AD7993/AD7994
NO ACK. BY
MASTER
STOP BY
MASTER
FRAME 1
SERIAL BUS ADDRESS BYTE
FRAME 2
SINGLE DATA BYTE FROM AD7993/AD7994
Figure 29. Reading a Single Byte of Data from a Selected Register
S
D
A
119 9
ALERT
FLAG
ZERO
D10 D9 D8A0A1A2A300
SCL
1 D11
1
D7 D6 D5 D2
D1/0 D0/0
D4
D3
SCL (CONTINUED)
SDA (CONTINUED)
CH
ID1
CH
ID0
R/W
03472-0-030
9
START BY
MASTER
ACK. BY
AD7993/AD7994
NO ACK. BY
MASTER
ACK. BY
MASTER
STOP B
MASTER
FRAME 1
SERIAL BUS ADDRESS BYTE
FRAME 2
MOST SIGNIFICANT DATA BYTE FROM
AD7993/AD7994
FRAME 2
MOST SIGNIFICANT DATA BYTE FROM
AD7993/AD7994
Figure 30. Reading Two Bytes of Data from the Conversion Result Register