文档库 最新最全的文档下载
当前位置:文档库 › CP2102

CP2102

Rev. 1.2 3/07Copyright ? 2007 by Silicon Laboratories

CP2102

CP2102

S INGLE -C HIP USB TO UART B RIDGE

Single-Chip USB to UART Data Transfer

-Integrated USB transceiver; no external resistors

required

-Integrated clock; no external crystal required

-Integrated 1024-Byte EEPROM for vendor ID, product ID, serial number, power descriptor, release number, and product description strings -On-chip power-on reset circuit

-On-chip voltage regulator: 3.3V output

-100% pin and software compatible with CP2101

USB Function Controller

-USB Specification 2.0 compliant; full-speed (12Mbps)-USB suspend states supported via SUSPEND pins Asynchronous Serial Data BUS (UART)

-All handshaking and modem interface signals -Data formats supported:

-Data bits: 5, 6, 7, and 8-Stop bits: 1, 1.5, and 2

-Parity: odd, even, mark, space, no parity -Baud rates: 300bps to 1Mbits

-576 Byte receive buffer; 640 byte transmit buffer -Hardware or X-On/X-Off handshaking supported -Event character support -

Line break transmission

Virtual COM Port Device Drivers

-Works with Existing COM Port PC Applications -Royalty-Free Distribution License

-Windows Vista/XP/Server 2003/2000/98SE -Mac OS-X / OS-9-Linux USBXpress? Direct Driver Support

-Royalty-Free Distribution License -Windows Vista/XP/Server 2003/2000-Windows CE 5.0 and 4.2Example Applications

-Upgrade of RS-232 legacy devices to USB -Cellular phone USB interface cable -PDA USB interface cable -USB to RS-232 serial adapter Supply Voltage

-Self-powered: 3.0 to 3.6V

-USB bus powered: 4.0 to 5.25V Package

-Lead free 28-pin QFN (5 x 5 mm)Ordering Part Number

-CP2102-GM

Temperature Range: –40 to +85°C

Figure 1.Example System Diagram

CP2102

2Rev.

1.2

N OTES:

CP2102

Rev. 1.2

3

T ABLE OF C ONTENTS

Section

Page

1. System Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4

2. Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4

3. Global DC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5

4. Pinout and Package Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6

5. USB Function Controller and Transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11

6. Asynchronous Serial Data Bus (UART) Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12

7. Internal EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12

8. CP2101 Device Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13

8.1. Virtual COM Port Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138.2. USBXpress Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138.3. Driver Customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138.4. Driver Certification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139. Voltage Regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1410. Relevant Application Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16Document Change List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17Contact Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18

CP2102

4Rev.

1.2

1. System Overview

The CP2102 is a highly-integrated USB-to-UART Bridge Controller providing a simple solution for updating RS-232 designs to USB using a minimum of components and PCB space. The CP2102 includes a USB 2.0 full-speed function controller, USB transceiver, oscillator, EEPROM, and asynchronous serial data bus (UART) with full modem control signals in a compact 5 x 5mm QFN-28 package. No other external USB components are required. The on-chip EEPROM 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 EEPROM 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-based product to appear as a COM port to PC applications. The CP2102 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 RS-232 level-translator with the CP2102. Direct access driver support is available through the Silicon Laboratories USBXpress driver set.

An evaluation kit for the CP2102 (Part Number: CP2102EK) is available. It includes a CP2102-based USB-to-UART/RS-232 evaluation board, a complete set of VCP device drivers, USB and RS-232 cables, and full documentation. Contact a Silicon Labs’ sales representatives or go to https://www.wendangku.net/doc/bd5002247.html, to order the CP2102 Evaluation Kit.

2. Absolute Maximum Ratings

Table1.Absolute Maximum Ratings

Parameter Conditions Min Typ Max Units Ambient temperature under bias–55—125°C Storage Temperature–65—150°C Voltage on any I/O Pin or RST with respect to GND–0.3— 5.8V Voltage on V DD with respect to GND–0.3— 4.2V Maximum Total current through V DD and GND——500mA Maximum output current sunk by RST or any I/O pin——100mA Note:Stresses above those listed may cause permanent damage to the device. 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.

