AND8130/D Analog Switch Allows USB Switching at Low Voltages Prepared by: Fred Zlotnick ON Semiconductor http://onsemi.com APPLICATION NOTE EXECUTIVE SUMMARY All USB devices are backward and forward compatible with both the older 1.1 and 2.0 revisions. If the user had a device that he recently purchased that is rated as High Speed, he can still use it with an older PC that only supports the Full Speed mode. With its ease of use, and inclusion on nearly all Windows, Mac and Linux systems built since 1998, it is the ideal interface for an enhanced feature cell phone. A phone with a 64 MB card can be updated in a few minutes, even in the Full Speed mode. Photos, music, address books can all be updated in just a few seconds. When attempting to add USB to a device like a cell phone the designer has several issues. Adding an additional connector adds cost and takes up space. Adding 4 more pins to the existing connector adds cost to both the female portion in the phone and all the various male connectors that need to be supplied, in the form of “dongles”. One way to simplify the whole system is to multiplex some of the pins. The new NLAS2066 is a dual SPST (Single Pole Single Throw) switch with over−voltage tolerance (OVT) in it’s input pins. The OVT feature permits the device to be used for the purpose of sharing of pins in size constrained applications. Shared pins permit the designer to have a smaller connector, saving cost on both male and female portions. INTRODUCTION Our modern world is filled with many new devices that permit the user to communicate, take photos and short videos, and listen to music and a whole host of features not yet on the market. The USB port of a modern computer is the most convenient, easiest to use, high performance connection point the consumer can deal with. Although there are other useful ports, the USB port offers simple hookup, up to 2.5 watts of power, and speeds from 100 Kbits/sec to 400 Mbits/sec. A USB port has 4 wires, 2 for bidirectional data, and two for power. A USB port can supply as much as 500 mA at 5.0 V. Many devices simply plug into the USB port with no need for an external power supply. Most users are already familiar with USB peripherals such as printers, pointing devices, keyboard, and digital still camera. Most peripherals just “plug and play”. Modern P.C.s take care of the interface with minimal effort, only requiring the installation of software drivers. In addition, the number of USB ports can be increased by adding a hub. USB simply works very well and is the simplest, most convenient port a consumer can deal with. MULTIPLEXING PINS This article will only concern itself with the multiplexing of the data pins. The power pins provide capability to re−charge the phone, without need for a wall mounted power supply. With the close proximity of the wires and the possibility of a potential fault from the power line to the data line, specification assumes the data lines can handle a voltage up to 5.25 V at the data line1 for up to 24 hours. The data is sent differentially as NRZI at a maximum of 10 MBits/sec. The cell phone manufacturer must supply interface cables. The standard USB Type B, at approximately 11 x 11 mm, connector probably is too large for a cell phone. Normally a dongle2 is provided with a non−standard plug on the one side and a standard USB type “A” plug on the other. Depending upon the features of the cell phone, the socket may provide audio, video, RS−232, or other interfaces. USB 1.1/2.0 USB 2.0 adds a High Speed specification to the original USB v. 1.1 specification. There are three speeds for USB v. 2.0. The three speed ranges are: Low Speed: 10−100 Kbits/sec Full Speed 500K−10 Mbits/sec High Speed 25−400 Mbits/sec Semiconductor Components Industries, LLC, 2003 August, 2003 − Rev. 0 1. Universal Serial Bus Specification, Revision 2.0 April 26, 2000. 2. A flexible cable with appropriate connectors on both ends. 1 Publication Order Number: AND8130/D AND8130/D If fewer pins are brought out on the cell phone in, the size of the connector can be made smaller. In order to minimize the number of pins and reduce size and cost, it behooves the manufacturer to employ some form of multiplexing or sharing of pins on the connector. Pins must be capable of bilateral transmission of either analog of digital signals. Figure 1. USB − Type “A” at a Vcc of 5.0 V, nominal. While this would work, it places a cost and component burden on the system. The need for 5.0 V in a product like a cell phone is rare today. If not otherwise, needed it would place a demand for a regulator and additional voltage from the dc/dc converter on board. Camera enabled cell phones have very limited space, so the 5.0 V option is not very desirable. In order to save space and component cost and minimize the number of power supplies. The analog switch would need to operate from a supply voltage of approximately 2.7 V and be able to accept a 5.25 V fault. If the designer could find a switch that could accept 5.25 V, while operating from 2.7 V, then the 5.0 V power supply could disappear. Ordinary analog switches have diodes connected to the both the supply pin and ground pin, to protect the device against Electrostatic Discharge (ESD). If the switch were to be operated at 2.7 V and either USB data line had 5.25 V fault, the input diode connected to Vcc would be destroyed. This could cause damage, and could not be tolerated. A new device, the NLAS2066 dual analog switch has been introduced from ON Semiconductor, which permits operation at 2.7 V, while its inputs are permit to be subject to as much as 5.5 V, regardless of the operating voltage. This switch has an RON resistance low enough to permit use with USB 2.0 Full Speed specification. USB − Type “B” Figure 2. Example of a Dongle The semiconductor industry has been serving the need for bilateral switching for years with standard analog switches. Available analog switches can pass either digital or analog signals in two directions. More recently, analog switches have been fabricated in sub−micron silicon gate CMOS and exhibit resistance in 5−20 Ω range, and can pass signals 50 MHz or more. With RON values this low, an analog switch could be used to provide USB switching. Also, the frequency response of the switch should not affect overall performance of the USB transceiver. Several standard switches now available can meet the frequency and RON requirements. One additional requirement to meet USB safety specifications, states that the analog switch must be capable of a voltage “fault” of 5.25 Volts for 24 hours. One way to solve this requirement is simply to operate the switch Standard Analog Switch Vcc I/O I/O CTRL Figure 3. http://onsemi.com 2 AND8130/D NLAS2066 Vcc 1 2 USB Filter Shared Pins 3 USB Transceiver 5 CTRL Figure 4. CONCLUSION One side of the switch is protected against high voltage. It is therefore possible to use this switch to disconnect the USB input from the pins. Since the Analog Switch provides a high impedance state, it is not necessary to do anything but open the USB input filter to the pins. The application drawing shows the implementation. The shared pins may be hooked to any high impedance device. This device should also be capable of withstanding 5.25 V. The NLAS2066 is a tiny 8 pin device occupying only 6 mm2 of board space that permits a designer to reduce the number of pins that go to the outside world connector. The diagram shows how to connect the NLAS2066 to permit shared pins. By reducing the number of pins, the designer can save both space and cost. http://onsemi.com 3 AND8130/D ON Semiconductor and are registered trademarks of Semiconductor Components Industries, LLC (SCILLC). SCILLC reserves the right to make changes without further notice to any products herein. SCILLC makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does SCILLC assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation special, consequential or incidental damages. “Typical” parameters which may be provided in SCILLC data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. SCILLC does not convey any license under its patent rights nor the rights of others. SCILLC products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the SCILLC product could create a situation where personal injury or death may occur. Should Buyer purchase or use SCILLC products for any such unintended or unauthorized application, Buyer shall indemnify and hold SCILLC and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that SCILLC was negligent regarding the design or manufacture of the part. SCILLC is an Equal Opportunity/Affirmative Action Employer. PUBLICATION ORDERING INFORMATION Literature Fulfillment: Literature Distribution Center for ON Semiconductor P.O. Box 5163, Denver, Colorado 80217 USA Phone: 303−675−2175 or 800−344−3860 Toll Free USA/Canada Fax: 303−675−2176 or 800−344−3867 Toll Free USA/Canada Email: [email protected] JAPAN: ON Semiconductor, Japan Customer Focus Center 2−9−1 Kamimeguro, Meguro−ku, Tokyo, Japan 153−0051 Phone: 81−3−5773−3850 ON Semiconductor Website: http://onsemi.com For additional information, please contact your local Sales Representative. N. American Technical Support: 800−282−9855 Toll Free USA/Canada http://onsemi.com 4 AND8130/D