19-0220; Rev 2; 7/96 Serial Controlled, 8-Channel SPST Switch The MAX335 analog switch with serial digital interface offers eight separately controlled single-pole-singlethrow (SPST) switches. All switches conduct equally in either direction, and on-resistance (100Ω) is constant over the analog signal range. These CMOS switches can operate continuously with power supplies ranging from ±4.5V to ±20V and handle rail-to-rail analog signals. Upon power-up, all switches are off, and the internal serial and parallel shift registers are reset to zero. The MAX335 is equivalent to two DG211 quad switches but controlled by a serial interface. The interface is compatible with the Motorola SPI interface standard. Functioning as a shift register, this serial interface allows data (at DIN) to be locked in synchronous with the rising edge of clock (SCLK). The shift register's output (DOUT) enables several MAX335s to be daisy chained. ________________________Applications Serial Data Acquisition and Process Control Avionics ____________________________Features ♦ 8 Separately Controlled SPST Switches ♦ SPI-Compatible Serial Interface ♦ Accepts ±15V Analog Swings ♦ Multiple Devices Can Be Daisy Chained ______________Ordering Information PART MAX335CNG TEMP. RANGE 0°C to +70°C PIN-PACKAGE 24 Narrow Plastic DIP MAX335CWG MAX335C/D MAX335ENG MAX335EWG MAX335MRG 0°C to +70°C 0°C to +70°C -40°C to +85°C -40°C to +85°C -55°C to +125°C 24 Wide SO Dice* 24 Narrow Plastic DIP 24 Wide SO 24 Narrow CERDIP** * Contact factory for dice specifications. ** Contact factory for availability and processing to MIL-STD-883. Signal Routing Networking __________________Pin Configuration ________________Functional Diagram NO0 NO7 COM0 COM7 PARALLEL REGISTER AND TRANSLATOR DIN 8-BIT SHIFT REGISTER VL +5V TRANSLATOR DOUT SCLK 1 24 CS V+ 2 23 VL DIN 3 22 DOUT MAX335 GND 4 NO0 5 20 NO7 COM0 6 19 COM7 NO1 7 18 NO6 COM1 8 17 COM6 NO2 9 16 NO5 COM2 10 MAX335 SCLK TOP VIEW CLOCK TRANSLATOR 21 V- 15 COM5 NO3 11 14 NO4 COM3 12 13 COM4 LATCH CS CS TRANSLATOR DIP/SO SPI is a trademark of Motorola Corp. ________________________________________________________________ Maxim Integrated Products 1 For free samples & the latest literature: http://www.maxim-ic.com, or phone 1-800-998-8800 MAX335 _______________General Description MAX335 Serial Controlled, 8-Channel SPST Switch ABSOLUTE MAXIMUM RATINGS Voltages Referenced to VV+........................................................................................44V GND ....................................................................................25V VL ..................................................(GND - 0.3V) to (V+ + 0.3V) SCLK, CS, DIN, DOUT, NO_, COM_ ..............V- -2V to V+ +2V or 30mA, whichever occurs first Continuous Current (any terminal) ......................................30mA Peak Current, NO or COM (pulsed at 1ms, 10% duty cycle MAX)..........................100mA Continuous Power Dissipation (TA = +70°C) (Note 1) Narrow Plastic DIP (derate 13.33mW/°C above +70°C)..1067mW Wide SO (derate 11.76mW/°C above +70°C) ....................941mW Narrow CERDIP (derate 12.50mW/°C above +70°C) ......1000mW Operating Temperature Ranges MAX335C_ _ .......................................................0°C to +70°C MAX335E_ _ ....................................................-40°C to +85°C MAX335MRG .................................................-55°C to +125°C Storage Temperature Range .............................-65°C to +160°C Lead Temperature (soldering, 10sec) .............................+300°C Note 1: All leads are soldered or welded to PC boards. Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. ELECTRICAL CHARACTERISTICS (VL = +5V ±10%, V+ = 15V, V- = -15V, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS 15 V SWITCH Analog Signal Range On-Resistance NO Off-Leakage Current COM Off-Leakage Current VANALOG RON INO(OFF) ICOM(OFF) TA = TMIN to TMAX VCOM = ±10V, INO = 1mA TA = +25°C VCOM = -14V, VNO = +14V TA = +25°C VCOM = -14V, VNO = +14V TA = +25°C VCOM = -14V, VNO = +14V TA = +25°C VCOM = -14V, VNO = +14V TA = +25°C VCOM = VNO = +14V COM On-Leakage Current -15 ICOM(ON) VCOM = VNO = -14V 100 150 200 -1 0.002 -20 -1 -20 -1 0.002 -2 0.002 -2 1 nA 20 0.01 -40 TA = +25°C nA 1 20 -20 TA = +25°C 1 20 -20 -1 1 20 0.002 Ω 2 40 0.01 -40 2 nA 40 DIGITAL I/O DIN, SCLK, CS Input Logic Threshold High – DIN, SCLK, CS Input Logic Threshold Low DIN, SCLK, CS Input Current Logic High – DIN, SCLK, CS Input Current Logic Low DOUT Output Voltage Logic High 2 VIH VIL IINH IINL VDOUT VL = +5V 2.4 VL = +15V 11 V VL = +5V 0.8 VL = +15V 3 VDIN, VSCLK, VCS = 2.4V -1 0.03 1 VL = +15V, VDIN, VSCLK, V –C—S– = 11V -1 0.03 1 VDIN, VSCLK, VCS = 0.8V -1 0.03 1 –—– VL = +15V, VDIN, VSCLK, V C S = 3V -1 0.03 1 IDOUT = 0.8mA 3.5 _______________________________________________________________________________________ VL V µA µA V Serial Controlled, 8-Channel SPST Switch (VL = +5V ±10%, V+ = 15V, V- = -15V, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) PARAMETER DIGITAL I/O DOUT Output Voltage Logic Low SYMBOL VDOUT CONDITIONS MIN TYP IDOUT = -1.6mA VL RESET Voltage VLL VL RESET Voltage VLH TA = +25°C SCLKHYST TA = +25°C 100 200 SCLK Input Hysteresis (Note 2) MAX UNITS 0.4 V 0.8 V 2.4 V mV SWITCH DYNAMIC CHARACTERISTICS Turn-On Time tON From rising edge of CS TA = +25°C 400 Turn-Off Time tOFF From rising edge of CS TA = +25°C NO Off-Capacitance CNO(OFF) VS = GND, f = 1MHz TA = +25°C 2 pF COM Off-Capacitance CCOM(OFF) VD = GND, f = 1MHz TA = +25°C 2 pF Channel On-Capacitance VD = VS = GND, CCOM(ON) f = 1MHz TA = +25°C 8 pF 500 90 400 500 ns ns Off Isolation OIRR RL = 100Ω, CL = 15pF, VS = 1VRMS, f = 100kHz TA = +25°C 90 dB Channel-to-Channel Crosstalk CCRR RL = 50Ω, CL = 15pF, VS = 1VRMS, f = 100kHz TA = +25°C 100 dB Break-Before-Make Delay TBBM 15 ns Clock Feedthrough at S, D (Note 3) ESCLK 25 DLOAD = SLOAD = 75Ω, measured at S and D TA = +25°C 100 nV-sec POWER SUPPLIES Power-Supply Voltage Range V+/V- ±4.5 ±20 V VL Power-Supply Voltage Range VL 4.5 V+ V V+ Supply Current I+ DIN = CS = SCLK = 0V/5V TA = +25°C V- Supply Current I- DIN = CS = SCLK = 0V/5V TA = +25°C VL Supply Current IL DIN = CS = SCLK = 0V/5V TA = +25°C 150 300 500 0.01 10 10 50 100 200 µA µA µA Note 2: When VL falls below this voltage, all switches are set off and the internal shift register is cleared (all zero). Note 3: Guaranteed, not production tested. _______________________________________________________________________________________ 3 MAX335 ELECTRICAL CHARACTERISTICS (continued) MAX335 Serial Controlled, 8-Channel SPST Switch TIMING CHARACTERISTICS OF SERIAL DIGITAL INTERFACE (Figure 1) (VL = +5V ±10%, V+ = +15V, V- = -15V, TA = TMIN to TMAX, unless otherwise noted.) PARAMETER SCLK Maximum Frequency SYMBOL fSCLK CONDITIONS MIN 2.1 TYP MAX UNITS MHz Cycle Time tCH + tCL 480 ns CS Lead Time tCSS 240 ns CS Lag Time tCSH2 240 ns SCLK High Time tCH 190 ns SCLK Low Time tCL 190 ns Data-Setup Time tDS 200 ns Data-Hold Time tDH 0 ns DOUT Data Valid After Falling SCLK tDO 50% of SCLK to 10% of DOUT CL = 10pF TA = +25°C 240 ns 400 DOUT Data-Hold Time After Rising SCLK (Note 4) CL = 10pF Rise Time of DOUT (Note 3) 20% VL to 70% VL, CL = 10pF 100 ns Allowable Rise Time at DIN, SCLK, CS (Note 3) 20% VL to 70% VL, CL = 10pF 2 µs Fall Time of DOUT (Note 3) 70% VL to 20% VL, CL = 10pF 100 ns Allowable Fall Time at DIN, SCLK, CS (Note 3) 70% VL to 20% VL, CL = 10pF 2 µs 0 Note 4: This specification guarantees that data at DOUT never appears before SCLK's falling edge. 4 _______________________________________________________________________________________ ns Serial Controlled, 8-Channel SPST Switch RON vs. VCOM AND TEMPERATURE 500 200 RON (Ω) B 150 C 100 C B 150 A 400 300 100 200 50 100 tON D 0 0 -20 -10 0 0 -20 20 10 -10 0 DATA-HOLD TIME vs. POWER-SUPPLY VOLTAGE 20 10 200 20 ON-LEAKAGE (pA) ON DATA-SETUP TIME (ns) -20 40 30 20 -40 10 -60 ±5 ±10 2 OFF 0.2 0.02 0.002 0 ±20 ±15 20 15 LEAKAGE CURRENT vs. TEMPERATURE MAX335-05 MAX335-04 0 10 DATA-SETUP TIME vs. POWER SUPPLY 50 20 5 VCOM (V) 60 40 0 VCOM (V) VCOM (V) 60 tOFF MAX335-06 50 0.0002 ±5 ±10 ±15 ±20 -55 +25 +125 SUPPLY VOLTAGE (V) SUPPLY VOLTAGE (V) TEMPERATURE (°C) CHARGE INJECTION vs. VCOM SUPPLY vs. TEMPERATURE MINIMUM SCLK PULSE WIDTH vs. POWER SUPPLY 1000 I+ 70 60 100 MAX335-09 MAX335-07 105 MAX335-08 RON (Ω) A: TA = +25°C B: TA = +85°C C: TA = +125°C 250 200 DATA-HOLD TIME (ns) MAX335-02 A 600 tON, tOFF (ns) 250 ±5V ±10V ±15V ±20V MAX335-01 A: B: C: D: tON, tOFF vs. VCOM 300 300 MAX335-03 RON vs. VCOM AND POWER-SUPPLY VOLTAGE 50 IL A 0 -35 10 40 SCLK (ns) I+, I-, IL (µA) Q (pC) 35 1 0.1 30 20 B -70 0.01 A: ±5V B: ±15V 10 I- -105 0.001 -20 -15 -10 -5 0 VCOM (V) 5 10 15 20 0 -55 +25 TEMPERATURE (°C) +125 ±5 ±10 ±15 ±20 SUPPLY VOLTAGE (V) _______________________________________________________________________________________ 5 MAX335 __________________________________________Typical Operating Characteristics (V+ = +15V, V- = -15V, VL= 5V, TA = +25°C, unless otherwise noted.) MAX335 Serial Controlled, 8-Channel SPST Switch _____________________Pin Description PIN NAME FUNCTION 1 SCLK 2 V+ Positive Supply Voltage 3 DIN Serial Data Input 4 GND Ground 5 NOØ Switch 0 6 COMØ Switch 0 7 NO1 Switch 1 8 COM1 Switch 1 Serial Clock Input 9 NO2 Switch 2 10 COM2 Switch 2 11 NO3 Switch 3 12 COM3 Switch 3 13 COM4 Switch 4 14 NO4 Switch 4 15 COM5 Switch 5 16 NO5 Switch 5 17 COM6 Switch 6 18 NO6 Switch 6 19 COM7 Switch 7 20 NO7 Switch 7 21 V- 22 DOUT Serial Data Output 23 VL —– CS Logic Supply/Reset 24 Negative Supply Voltage Chip Select ______________Detailed Description Serial Digital Interface Basic Operation Refer to Figure 2. The MAX335 interface can be thought of as an 8-bit shift register controlled by CS. While CS is low, input data appearing at DIN is clocked into the shift register synchronous with SCLK’s rising edge. The data is an 8-bit word, each bit controlling one of eight switches in the MAX335 (Table 1). DOUT is the output of the shift register, with data appearing synchronous with SCLK’s 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 original configuration. When the 8 bits of data have been shifted in, CS is brought high. This 6 updates the new switch configuration and inhibits further data from entering the shift register. Transitions at DIN and SCLK have no effect when CS is high, and DOUT holds the last bit in the shift register. The MAX335 three-wire serial interface is compatible with the SPI™ and Microwire™ standards. If interfacing with a Motorola processor serial interface, set CPOL = 0. The MAX335 is considered a slave device (Figures 2 and 3). Upon power-up, the shift register contains all zeros, and all switches are off. The latch that drives the analog switch is only updated on the rising edge of CS when SCLK is low. If SCLK is high when CS rises, the latch will not be updated until SCLK goes low. The CPOL = 1, CPHA = 1 SPI configuration does not update the latch correctly. Daisy Chaining For a simple interface using several MAX335s, “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 MAX335s in series. When CS is brought high, all switches are updated simultaneously. Additional shift registers may be included anywhere in series with the MAX335 data chain. Addressable Serial Interface When several serial devices are configured as slaves, addressable by the processor, DIN pins of each MAX335 are connected together (Figure 6). Address decode logic individually controls CS of each slave device. When a slave is selected, its CS is brought low, data is shifted in, and CS is brought high to latch the data. Typically, only one slave is addressed at a time. DOUT is not used. Digital Feedthrough Digital feedthrough energy measures 100nV-sec, which means that with no filtering at the signal channel, feedthrough from a sharply rising clock edge into an unfiltered switch channel can be measured at 1Vp-p for 100ns. However, even 100pF capacitance in the switch channel, when combined with the switch resistance, yields a filter that reduces this transient to 10mVp-p typical. To reduce digital feedthrough, hysteresis (150mV typ) was added to the SCLK input so triangle or sine waves may be used. _______________________________________________________________________________________ Serial Controlled, 8-Channel SPST Switch MAX335 tCLL CS tCSH2 ••• tCSS tCH tOFF tCSH0 ••• SCLK tCL tDS tCSH1 tDH ••• DIN tDO ••• DOUT ••• Figure 1. Timing Diagram SWITCHES UPDATED CS SCLK DATA CLOCKED IN DIN D7 D6 D5 D4 D3 D2 D1 D0 LSB MSB INPUT DATA BITS DATA CLOCKED OUT DOUT D7 D6 D5 D4 D3 D2 D1 D0 D7 DATA BITS FROM PREVIOUS DATA INPUT DOUT POWER-UP DEFAULT: D7–D0 = 0 Figure 2. Three-Wire Interface Timing _______________________________________________________________________________________ 7 MAX335 Serial Controlled, 8-Channel SPST Switch Table 1. Serial-Interface Switch Programming DATA BITS FUNCTION D7 D6 D5 D4 D3 D2 D1 D0 0 X X X X X X X Switch 7 open (off) 1 X X X X X X X Switch 7 closed (on) X 0 X X X X X X Switch 6 open X 1 X X X X X X Switch 6 closed X X 0 X X X X X Switch 5 open X X 1 X X X X X Switch 5 closed X X X 0 X X X X Switch 4 open X X X 1 X X X X Switch 4 closed X X X X 0 X X X Switch 3 open X X X X 1 X X X Switch 3 closed X X X X X 0 X X Switch 2 open X X X X X 1 X X Switch 2 closed X X X X X X 0 X Switch 1 open X X X X X X 1 X Switch 1 closed X X X X X X X 0 Switch 0 open X X X X X X X 1 Switch 0 closed X = Don't care SCLK SK MAX335 DIN SO DOUT SI CS I/0 8 MISO MAX335 DIN MOSI MICROWIRE PORT THE DOUT-SI CONNECTION IS NOT REQUIRED FOR WRITING TO THE MAX335, BUT MAY BE USED FOR DATA-ECHO PURPOSES. Figure 3. Connections for Microwire DOUT SCLK CS SPI PORT SCK I/0 CPOL = 0, CPHA = 0 THE DOUT-MISO CONNECTION IS NOT REQUIRED FOR WRITING TO THE MAX335, BUT MAY BE USED FOR DATA-ECHO PURPOSES. Figure 4. Connections for SPI _______________________________________________________________________________________ Serial Controlled, 8-Channel SPST Switch SCLK MAX335 DIN DIN CS CS SCLK MAX335 DOUT DIN MAX335 SCLK SCLK DOUT CS MAX335 DIN DOUT CS TO OTHER SERIAL DEVICES Figure 5. Daisy-Chained Connection DIN SCLK CS1 CS2 TO OTHER SERIAL DEVICES CS3 CS CS CS MAX335 MAX335 MAX335 SCLK SCLK SCLK DIN DIN DIN Figure 6. Addressable Serial Interface _______________________________________________________________________________________ 9 MAX335 Serial Controlled, 8-Channel SPST Switch __________Applications Information 8 x 1 Multiplexer To use the MAX335 as an 8 x 1 multiplexer, tie all drains together (COM0 to COM7); the mux inputs now source each switch (NO0 to NO7). Input a single 0V to +3V pulse at DIN. As this is clocked through the register by SCLK, each switch will sequence on one at a time. 4-2 Differential Multiplexer To use the MAX335 as a 4-2 differential multiplexer, tie COM0 through COM3 together and COM4 through COM7 together. Differential inputs will be the source inputs as follows: (NO0, NO4), (NO1, NO5), (NO2, NO6), (NO3, NO7). Figure 7 shows the serial input control at DIN required to turn on two switches making a differential multiplexer. D4 Reset Function Pulsing VL below +0.8V initiates the power-up reset function. The switches are set to the off position, and the serial shift register is reset to all zeros. Power-Supply Operation The MAX335 operates with V = ±4.5V to ±20V and VL = +5V. With V- tied to ground, the part operates with V+ = +10V to +30V. The VL supply sets TTL input compatibility at a 1.6V switching threshold. As V L is raised, the switching threshold is raised, so the part is no longer TTL compatible. The MAX335 also operates with a single power supply: VL = V+ and V- = 0V. With VL tied to V+, the VL supply cannot be used as a reset function. ___________________Chip Topography DØ SCLK V+ SW4 SCLK VL CS SWØ DIN DOUT 4 CLOCK PULSES DIN Figure 7. Differential Multiplexer Input Control GND V- NO0 NO7 CS is held low for four clock pulses; the first pulse is clocked into the fifth switch position as the second pulse is clocked into the first switch position. CS is pulled high to update switches; then CS is pulled low, and SCLK advances pulses to S1 and S5 positions, where CS is pulled high to update, etc. COM0 SPDT Switches NO1 Tie COM0 to NO1 so that NO0 and COM1 are now inputs and COM0/NO1 is the common output. SP is common output. Up to four SPDT switches can be made from each MAX335. Multiples of four or more can be made by daisy chaining devices. In Figure 8, DIN is a pulse train. Again, CS is held low to clock in pulses and CS is pulled high to update; CS is held low to shift pulses, then pulled high to update, etc. COM7 NO6 0.156" (3.96mm) COM6 COM1 NO5 NO2 COM2 COM5 NO3 COM3 0.099" (2.51mm) DIN COM4 NO4 1 CLOCK PULSE TRANSISTOR COUNT: 387 SUBSTRATE CONNECTED TO V+. Figure 8. Serial-Input Control for SPDT Switch 10 ______________________________________________________________________________________ Serial Controlled, 8-Channel SPST Switch DIM A A1 A2 A3 B B1 C D D1 E E1 e eA eB L α D1 E E1 D A2 A A3 α A1 C B1 eA B eB DIM E MILLIMETERS MIN MAX – 5.08 0.38 – 3.18 3.81 1.40 2.03 0.41 0.56 1.27 1.65 0.20 0.30 31.37 32.13 1.27 2.03 7.62 8.26 6.10 7.11 2.54 BSC 7.62 BSC – 10.16 2.92 3.81 0˚ 15˚ 21-337A L e INCHES MAX MIN 0.200 – – 0.015 0.150 0.125 0.080 0.055 0.022 0.016 0.065 0.050 0.012 0.008 1.265 1.235 0.080 0.050 0.325 0.300 0.280 0.240 0.100 BSC 0.300 BSC 0.400 – 0.150 0.115 15˚ 0˚ A A1 B C D E e H h L α H 24-PIN PLASTIC DUAL-IN-LINE (NARROW) PACKAGE INCHES MAX MIN 0.104 0.093 0.012 0.004 0.019 0.014 0.013 0.009 0.614 0.598 0.299 0.291 0.050 BSC 0.419 0.394 0.030 0.010 0.050 0.016 8˚ 0˚ MILLIMETERS MIN MAX 2.35 2.65 0.10 0.30 0.35 0.49 0.23 0.32 15.20 15.60 7.40 7.60 1.27 BSC 10.00 10.65 0.25 0.75 0.40 1.27 0˚ 8˚ 21-338A D h x 45˚ α A 0.127mm 0.004in. e B A1 C L 24-PIN PLASTIC SMALL-OUTLINE PACKAGE ______________________________________________________________________________________ 11 MAX335 ________________________________________________________Package Information MAX335 Serial Controlled, 8-Channel SPST Switch ___________________________________________Package Information (continued) DIM S1 S E1 E D A A B B1 C D E E1 e L L1 Q S S1 α INCHES MAX MIN 0.200 – 0.023 0.014 0.065 0.038 0.015 0.008 1.280 – 0.310 0.220 0.320 0.290 0.100 BSC 0.200 0.125 – 0.150 0.060 0.015 0.098 – – 0.005 15˚ 0˚ MILLIMETERS MIN MAX – 5.08 0.36 0.58 0.97 1.65 0.20 0.38 – 32.51 5.59 7.87 7.37 8.13 2.54 BSC 3.18 5.08 3.81 – 0.38 1.52 – 2.49 0.13 – 0˚ 15˚ 21-340C α Q L L1 e B1 B C 24-PIN CERAMIC DUAL-IN-LINE (NARROW) PACKAGE Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time. 12 __________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 (408) 737-7600 © 1996 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products.