AD7763 Preliminary Technical Data
Rev. PrD | Page 14 of 24
AD7763 INTERFACE
Reading Data
The AD7763 uses an SPI compatible serial interface. The timing
diagram in Figure 2 shows how the AD7763 transmits its
conversion results.
The data being read from the AD7763 is clocked out using the
serial clock output, SCO. The SCO frequency is dependant on
the the state of the serial clock output rate, SCR, and the clock
divider mode chosen by the state of the clock divider bit CDIV
(see the Clocking the AD7763 section). Table 6 details the SCO
frequency for the AD7763 as a result of the states of both the
CDIV and SCR pins.
Table 6. SCO Frequency
Clock Divide
Mode
CDIV SCR SCO
Frequency
0 MCLK Divide by 1 1
1 MCLK
0 MCLK/2 Divide by 2 0
1 MCLK
An active low pulse of one SCO period on the data ready
output, DRDY, indicates a new conversion result is available at
the AD7763 serial data output,SDO.
Each bit of the new conversion result is clocked onto the SDO
line on the rising SCO edge and is valid on the falling SCO
edge. The SDO line is tri-stated when the serial data enable pin,
SDEN, is logic high.The 32-bit result consists of the 24 data bits
which, are followed by 8 status bits. These status bits are shown
in Table 7. The first three status bits. AD[2:0}, are the device
address bits. Table 15 contains descriptions of the other status
bits.
Table 7. Status Bits During Data Read
D7 D0
AD2 AD1 AD0 DValid Ovr LPwr FiltOk 0
The conversion result output on the SDO line is framed by the
frame synchronization output, FSO, which is sent logic low for
32 SCO cycles following the rising edge of the DRDY signal.
The AD7763 also features a serial data latch output, SDL, which
outputs a pulse every sixteen data bits. The SDL output offers an
alternative framing signal for serial transfers which require a
framing signal more frequent than every 32 bits.
Sharing The Serial Bus
The AD7763 functionality allows up to eight devices to share
the same serial bus, SDO. Devices sharing the serial output bus
are assigned addresses from 000 to 111.
For a part with an address of 0, the SDO line comes out of tri-
state on the first rising edge of SCO after the DRDY pulse and
returns to tri-state after the 32nd SCO falling edge plus a TBD
hold time. For the next device sharing the serial bus , address 1,
the SDO line will come out of tri-state on the 32nd SCO rising
edge for the next 32 SCO periods. This pattern will occur for
the rest of the proceeding devices sharing the serial bus.
Figure 4 shows an example lof four devices sharing the same
serial bus. Each of the devices is hardwired with a different
address form 0 to 3(ADR2:0). Device 0 outputs its serial word
on the SDO line during the first 32 SCO cycles. Device 1 then
outputs its serial word during the next 32 SCO cycles and so on
for the remaining devices 2 and 3.
To create the DRDY pulse as shown in Figure 4, (where four
devices are sharing the same serial line) the share bits of this
device, SH[2:0], should be set to 011, which, corresponds to 4
devices sharing the serial line. Each AD7763 device outputs its
own FSO signal.
The provision of two framing signals: DRDY and ,FSO ensures
that the AD7763 offers flexible data output framing options,
which, are further enhanced by the availability of the SDL
output. The user can select the framing output which bests suits
the application.
Writing To The AD7763
Figure 3 shows the AD7763 write operation. The serial writing
operation is synchronous to the SCO signal. The status of the
frame sync input, FSI , is checked on the falling edge of the SCO
signal. If the FSI line is low then the first data is latched in on
the next SCO falling edge.
The active edge of the FSI signal should be set to occur at a
position when the SCO signal is high or low and which also
allows set-up and hold time from the SCO falling edge to be
met. The width of the FSI signal may be set to between 1 and 32
SCO periods wide. A second or subsequent FSI falling edge
which occurs before 32 SCO periods have elapsed will be
ignored.
Figure 3 also shows the format for the serial data being written
to the AD7763. 32 bits are required for a write operation. The
first 16 bits are used to select the device and register address
which the data being read is intended. The second 16 bits
contain the data for the selected register. When using multiple