CP2102/9 SINGLE-CHIP USB TO UART BRIDGE Single-Chip USB to UART Data Transfer - Integrated USB transceiver; no external resistors required - Integrated clock; no external crystal required - Internal 1024-byte programmable ROM for vendor ID, product ID, serial number, power descriptor, release number, and product description strings - EEPROM (CP2102) - EPROM (One-time programmable) (CP2109) - On-chip power-on reset circuit - On-chip voltage regulator - 3.3 V output (CP2102) - 3.45 V output (CP2109) - 100% pin and software compatible with CP2101 Virtual COM Port Device Drivers - Works with existing COM port PC Applications - Royalty-free distribution license - Windows 8/7/Vista/Server 2003/XP/2000 - Mac OS-X/OS-9 - Linux USBXpress™ Direct Driver Support - Royalty-Free Distribution License - Windows 7/Vista/XP/Server 2003/2000 - Windows CE USB Function Controller - USB Specification 2.0 compliant; full-speed (12 Mbps) - USB suspend states supported via SUSPEND pins Example Applications - Upgrade of RS-232 legacy devices to USB - Cellular phone USB interface cable - USB interface cable - USB to RS-232 serial adapter Asynchronous Serial Data BUS (UART) - All handshaking and modem interface signals - Data formats supported: Supply Voltage - Self-powered: 3.0 to 3.6 V - USB bus powered: 4.0 to 5.25 V - - Data bits: 5, 6, 7, and 8 - Stop bits: 1, 1.5, and 2 - Parity: odd, even, mark, space, no parity Baud rates: 300 bps to 1 Mbps 576 Byte receive buffer; 640 byte transmit buffer Hardware or X-On/X-Off handshaking supported Event character support Line break transmission 7 REGIN IN Voltage Regulator Package - RoHS-compliant 28-pin QFN (5x5 mm) Ordering Part Numbers - CP2102-GM - CP2109-A01-GM Temperature Range: –40 to +85 °C VDD CP2102/9 RST OUT SUSPEND 6 3 8 USB CONNECTOR VBUS DD+ GND 3.3 – 3.45 V VDD SUSPEND GND RI 48 MHz Oscillator VBUS DTR 1 2 3 4 DCD 5 4 DD+ USB Function Controller 5 6 1024B PROM D1 D2 D3 18 USB Transceiver UART 640B 576B TX RX Buffer Buffer DSR TXD RXD RTS CTS 9 12 11 (to external circuitry for USB suspend states) 2 1 28 27 External RS-232 transceiver or UART circuitry 26 25 24 23 VPP *CP2109 only Figure 1. Example System Diagram Rev. 1.6 12/13 Copyright © 2013 by Silicon Laboratories CP2102/9 CP2102/9 2 Rev. 1.6 CP2102/9 TABLE OF CONTENTS Section Page 1. System Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 2. Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 3. Electrical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6 4. Pinout and Package Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5. QFN-28 Package Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 6. USB Function Controller and Transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 7. Asynchronous Serial Data Bus (UART) Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 8. Internal Programmable ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 9. CP2102/9 Device Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 9.1. Virtual COM Port Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 9.2. USBXpress Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 9.3. Driver Customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18 9.4. Driver Certification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18 10. Voltage Regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 11. Porting Considerations from CP2102 to CP2109 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 11.1. Pin-Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 11.2. Distinguishing Factors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 11.3. Differences in Electrical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 12. Relevant Application Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Document Change List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 Contact Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Rev. 1.6 3 CP2102/9 1. System Overview The CP2102/9 is a highly-integrated USB-to-UART Bridge Controller providing a simple solution for updating RS232 designs to USB using a minimum of components and PCB space. The CP2102/9 includes a USB 2.0 fullspeed function controller, USB transceiver, oscillator, EEPROM or EPROM, and asynchronous serial data bus (UART) with full modem control signals in a compact 5 x 5 mm QFN-28 package. No other external USB components are required. The on-chip programmable ROM may be used to customize the USB Vendor ID, Product ID, Product Description String, Power Descriptor, Device Release Number, and Device Serial Number as desired for OEM applications. The programmable ROM is programmed on-board via the USB, allowing the programming step to be easily integrated into the product manufacturing and testing process. Royalty-free Virtual COM Port (VCP) device drivers provided by Silicon Laboratories allow a CP2102/9-based product to appear as a COM port to PC applications. The CP2102/9 UART interface implements all RS-232 signals, including control and handshaking signals, so existing system firmware does not need to be modified. In many existing RS-232 designs, all that is required to update the design from RS-232 to USB is to replace the RS232 level-translator with the CP2102/9. Direct access driver support is available through the Silicon Laboratories USBXpress driver set. An evaluation kit for the CP2102 (Part Number: CP2102EK) is available. The kit includes a CP2102-based USB-toUART/RS-232 evaluation board, a complete set of VCP device drivers, USB and RS-232 cables, and full documentation. Contact a Silicon Labs sales representative or go to www.silabs.com to order the CP2102 Evaluation Kit. The CP2102 Evaluation Kit serves as an evaluation kit for both the CP2102 and CP2109. 4 Rev. 1.6 CP2102/9 2. Ordering Information Table 1. Product Selection Guide Ordering Part Number Internal EEPROM EPROM Programmable ROM (Byte) Calibrated Internal 48 MHz Oscillator Supply Voltage Regulator Lead-free (RoHSCompliant) Package CP2102-GM* 1024 Y N Y Y Y QFN28 CP2109-A01-GM* 1024 N Y Y Y Y QFN28 *Note: Pin compatible with the CP2101-GM. Rev. 1.6 5 CP2102/9 3. Electrical Specifications Table 2. Absolute Maximum Ratings Parameter Symbol Test Condition Min Typ Max Unit Ambient Temperature under Bias TBIAS –55 — 125 °C Storage Temperature TSTG –65 — 150 °C Voltage on VDD with respect to GND VDD –0.3 — 4.2 V Maximum Total Current through VDD and GND — — 500 mA Maximum Output Current sunk by RST or any I/O pin — — 100 mA –0.3 — 5.8 V –0.3 –0.3 — — 5.8 VDD + 3.6 V CP2102 Voltage on any I/O Pin, VBUS, or RST with respect to GND CP2109 Voltage on any I/O Pin, VBUS, or RST with respect to GND VDD > 3.0 V VDD not powered Note: Stresses above those listed may cause permanent device damage. This is a stress rating only, and functional operation of the devices at or exceeding the conditions in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. 6 Rev. 1.6 CP2102/9 Table 3. Recommended Operating Conditions VDD = 3.0 to 3.6 V, –40 to +85 °C unless otherwise specified Parameter Symbol Test Condition Min Typ Max Unit Supply Voltage VDD 3.0 3.3 3.6 V Supply Current - USB Pull-up1 IPU — 200 230 µA Specified Operating Temperature Range TA –40 — +85 °C Thermal Resistance2 θJA — 32 — °C/W Normal Operation; VREG Enabled — 20 26 mA Bus Powered; VREG Enabled — 80 100 µA Normal Operation; VREG Enabled — 17 23 mA Bus Powered; VREG Enabled — 90 230 µA CP2102 Supply Current—Normal3 Supply Current—Suspended3 IREGIN CP2109 Supply Current—Normal3 Supply Current—Suspended3 IREGIN Notes: 1. The USB Pull-up supply current values are calculated values based on USB specifications. USB Pull-up supply current is current flowing from VDD to GND through USB pull-down/pull-up resistors on D+ and D-. 2. Thermal resistance assumes a multi-layer PCB with any exposed pad soldered to a PCB pad. 3. USB Pull-up current should be added for total supply current. Normal and suspended supply current is current flowing into VREGIN. Normal and suspended supply current is guaranteed by characterization. Rev. 1.6 7 CP2102/9 Table 4. UART and Suspend I/O DC Electrical Characteristics VDD = 3.0 to 3.6 V, –40 to +85 °C unless otherwise specified Parameter Symbol Test Condition Min Typ Max Unit — — 921600 bps — 25 50 µA VOH IOH = –10 µA IOH = –3 mA IOH = –10 mA VDD – 0.1 VDD – 0.7 — — — VDD – 0.8 — — — V VOL IOL = 10 µA IOL = 8.5 mA IOL = 25 mA — — — — — 1.0 0.1 0.6 — V Baud Rate IL Input Leakage Current CP2102 Output High Voltage Output Low Voltage Input High Voltage VIH 2.0 — — V Input Low Voltage VIL — — 0.8 V CP2109 VOH IOH = –10 µA IOH = –3 mA IOH = –10 mA VDD – 0.1 VDD – 0.2 — — — VDD – 0.4 — — — V VOL IOL = 10 µA IOL = 8.5 mA IOL = 25 mA — — — — — 0.6 0.1 0.4 — V Output High Voltage Output Low Voltage Input High Voltage VIH 0.7 x VDD — — V Input Low Voltage VIL — — 0.6 V Table 5. Reset Electrical Characteristics –40 to +85 °C unless otherwise specified Symbol Test Condition Min Typ Max Unit VDD Ramp Time tRMP Time to VDD ≥ 2.7 V — — 1 ms RST Low Time to Generate a System Reset tRSTL 15 — — µs RST Input High Voltage VIHRESET 0.7 x VDD — — V RST Input Low Voltage VILRESET — — 0.25 x VDD V RST Input High Voltage VIHRESET 0.75 x VDD — — V RST Input Low Voltage VILRESET — — 0.6 V Parameter CP2102 CP2109 8 Rev. 1.6 CP2102/9 Table 6. Voltage Regulator Electrical Specifications –40 to +85 °C unless otherwise specified. Parameter Symbol Test Condition Min Typ Max Unit 4.0 — 5.25 V 3.0 3.3 3.6 V 1.0 1.8 2.9 V — 90 — µA 3.0 — 5.25 V 3.3 3.45 3.6 V 2.5 — — V — 83 99 µA Min Typ Max Unit CP2102 Input Voltage Range VREGIN Output Voltage VDDOUT VBUS Detection Input Threshold VVBUSTH Output Current = 1 to 100 mA* Bias Current CP2109 Input Voltage Range VREGIN Output Voltage VDDOUT VBUS Detection Input Threshold VVBUSTH Output Current = 1 to 100 mA* Bias Current *Note: The maximum regulator supply current is 100 mA. Table 7. USB Transceiver Electrical Specifications VDD = 3.0 V to 3.6 V, –40 to +85 °C unless otherwise specified. Parameter Symbol Test Condition Transmitter Output High Voltage VOH 2.8 — — V Output Low Voltage VOL — — 0.8 V VCRS 1.3 — 2.0 V Driving High Driving Low — — 38 38 — — Driving High Driving Low — — 36 36 — — Output Crossover Point Output Impedance (CP2102) Output Impedance (CP2109) ZDRV Pull-up Resistance RPU Full Speed (D+ Pull-up) Low Speed (D- Pull-up) 1.425 1.5 1.575 k Output Rise Time TR Low Speed Full Speed 75 4 — — 300 20 ns Output Fall Time TF Low Speed Full Speed 75 4 — — 300 20 ns Differential Input Sensitivity VDI | (D+) - (D-) | 0.2 — — V Differential Input Common Mode Range VCM 0.8 — 2.5 V — < 1.0 — µA Receiver Input Leakage Current IL Pullups Disabled *Note: Refer to the USB Specification for timing diagrams and symbol definitions. Rev. 1.6 9 CP2102/9 Table 8. EPROM Electrical Characteristics Parameter Test Condition Min Typ Max Unit VDD > 3.3 V 5.75 — VDD + 3.6 V — 4.7 — µF CP2109 Voltage on VPP with respect to GND during a ROM programming operation Capacitor on VPP for In-system Programming 10 Rev. 1.6 CP2102/9 4. Pinout and Package Definitions Table 9. CP2102/9 Pin Definitions Name Pin # Type VDD 6 Power In Description 3.0–3.6 V Power Supply Voltage Input. Power Out 3.3 V Voltage Regulator Output. See "10. Voltage Regulator" on page 19. GND 3 RST 9 D I/O Device Reset. Open-drain output of internal POR or VDD monitor. An external source can initiate a system reset by driving this pin low for at least 15 µs. REGIN 7 Power In 5 V Regulator Input. This pin is the input to the on-chip voltage regulator. VBUS 8 D In VBUS Sense Input. This pin should be connected to the VBUS signal of a USB network. A 5 V signal on this pin indicates a USB network connection. Ground NC1 / This pin should be left unconnected or tied to VDD. This pin is unused on the CP2102 and may be connected to the Vpp programming capacitor to maintain board compatibility with the CP2109. 18 VPP2 A Power VPP Programming Supply Voltage D+ 4 D I/O USB D+ D– 5 D I/O USB D– TXD 26 D Out Asynchronous data output (UART Transmit) RXD 25 D In Asynchronous data input (UART Receive) CTS 23 3 D In Clear To Send control input (active low) 24 3 D Out Ready to Send control output (active low) 27 3 D in Data Set Ready control input (active low) DTR 28 3 D Out DCD 13 D In Data Carrier Detect control input (active low) 3 D In Ring Indicator control input (active low) RTS DSR RI 2 Data Terminal Ready control output (active low) SUSPEND 12 3 D Out This pin is driven high when the CP2102/9 enters the USB suspend state. SUSPEND 113 D Out This pin is driven low when the CP2102/9 enters the USB suspend state. NC 10, 13–22 These pins should be left unconnected or tied to VDD. Notes: 1. For CP2102, pin is no connect (NC). 2. For CP2109, pin is VPP. VPP can be left unconnected when not used for in-application programming. 3. Pins can be left unconnected when not used. Rev. 1.6 11 DTR DSR TXD RXD RTS CTS NC 28 27 26 25 24 23 22 CP2102/9 DCD 1 21 NC RI 2 20 NC GND 3 19 NC D+ 4 18 NC / VPP D- 5 17 NC VDD 6 16 NC REGIN 7 15 NC CP2102/9 Top View 12 13 14 SUSPEND NC NC 10 NC 11 9 RST SUSPEND 8 VBUS GND Figure 2. QFN-28 Pinout Diagram (Top View) 12 Rev. 1.6 CP2102/9 5. QFN-28 Package Specifications Figure 3. QFN-28 Package Drawing Table 10. QFN-28 Package Dimensions Dimension Min Typ Max Dimension Min Typ Max A A1 A3 b D D2 e E E2 0.80 0.00 0.90 0.02 0.25 REF 0.23 5.00 BSC. 3.15 0.50 BSC. 5.00 BSC. 3.15 1.00 0.05 L L1 aaa bbb ddd eee Z Y 0.35 0.00 0.55 — 0.15 0.10 0.05 0.08 0.44 0.18 0.65 0.15 0.18 2.90 2.90 0.30 3.35 3.35 Notes: 1. All dimensions shown are in millimeters (mm) unless otherwise noted. 2. Dimensioning and Tolerancing per ANSI Y14.5M-1994. 3. This drawing conforms to the JEDEC Solid State Outline MO-220, variation VHHD except for custom features D2, E2, Z, Y, and L, which are toleranced per supplier designation. 4. Recommended card reflow profile is per the JEDEC/IPC J-STD-020 specification for Small Body Components. Rev. 1.6 13 CP2102/9 Figure 4. QFN-28 Recommended PCB Land Pattern Table 11. QFN-28 PCB Land Pattern Dimensions Dimension C1 C2 E X1 Min Max Dimension Min Max X2 Y1 Y2 3.20 0.85 3.20 3.30 0.95 3.30 4.80 4.80 0.50 0.20 0.30 Notes: General 1. All dimensions shown are in millimeters (mm) unless otherwise noted. 2. Dimensioning and Tolerancing is per the ANSI Y14.5M-1994 specification. 3. This Land Pattern Design is based on the IPC-7351 guidelines. Solder Mask Design 4. All metal pads are to be non-solder mask defined (NSMD). Clearance between the solder mask and the metal pad is to be 60 µm minimum, all the way around the pad. Stencil Design 5. A stainless steel, laser-cut and electro-polished stencil with trapezoidal walls should be used to assure good solder paste release. 6. The stencil thickness should be 0.125 mm (5 mils). 7. The ratio of stencil aperture to land pad size should be 1:1 for all perimeter pins. 8. A 3x3 array of 0.90 mm openings on a 1.1 mm pitch should be used for the center pad to assure the proper paste volume (67% Paste Coverage). Card Assembly 9. A No-Clean, Type-3 solder paste is recommended. 10. The recommended card reflow profile is per the JEDEC/IPC J-STD-020 specification for Small Body Components. 14 Rev. 1.6 CP2102/9 6. USB Function Controller and Transceiver The Universal Serial Bus function controller in the CP2102/9 is a USB 2.0 compliant full-speed device with integrated transceiver and on-chip matching and pull-up resistors. The USB function controller manages all data transfers between the USB and the UART as well as command requests generated by the USB host controller and commands for controlling the function of the UART. The USB Suspend and Resume signals are supported for power management of both the CP2102/9 device as well as external circuitry. The CP2102/9 will enter Suspend mode when Suspend signaling is detected on the bus. On entering Suspend mode, the CP2102/9 asserts the SUSPEND and SUSPEND signals. SUSPEND and SUSPEND are also asserted after a CP2102/9 reset until device configuration during USB Enumeration is complete. The CP2102/9 exits Suspend mode when any of the following occur: (1) Resume signaling is detected or generated, (2) a USB Reset signal is detected, or (3) a device reset occurs. On exit of Suspend mode, the SUSPEND and SUSPEND signals are de-asserted. Both SUSPEND and SUSPEND temporarily float high during a CP2102/9 reset. If this behavior is undesirable, a strong pulldown (10 k) can be used to ensure SUSPEND remains low during reset. See Figure 5 for other recommended options. VDD CP2102/9 7 C1 1.0 F R1 4.7 k C2 0.1 F 9 RST SUSPEND 6 C3 4.7 F C4 0.1 F 3 VDD SUSPEND 8 VBUS DD+ GND GND RI DCD VBUS DTR DSR 1 2 5 3 4 4 5 6 D1 D2 D- TXD D+ RXD RTS D3 Option 3 18 12 11 (to external circuitry for USB suspend states) R2 Option 4 10 k Option 2 USB CONNECTOR Option 1 REGIN CTS 2 1 28 27 External RS-232 transceiver or UART circuitry 26 25 24 23 VPP C5 4.7 F Option 5 Option 1: A 4.7 k pull-up resistor can be added to increase noise immunity. Option 2: A 4.7 µF capacitor can be added if powering other devices from the on-chip regulator. Option 3: Avalanche transient voltage suppression diodes should be added for ESD protection. Option 3: Use Littlefuse p/n SP0503BAHT or equivalent. Option 4: 10 k resistor to ground to hold SUSPEND low on initial power on or device reset. Option 5: A 4.7 µF capacitor can be added for in-system programming (CP2109 only). Figure 5. Typical Connection Diagram Rev. 1.6 15 CP2102/9 7. Asynchronous Serial Data Bus (UART) Interface The CP2102/9 UART interface consists of the TX (transmit) and RX (receive) data signals as well as the RTS, CTS, DSR, DTR, DCD, and RI control signals. The UART supports RTS/CTS, DSR/DTR, and X-On/X-Off handshaking. The UART is programmable to support a variety of data formats and baud rates. If the Virtual COM Port drivers are used, the data format and baud rate are set during COM port configuration on the PC. If the USBXpress drivers are used, the CP2102/9 is configured through the USBXpress API. The data formats and baud rates available are listed in Table 12. Table 12. Data Formats and Baud Rates Data Bits 5, 6, 7, and 8 Stop Bits 1, 1.51, and 2 Parity Type None, Even, Odd, Mark, Space Baud Rates2 300, 600, 1200, 1800, 2400, 4000, 4800, 7200, 9600, 14400, 16000, 19200, 28800, 38400, 51200, 56000, 57600, 64000, 76800, 115200, 128000, 153600, 230400, 250000, 256000, 460800, 500000, 576000, 9216003 Notes: 1. 5-bit only. 2. Additional baud rates are supported. See “AN721: CP210x/CP211x Device Customization Guide”. 3. 7 or 8 data bits only. 16 Rev. 1.6 CP2102/9 8. Internal Programmable ROM The CP2102 includes an internal electrically erasable programmable read-only memory (EEPROM), and the CP2109 includes an internal one-time programmable (OTP) erasable programmable read-only memory (EPROM). Either may be used to customize the USB Vendor ID (VID), Product ID (PID), Product Description String, Power Descriptor, Device Release Number and Device Serial Number as desired for OEM applications. If the EEPROM/ EPROM is not programmed with OEM data, the default configuration data shown in Table 13 is used. The EEPROM has a typical endurance of 100,000 write cycles with a data retention of 100 years. The EPROM can only be written one time and cannot be erased. While customization of the USB configuration data is optional, it is recommended to customize the VID/PID combination. A unique VID/PID combination will prevent the driver from conflicting with any other USB driver. A vendor ID can be obtained from http://www.usb.org/ or Silicon Laboratories can provide a free PID for the OEM product that can be used with the Silicon Laboratories VID. It is also recommended to customize the serial number if the OEM application is one in which it is possible for multiple CP2102/9-based devices to be connected to the same PC. The internal programmable ROM is programmed via the USB. This allows the OEM's USB configuration data and serial number to be written to the CP2102/9 on-board ROM during the manufacturing and testing process. A standalone utility for programming the internal programmable ROM is available from Silicon Laboratories. A library of routines provided in the form of a Windows® DLL is also available. This library can be used to integrate the programmable ROM programming step into custom software used by the OEM to streamline testing and serial number management during manufacturing. USB descriptors can be locked to prevent future modification on the CP2102. The CP2109 can be programmed insystem over the USB interface by adding a capacitor to the PCB. If configuration ROM is to be programmed insystem, a 4.7 μF capacitor must be added between the VPP pin and ground. No other circuitry should be connected to VPP during a programming operation, and VDD must remain at 3.3 V or higher to successfully write to the configuration ROM. Table 13. Default USB Configuration Data Name Value Vendor ID 10C4h Product ID EA60h Power Descriptor (Attributes) 80h Power Descriptor (Max. Power) 32h Release Number 0100h CP2102 Serial Number 0001 (63 characters maximum) CP2109 Serial Number Unique 8 character ASCII string (63 characters maximum) CP2102 Product Description String “CP2102 USB to UART Bridge Controller” (126 characters maximum) CP2109 Product Description String “CP2109 USB to UART Bridge Controller” (126 characters maximum) Rev. 1.6 17 CP2102/9 9. CP2102/9 Device Drivers There are two sets of device drivers available for the CP2102/9 devices: the Virtual COM Port (VCP) drivers and the USBXpress Direct Access drivers. Only one set of drivers is necessary to interface with the device. The latest drivers are available at http://www.silabs.com/support/Pages/software-downloads.aspx. 9.1. Virtual COM Port Drivers The CP2102/9 Virtual COM Port (VCP) device drivers allow a CP2102/9-based device to appear to the PC's application software as a COM port. Application software running on the PC accesses the CP2102/9-based device as it would access a standard hardware COM port. However, actual data transfer between the PC and the CP2102/ 9 device is performed over the USB interface. Therefore, existing COM port applications may be used to transfer data via the USB to the CP2102/9-based device without modifying the application. See “AN197: Serial Communications Guide for the CP210x” for Example Code for Interfacing to a CP2102/9 using the Virtual COM drivers. 9.2. USBXpress Drivers The Silicon Laboratories USBXpress drivers provide an alternate solution for interfacing with CP2102/9 devices. No Serial Port protocol expertise is required. Instead, a simple, high-level application program interface (API) is used to provide simpler CP210x connectivity and functionality. The USBXpress for CP210x Development Kit includes Windows device drivers, Windows device driver installer and uninstallers, and a host interface function library (host API) provided in the form of a Windows Dynamic Link Library (DLL). The USBXpress driver set is recommended for new products that also include new PC software. The USBXpress interface is described in “AN169: USBXpress® Programmer's Guide.” 9.3. Driver Customization In addition to customizing the device as described in "8. Internal Programmable ROM" on page 17, the drivers and the drivers installation package can be also be customized. See “AN220: USB Driver Customization” for more information on generating customized VCP and USBXpress drivers. 9.4. Driver Certification The default drivers that are shipped with the CP2102/9 are Microsoft WHQL (Windows Hardware Quality Labs) certified. The certification means that the drivers have been tested by Microsoft and their latest operating systems (2000, Server 2003, XP, Vista, 7, and 8) will allow the drivers to be installed without any warnings or errors. Some installations of Windows will prevent unsigned drivers from being installed at all. The customized drivers that are generated using the AN220 software are not automatically certified. They must first go through the Microsoft Driver Reseller Submission process. Contact Silicon Laboratories support for assistance with this process. 18 Rev. 1.6 CP2102/9 10. Voltage Regulator The CP2102/9 includes an on-chip 5 to 3 V voltage regulator. This allows the CP2102/9 to be configured as either a USB bus-powered device or a USB self-powered device. These configurations are shown in Figure 6, Figure 7, Figure 8, Figure 9, and Figure 10. When enabled, the 3 V voltage regulator output appears on the VDD pin and can be used to power external 3 V devices. See Table 6 for the voltage regulator electrical characteristics. Alternatively, if 3 V power is supplied to the VDD pin, the CP2102/9 can function as a USB self-powered device with the voltage regulator disabled. For this configuration, it is recommended that the REGIN input be tied to the 3 V net to disable the voltage regulator. In addition, if VDD or REGIN may be unpowered while VBUS is 5 V, a resistor divider (or functionally-equivalent circuit) shown in Note 1 of Figure 8 and Figure 10 is required to meet the absolute maximum voltage on VBUS specification in Table 2. The USB max power and power attributes descriptor must match the device power usage and configuration. See “AN721: CP210x/CP211x Device Customization Guide” for information on how to customize USB descriptors for the CP2102/9. Note: It is recommended to connect additional decoupling capacitance (e.g., 0.1 µF in parallel with 1.0 µF) to the REGIN input. CP2102/9 VBUS VBUS Sense From VBUS REGIN 1.0 F 5 V In 0.1 F Voltage Regulator (REG0) 3 V Out V DD To 3 V Power Net 4.7 F Device Power Net 0.1 F Figure 6. Configuration 1: USB Bus-Powered Rev. 1.6 19 CP2102/9 CP2102 VBUS From VBUS VBUS Sense REGIN From 5 V Power Net 1.0 F 5 V In 0.1 F Voltage Regulator (REG0) 3 V Out VDD To 3V Power Net 4.7 F Device Power Net 0.1 F Figure 7. CP2102 Configuration 2: USB Self-Powered CP2109 From VBUS 24 k Note 1 (Optional) VBUS 47 k VBUS Sense REGIN From 5 V Power Net 1.0 F 5 V In 0.1 F Voltage Regulator (REG0) 3 V Out VDD To 3V Power Net 4.7 F Device Power Net 0.1 F Note 1 : For self-powered systems where VDD or REGIN may be unpowered when VBUS is connected to 5 V, a resistor divider (or functionally-equivalent circuit) on VBUS is required to meet the absolute maximum voltage on VBUS specification in the Electrical Characteristics section. Figure 8. CP2109 Configuration 2: USB Self-Powered 20 Rev. 1.6 CP2102/9 CP2102 VBUS From VBUS VBUS Sense REGIN 1.0 F 5 V In 0.1 F Voltage Regulator (REG0) 3 V Out VDD From 3 V Power Net 4.7 F Device Power Net 0.1 F Figure 9. CP2102 Configuration 3: USB Self-Powered, Regulator Bypassed CP2109 From VBUS 24 k Note 1 (Optional) VBUS 47 k VBUS Sense REGIN 1.0 F 5 V In 0.1 F Voltage Regulator (REG0) 3 V Out VDD From 3 V Power Net 4.7 F Device Power Net 0.1 F Note 1 : For self-powered systems where VDD or REGIN may be unpowered when VBUS is connected to 5 V, a resistor divider (or functionally-equivalent circuit) on VBUS is required to meet the absolute maximum voltage on VBUS specification in the Electrical Characteristics section. Figure 10. CP2109 Configuration 3: USB Self-Powered, Regulator Bypassed Rev. 1.6 21 CP2102/9 11. Porting Considerations from CP2102 to CP2109 This section highlights the differences between the CP2102 and CP2109. These devices are designed to be pincompatible, and thus require very minor changes when porting hardware between devices. The CP2109 is an updated, cost-reduced version of the CP2102 with a one-time programmable ROM. 11.1. Pin-Compatibility The CP2109 is pin-compatible with the CP2102 with a single exception; the CP2109 requires an additional capacitor between VPP and GND for in-application programming. This capacitor is not required after the CP2109 EPROM has been successfully programmed or if the CP2109 does not need to be customized in system. 11.2. Distinguishing Factors The CP2102 has 1024 bytes of EEPROM for vendor ID (VID), product ID (PID), serial number, power descriptor, release number, and product description strings. This configuration EEPROM can be written and re-written multiple times. The CP2109 has 1024 bytes of one-time programmable EPROM for configuration. This configuration EPROM can only be written one time. The CP2109 may require an additional capacitor on VPP if in-application programming is desired. The CP2102 default serial number is always “0001”. Every CP2109 is programmed from the factory with a unique serial number. 11.3. Differences in Electrical Specifications Table 14 and Table 15 list differences in absolute maximum and electrical specifications between the CP2102 and CP2109. Refer to "3. Electrical Specifications" on page 6 for the comprehensive electrical specifications. Table 14. Differences in Absolute Maximum Specifications between CP2102 and CP2109 Parameter Symbol Voltage on any I/O Pin, VBUS, or RST with respect to GND, Maximum Test Condition CP2102 CP2109 Unit VDD > 3.0 V VDD not powered 5.8 5.8 5.8 VDD + 3.6 V Table 15. Differences in Electrical Specifications between CP2102 and CP2109 Parameter Symbol Test Condition CP2102 CP2109 Unit Supply Current—Normal, Typical IREGIN Normal Operation; VREG Enabled 20 17 mA Supply Current—Normal, Maximum IREGIN Normal Operation; VREG Enabled 26 23 mA Supply Current—Suspended, Typical IREGIN Bus Powered; VREG Enabled 80 90 µA Supply Current—Suspended, Maximum IREGIN Bus Powered; VREG Enabled 100 230 µA Output High Voltage, Minimum VOH IOH = –3 mA VDD – 0.7 VDD – 0.2 V Output High Voltage, Typical VOH IOH = –10 mA VDD – 0.8 VDD – 0.4 V Output Low Voltage, Maximum VOL IOL = 8.5 mA 0.6 0.4 V Output Low Voltage, Typical VOL IOL = 25 mA 1.0 0.6 V Input High Voltage, Minimum VIH 2.0 0.7 x VDD V Input Low Voltage, Maximum VIL 0.8 0.6 V 22 Rev. 1.6 CP2102/9 Table 15. Differences in Electrical Specifications between CP2102 and CP2109 (Continued) Parameter Symbol Test Condition CP2102 CP2109 Unit RST Input High Voltage, Minimum VIHRESET 0.7 x VDD 0.75 x VDD V RST Input Low Voltage, Maximum VILRESET 0.25 x VDD 0.6 V Regulator Input Voltage Range, Minimum VREGIN 4.0 3.0 V Regulator Output Voltage, Minimum VDDOUT Output Current = 1 to 100 mA* 3.0 3.3 V Regulator Output Voltage, Typical VDDOUT Output Current = 1 to 100 mA* 3.3 3.45 V VBUS Detection Input Threshold, Minimum VVBUSTH 1.0 2.5 V VBUS Detection Input Threshold, Typical VVBUSTH 1.8 — V VBUS Detection Input Threshold, Maximum VVBUSTH 2.9 — V Regulator Bias Current, Typical 90 83 µA Regulator Bias Current, Maximum — 99 µA Driving High Driving Low 38 38 36 36 Ω Voltage on VPP with respect to GND during a ROM programming operation, Minimum VDD > 3.3 V — 5.75 V Voltage on VPP with respect to GND during a ROM programming operation, Maximum VDD > 3.3 V — VDD + 3.6 V — 4.7 µF USB Transceiver Output Impedance, Typical ZDRV Capacitor on VPP for In-application Programming, Typical Rev. 1.6 23 CP2102/9 12. Relevant Application Notes The following application notes are applicable to the CP2102/9. The latest versions of these application notes and their accompanying software are available at: http://www.silabs.com/products/mcu/Pages/ApplicationNotes.aspx. AN169: USBXpress® Programmer's Guide—This application note describes the USBXpress API interface and includes example code. AN197: Serial Communications Guide for the CP210x—This application note describes how to use the standard Windows COM port function to communicate with the CP2102/9 and includes example code. AN220: USB Driver Customization—This application note describes how to use the AN220 software to customize the VCP or USBXpress drivers with OEM information. AN721: CP210x/CP211x Device Customization Guide—This application note describes how to use the AN721 software to configure the USB parameters on the CP2102/9 devices. 24 Rev. 1.6 CP2102/9 DOCUMENT CHANGE LIST Revision 1.0 to Revision 1.1 Updated “Linux 2.40” bullet on page 1. Changed MLP to QFN throughout. Revision 1.1 to Revision 1.2 Added additional supported operating systems on page 1. Changed VDD conditions of Tables 3 and 4 from a minimum of 2.7 to 3.0 V. Updated typical and max Supply Current number in Table 3. Removed tantalum requirement in Figure 5. Consolidated Sections 8 and 9. Added Section "12. Relevant Application Notes" on page 24. Revision 1.2 to Revision 1.3 Updated Figure 1 on page 1. Updated Figure 5 on page 15. Updated Maximum VBUS Detection Input Threshold in Table 6 on page 9. Revision 1.3 to Revision 1.4 Updated Table 4 RST Input Low Voltage Updated Table 10, Note 4. Updated Table 11, Note 10. supply current specs. Updated Section "10. Voltage Regulator" on page 19, changed AN144 to AN721. Added Section "11. Porting Considerations from CP2102 to CP2109" on page 22. Updated "11.2. Distinguishing Factors" on page 22. - Updated CP2102 default serial number to “0001”. Updated Section "12. Relevant Application Notes" on page 24. - Replaced AN144/AN205 with AN721. Revision 1.5 to Revision 1.6 Added mention of VBUS in Table 2, “Absolute Maximum Ratings,” on page 6 and split out port I/O maximums for CP2102 and CP2109. Added VPP voltage specifications to Table 8, “EPROM Electrical Characteristics,” on page 10. Updated "10. Voltage Regulator" on page 19 to add CP2109 absolute maximum voltage on VBUS requirements in self-powered systems. Updated "11.3. Differences in Electrical Specifications" on page 22 to include the new or modified specifications. Revision 1.4 to Revision 1.5 Updated Table 6, added CP2109. Added Table 7. Added Table 8. Updated Table 9. - Updated pin 18 spec, Note 1, Note 2. Updated Figure 2, added CP2109, pin 18. Updated Section "6. USB Function Controller and Transceiver" on page 15, added CP2109. Updated Figure 5, added CP2109, Option 5. Updated Section "8. Internal Programmable ROM" on page 17, added CP2109. Updated Table 12. - Updated Note 2 app note reference. Updated Table 13. - Added CP2109. Updated Table 15. - Updated normal maximum and suspended maximum Added CP2109. Updated Single-Chip USB to UART Data Transfer bullet on page 1. Added CP2109 to Ordering Part Numbers on page 1. Updated Section "1. System Overview" on page 4. Updated Figure 1. Added Section "2. Ordering Information" on page 5. Added Symbol columns to Tables in Section "3. Electrical Specifications" on page 6. Updated Table 3. - Added CP2109, Note 1, Note 2. - Updated thermal resistance spec. - Updated normal supply current spec. Updated Table 4, added CP2109, added Baud Rate. Updated Table 5, added CP2109, added VDD Ramp Time. Moved Table 6. Rev. 1.6 25 CP2102/9 CONTACT INFORMATION Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 Tel: 1+(512) 416-8500 Fax: 1+(512) 416-9669 Toll Free: 1+(877) 444-3032 Please visit the Silicon Labs Technical Support web page: https://www.silabs.com/support/pages/contacttechnicalsupport.aspx and register to submit a technical support request. Patent Notice Silicon Labs invests in research and development to help our customers differentiate in the market with innovative low-power, small size, analogintensive mixed-signal solutions. Silicon Labs' extensive patent portfolio is a testament to our unique approach and world-class engineering team. The information in this document is believed to be accurate in all respects at the time of publication but is subject to change without notice. Silicon Laboratories assumes no responsibility for errors and omissions, and disclaims responsibility for any consequences resulting from the use of information included herein. Additionally, Silicon Laboratories assumes no responsibility for the functioning of undescribed features or parameters. Silicon Laboratories reserves the right to make changes without further notice. Silicon Laboratories makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Silicon Laboratories 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 consequential or incidental damages. Silicon Laboratories products are not designed, intended, or authorized for use in applications intended to support or sustain life, or for any other application in which the failure of the Silicon Laboratories product could create a situation where personal injury or death may occur. Should Buyer purchase or use Silicon Laboratories products for any such unintended or unauthorized application, Buyer shall indemnify and hold Silicon Laboratories harmless against all claims and damages. Silicon Laboratories and Silicon Labs are trademarks of Silicon Laboratories Inc. Other products or brandnames mentioned herein are trademarks or registered trademarks of their respective holders. 26 Rev. 1.6