READING DATA
acknowledge after the fourth data word has been read. This
tells the ADS7823 that no further reads will be performed. No
more than four data words should be read at a time; further
reads will return undefined data.
Data can be read from the ADS7823 by read-addressing the
part (LSB of address byte set to 1) and receiving the
transmitted bytes. Converted data can only be read from the
ADS7823 once a conversion has been initiated as described
in the preceding section.
Although a STOP condition is shown at the end of the figure,
it is permissible to issue a repeated START; this will have the
same effect.
Each 12-bit data word is returned in two bytes, as shown
below, where D11 is the MSB of the data word, and D0 is the
LSB. Byte 0 is sent first, followed by Byte 1.
READING IN HS MODE
High Speed (HS) mode is fast enough that codes can be
read out one at a time, without employing the FILO. In HS
mode there is not enough time for a single conversion to
complete between the reception of command bit 5 and the
read address byte, so the ADS7823 stretches the clock after
the command byte has been fully received, holding it LOW
until the conversion is complete.
MSB
6
5
4
3
2
1
LSB
BYTE0
BYTE1
0
0
0
0
D11
D3
D10
D2
D9
D1
D8
D0
D7
D6
D5
D4
READING IN F/S MODE
In Fast and Standard (F/S) modes, the A/D converter has
time to make four complete conversions between the recep-
tion of bit 5 of the command byte and the complete reception
of the read address, even when operating in Fast mode.
A typical read sequence for HS mode is shown in Figure 4.
Included in the read sequence is the shift from
F/S to HS modes. It may be desirable to remain in HS mode
after reading a code; to do this, issue a repeated START
instead of a STOP at the end of the read sequence, since a
STOP causes the part to return to F/S mode.
Because the ADS7823 can perform these conversions much
faster than they can be transmitted in F/S mode, data is
stored in a four-level FILO. During the read operation, the A/
D converter is powered down and the contents of the stack
are read out one by one in the correct order.
It is very important not to read more than one code at a time
from the ADS7823 during HS mode. If codes are read out
more than one at a time, as in F/S mode, the results for all
codes (except the first) are undefined, and the data stream
will be corrupt.
A typical transfer sequence for reading four words of data in
F/S mode (see Figure 3). Note that the master sends a not-
F/S Mode
S
0
0
0
0
1
X
X
X
N
HS Mode Master Code
HS Mode Enabled
ADC Power-Down Mode
ADC Wake-UpMode
Sr
1
0
0
1
0
A
A
W
A
0
0
0
X
X
X
X
X
A
SCLH is stretched in wait-state
1
0
Return to
F/S Mode
See Note B
Write-AddressingByte
CommandByte
HS Mode Enabled
ADC Power-Down Mode
Sr
1
0
0
1
0
A
A
R
A
0
0
0
0
D
D
D
D
A
D
D
.D
D
0
N
P
1
0
11 10
9
8
7
6 . .
1
Read-AddressingByte
(see Note A)
2×(8 bits + ack/not-ack)
A
N
S
P
= acknowledge (SDA Low)
= not-acknowledge (SDA High)
= START Condition
W = 0 (WRITE)
R = 1 (READ)
From master to slave
From slave to master
= STOP Condition
Sr = repeatedSTART Condition
NOTES: (A) Failure for master to send read-addressing byte—setting R/W flag to “1”—will result in internal clock remaining ON, increasing power consumption.
(B) Use repeated START to remain in HS mode instead of STOP.
FIGURE 4. Typical Read Sequence in HS Mode.
ADS7823
SBAS180B
11