10
PS8462B
01/12/01
12345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012
PS395
Precision8-Channel17V,
SPSTSwitchw/SerialControl
Detailed Description
Basic Operation
The PS395s interface can be thought of as an 8-bit shift register
controlled by CS (Figure 7). While CS is low, input data appearing
at DIN is clocked into the shift register synchronously with SCLKs
rising edge. The data is an 8-bit word, each bit controlling one of
eight switches in the PS395. DOUT is the shift registers output,
with data appearing synchronously with SCLKs falling edge. Data
at DOUT is simply the input data delayed by eight clock cycles.
When shifting the input data, D7 is the first bit in and out of the
shift register. While shifting data, the switches remain in their pre-
vious configuration. When the eight bits of data have been shifted
in, CS is driven high. This updates the new switch configuration
and inhibits further data from entering the shift register. Transi-
tions at DIN and SCLK have no effect when CS is high, and DOUT
holds the first input bit (D7) at its output.
More or less than eight clock cycles can be entered during the CS
low period. When this happens, the shift register will contain only
the last eight serial data bits, regardless of when they were en-
tered. On the rising edge of CS, all the switches will be set to the
corresponding states.
The PS395s three-wire serial interface is compatible with SPI,
QSPI, and Microwire standards. If inter-facing with a Motorola
processor serial interface, set CPOL = 0. The PS395 is considered a
slave device (Figures 2 and 7). Upon power-up, the shift register
contains all zeros, and all switches are off.
The latch that drives the analog switch is updated on the rising
edge of CS, regardless of SCLKs state. This meets all the SPI and
QSPI requirements.
Daisy Chaining
For a simple interface using several PS395s, daisy chain the shift
registers as shown in Figure 5. The CS pins of all devices are
connected together, and a stream of data is shifted through the
PS395s in series. When CS is brought high, all switches are up-
dated simultaneously. Additional shift registers may be included
anywhere in series with the PS395 data chain.
tCSH0
SCLK
DIN
DOUT
COM OUT
tCSS
tCL
tDS
tDH
tDO
tCSH1
tOFF
tCSH2
tCLL
tCH
Figure 1. Timing Diagram