CP2102

Rev. 1.2

5

3. Global DC Electrical Characteristics

Table 2.Global DC Electrical Characteristics

V DD =3.0 to 3.6V, –40 to +85 °C unless otherwise specified.

Parameter

Conditions Min Typ Max Units Supply Voltage 3.0 3.3 3.6V Supply Current 1Normal Operation; V REG Enabled —2026mA Supply Current 1

Suspended:V REG Enabled

—80100μA Supply Current - USB Pull-up 2

—200228μA Specified Operating Temperature Range

–40

+85

°C

Notes:

1. USB Pull-up Current should be added for total supply current.

2. The USB Pull-up supply current values are calculated values based on USB specifications.

Table 3.UART and Suspend I/O DC Electrical Characteristics

V DD =3.0 to 3.6V, –40 to +85°C unless otherwise specified.

Parameters

Conditions Min Typ Max UNITS Output High Voltage

I OH =–3mA I OH =–10μA I OH =–10mA V DD –0.7V DD –0.1

——V DD –0.8———V

Output Low Voltage

I OL =8.5mA I OL =10μA I OL =25mA

—————1.00.60.1—V Input High Voltage 2.0——V Input Low Voltage ——0.8V Input Leakage Current

25

50

μA

Table 4.Reset Electrical Characteristics

–40 to +85 °C unless otherwise specified.

Parameter

Conditions Min Typ Max Units RST Input High Voltage 0.7 x V DD

——V RST Input Low Voltage

——0.3 x V DD

V Minimum RST Low Time to Gen-erate a System Reset

15

μs

CP2102

6Rev.

1.2

4. Pinout and Package Definitions

Table 5. CP2102 Pin Definitions Name Pin #Type Description

V DD6Power In

Power Out 3.0–3.6V Power Supply Voltage Input.

3.3V Voltage Regulator Output. See Section 9.

GND3Ground

RST9 D I/O Device Reset. Open-drain output of internal POR or V DD monitor. An

external source can initiate a system reset by driving this pin low for

at least 15μs.

REGIN7Power In5V Regulator Input. This pin is the input to the on-chip voltage regu-

lator.

VBUS8 D In VBUS Sense Input. This pin should be connected to the VBUS sig-

nal of a USB network. A 5V signal on this pin indicates a USB net-

work connection.

D+4 D I/O USB D+

D–5 D I/O USB D–

TXD26 D Out Asynchronous data output (UART Transmit)

RXD25 D In Asynchronous data input (UART Receive)

CTS23* D In Clear To Send control input (active low)

RTS24* D Out Ready to Send control output (active low)

DSR27* D in Data Set Ready control input (active low)

DTR28* D Out Data Terminal Ready control output (active low)

DCD1* D In Data Carrier Detect control input (active low)

RI2* D In Ring Indicator control input (active low)

SUSPEND12* D Out This pin is driven high when the CP2102 enters the USB suspend

state.

SUSPEND11* D Out This pin is driven low when the CP2102 enters the USB suspend

state.

NC10, 13–22These pins should be left unconnected or tied to V DD.

*Note:Pins can be left unconnected when not used.

CP2102

Rev. 1.2

7

Figure 2.QFN-28 Pinout Diagram (Top View)

CP2102

8Rev.

1.2

Table 6. QFN-28 Package

Dimensions

MM

MIN TYP MAX A0.800.90 1.00 A100.020.05 A200.65 1.00 A3—0.25—b0.180.230.30 D— 5.00—D2 2.90 3.15 3.35 E— 5.00—E2 2.90 3.15 3.35 e—0.5—L0.450.550.65 N—28—ND—7—NE—7—R0.09——AA—0.435—BB—0.435—CC—0.18—DD—0.18—

CP2102

Rev. 1.2

9

