Data Sheet ADG738/ADG739
Rev. A | Page 17 of 20
APPLICATIONS INFORMATION
EXPAND THE NUMBER OF SELECTABLE SERIAL
DEVICES USING AN ADG739
The dual 4-channel ADG739 multiplexer can be used to
multiplex a single chip select line to provide chip selects for
up to four devices on the SPI bus. Figure 30 illustrates the
ADG739 in such a typical configuration. All devices receive
the same serial clock and serial data, but only one device
receives the
SYNC
signal at any one time. The ADG739 is a
serially controlled device also. One bit programmable pin of
the microcontroller is used to enable the ADG739 via
SYNC2
,
while another bit programmable pin is used as the chip select
for the other serial devices,
SYNC1
. Driving
SYNC2
low enables
changes to be made to the addressed serial devices. By
bringing
SYNC1
low, the selected serial device hanging from
the SPI bus is enabled and data will be clocked into its input
shift register on the falling edges of SCLK. The convenient
design of the matrix switch allows for different combinations of
the four serial devices to be addressed at any one time. If more
devices need to be addressed via one chip select line, the
ADG738 is an 8-channel device and would allow further
expansion of the chip select scheme. There may be some digital
feedthrough from the digital input lines because SCLK and DIN
are permanently connected to each device. Using a burst clock
minimizes the effects of digital feedthrough on the analog
channels.
Figure 30. Addressing Multiple Serial Devices Using an ADG739
DAISY-CHAINING MULTIPLE ADG738S
A number of ADG738 matrix switches may be daisy-chained
simply by using the DOUT pin. DOUT is an open-drain output
that should be pulled to the supply with an external resistor.
Figure 31 shows a typical implementation. The
SYNC
pin of
all three parts in the example are tied together. When
SYNC
is brought low, the input shift registers of all parts are enabled,
data is written to the parts via DIN, and clocked through the
shift registers. When the transfer is complete,
SYNC
is brought
high and all switches are updated simultaneously. Further shift
registers may be added in series.
Figure 31. Multiple ADG739 Devices in a Daisy-Chained Configuration
DA
1/2 OF
ADG739
V
DD
SCLK
DIN
SYNC
S1A
S2A
S3A
S4A
SYNC1
DIN
SCLK
DIN
SCLK
DIN
SCLK
DIN
SCLK
DIN
SCLK
ADG739
ADG738
OTHER SPI
DEVICE
SYNC2
FROM
MICRO-
CONTROLLER
OR DSP
OTHER SPI
DEVICE
SYNC
SYNC
SYNC
SYNC
10758-023
SCLK
DIN
DOUT
ADG739
SCLK
DIN
ADG739
SCLK
DIN
TUOD
TUOD
SCLK
DIN
TO OTHER
SERIAL DEVICES
ADG739
V
DD
RR
R
SYNCSYNC SYNC SYNC
10758-024