Figure 4.Typical QFN-28 Landing Diagram

CP2102

10

Rev. 1.2

Figure5.Typical QFN-28 Solder Paste Diagram

CP2102

Rev. 1.2

11

5. USB Function Controller and Transceiver

The Universal Serial Bus function controller in the CP2102 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 device as well as external circuitry. The CP2102 will enter Suspend mode when Suspend signaling is detected on the bus. On entering Suspend mode, the CP2102 asserts the SUSPEND and SUSPEND signals. SUSPEND and SUSPEND are also asserted after a CP2102 reset until device configuration during USB Enumeration is complete.

The CP2102 exits the 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 reset. If this behavior is undesirable, a strong pulldown (10k ?) can be used to ensure SUSPEND remains low during reset. See Figure 6 for other recommended options.

Figure 6.Typical Connection Diagram

CP2102

12

Rev. 1.2

6. Asynchronous Serial Data Bus (UART) Interface

The CP2102 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 is configured through the USBXpress API. The data formats and baud rates available are listed in Table 7.

7. Internal EEPROM

The CP2102 includes an internal EEPROM that 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 is not programmed with OEM data, the default configuration data shown in Table 8 is used.

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 https://www.wendangku.net/doc/bd5002247.html,/ 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-based devices to be connected to the same PC.

The internal EEPROM is programmed via the USB. This allows the OEM's USB configuration data and serial number to be written to the CP2102 on-board during the manufacturing and testing process. A stand-alone utility for programming the internal EEPROM 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 EEPROM programming step into custom software used by the OEM to streamline testing and serial number management during manufacturing.The EEPROM has a typical endurance of 100,000 write cycles with a data retention of 100 https://www.wendangku.net/doc/bd5002247.html,B descriptors can be locked to prevent future modification.

Table 7. Data Formats and Baud Rates

Data Bits 5, 6, 7, and 8Stop Bits 1, 1.51, and 2

Parity Type

None, Even, Odd, Mark, Space

Baud Rates 2300, 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:

3. 5-bit only.

4. Additional baud rates are supported. See “AN205”.

5. 7 or 8 data bits only.

CP2102

Rev. 1.2

13

8. CP2102 Device Drivers

There are two sets of device drivers available for the CP2102 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 https://www.wendangku.net/doc/bd5002247.html,/products/microcontroller/downloads.asp .

8.1. Virtual COM Port Drivers

The CP2102 Virtual COM Port (VCP) device drivers allow a CP2102-based device to appear to the PC's application software as a COM port. Application software running on the PC accesses the CP2102-based device as it would access a standard hardware COM port. However, actual data transfer between the PC and the CP2102device is performed over the USB interface. Therefore, existing COM port applications may be used to transfer data via the USB to the CP2102-based device without modifying the application. See Application Note “AN197:Serial Communications Guide for the CP210x” for Example Code for Interfacing to a CP2102 using the Virtual COM drivers.

8.2. USBXpress Drivers

The Silicon Laboratories USBXpress drivers provide an alternate solution for interfacing with CP2102 devices. No Serial Port protocol expertise is required. Instead, a simple, high-level application program interface (API) is used to provide simpler CP201x 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 Application Note “AN169: USBXpress Programmer's Guide.”

8.3. Driver Customization

In addition to customizing the device as described in Section 7, the drivers and the drivers installation package can be also be customized. See Application Note “AN220: USB Driver Customization” for more information on generating customized VCP and USBXpress drivers.

8.4. Driver Certification

The default drivers that are shipped with the CP2102 are Microsoft WHQL (Windows Hardware Quality Labs)certified. The certification means that the drivers have been tested by Microsoft and their latest operating systems (XP and Vista) will allow the drivers to be installed without any warnings or errors.

The customized drivers that are generated using the AN220 software are not automatically certified. They must go first through the Microsoft Driver Reseller Submission process. Contact Silicon Laboratories support for assistance with this process.

Table 8. Default USB Configuration Data

Name

Value

Vendor ID 10C4h Product ID

EA60h Power Descriptor (Attributes)80h

Power Descriptor (Max. Power)

32h Release Number 0100h

Serial Number

0001 (63 characters maximum)

Product Description String

“CP2102 USB to UART Bridge Controller” (126 characters maximum)

CP2102

14

Rev. 1.2

9. Voltage Regulator

The CP2102 includes an on-chip 5 to 3V voltage regulator. This allows the CP2102 to be configured as either a USB bus-powered device or a USB self-powered device. These configurations are shown in Figure 7 and Figure 8.When enabled, the 3V voltage regulator output appears on the V DD pin and can be used to power external 3V devices. See Table 9 for the voltage regulator electrical characteristics.

Alternatively, if 3V power is supplied to the V DD pin, the CP2102 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 3V net to disable the voltage regulator. This configuration is shown in Figure 9.

The USB max power and power attributes descriptor must match the device power usage and configuration. See application note “AN144: CP210x Customization Guide” for information on how to customize USB descriptors for the CP2102.

Note:It is recommended that additional decoupling capacitance (e.g., 0.1μF in parallel with 1.0μF) be provided on the REGIN

input.

Figure 7.Configuration 1: USB Bus-Powered

Table 9.Voltage Regulator Electrical Specifications

–40 to +85°C unless otherwise specified.

Parameter

Conditions

Min Typ Max Units Input Voltage Range 4.0— 5.25V Output Voltage

Output Current =1 to 100mA*

3.0 3.3 3.6V VBUS Detection Input Threshold 1.0 1.8

4.0V Bias Current

90

μA

*Note: The maximum regulator supply current is 100mA.

CP2102

Rev. 1.2

15

Figure 8.Configuration 2: USB Self-Powered

Figure 9.Configuration 3: USB Self-Powered, Regulator Bypassed

CP2102

16

Rev. 1.2

10. Relevant Application Notes

The following Application Notes are applicable to the CP2102. The latest versions of these application notes and their accompanying software are available at:

https://www.wendangku.net/doc/bd5002247.html,/products/microcontroller/applications.asp.

AN144: CP210x Device Customization Guide. This application note describes how to use the AN144 software to configure the USB parameters on the CP2102 devices.

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 and includes example code.

AN205: CP210x Baud Rate Support. This application note describes how to use the AN205 software to configure the Baud Rate aliasing feature on the CP2102 devices.

AN220: USB Driver Customization. This application note describes how to use the AN220 software to customize the VCP or USBXpress drivers with OEM information.

CP2102

Rev. 1.2

17

D OCUMENT C HANG

E L IST

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 2 and 3 from a minimum of 2.7 to 3.0V. Updated typical and max Supply Current number in Table 2. Removed tantalum requirement in Figure 6. Consolidated Sections 8 and 9.

Added Section "10. Relevant Application Notes" on page 16.

CP2102

18

Rev. 1.2

C ONTACT I NFORMATION

Silicon Laboratories Inc.400 West Cesar Chavez Austin, TX 78701

Tel: 1+(512) 416-8500Fax: 1+(512) 416-9669

Toll Free: 1+(877) 444-3032Email: MCUtools@https://www.wendangku.net/doc/bd5002247.html, Internet: https://www.wendangku.net/doc/bd5002247.html,

Silicon Laboratories, Silicon Labs, and USBXpress are trademarks of Silicon Laboratories Inc.

Other products or brandnames mentioned herein are trademarks or registered trademarks of their respective holders.

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 fea-tures 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 intend-ed 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.

This datasheet has been downloaded from:

https://www.wendangku.net/doc/bd5002247.html,

Free Download

Daily Updated Database

100% Free Datasheet Search Site

100% Free IC Replacement Search Site

Convenient Electronic Dictionary

Fast Search System

https://www.wendangku.net/doc/bd5002247.html,

All Datasheets Cannot Be Modified Without Permission

Copyright ? Each Manufacturing Company

相关文档
相关文档 最新文档