1、CP2102Figure 1. Example System DiagramRev. 1.0 10/04 Copyright 2004 by Silicon Laboratories CP2102SINGLE-CHIP USB TO UART BRIDGESingle-Chip USB to UART Data Transfernull Integrated USB transceiver; no external resistors requirednull Integrated clock; no external crystal requirednull Integrated 1024-
2、Byte EEPROM for vendor ID, product ID, serial number, power descriptor, release number, and product description stringsnull On-chip power-on reset circuitnull On-chip voltage regulator: 3.3 V outputnull 100% pin and software compatible with CP2101USB Function Controllernull USB Specification 2.0 com
3、pliant; full-speed (12 Mbps)null USB suspend states supported via SUSPEND pinsAsynchronous Serial Data BUS (UART)null All handshaking and modem interface signalsnull Data formats supported: - Data bits: 5, 6, 7, and 8- Stop bits: 1, 1.5, and 2- Parity: odd, even, mark, space, no paritynull Baud rate
4、s: 300 bps to 1 Mbitsnull 576 Byte receive buffer; 640 byte transmit buffernull Hardware or X-On/X-Off handshaking supportednull Event character support null Line break transmissionVirtual COM Port Device Driversnull Works with existing COM Port PC applicationsnull Royalty-free distribution licensen
5、ull Windows 98 SE/2000/XPnull MAC OS-9null MAC OS-Xnull Linux 2.40 and greaterUSBXpress Direct Driver SupportExample Applicationsnull Upgrade of RS-232 legacy devices to USBnull Cellular phone USB interface cablenull PDA USB interface cablenull USB to RS-232 serial adapterSupply Voltagenull Self-pow
6、ered: 3.0 to 3.6 Vnull USB bus powered: 4.0 to 5.25 VPackagenull Lead free 28-pin MLP (5 x 5 mm)Ordering Part Numbernull CP2102-GMTemperature Range: 40 to +85 CCP21023.3 VVoltageRegulator48 MHz OscillatorINOUTSUSPENDSUSPEND1112REGIN7GND3RST9D+4D-58UARTRIDCDCTSRTSRXDTXDDSRDTR2128272625242323External
7、RS-232 transceiver or UART circuitry(to external circuitry for USB suspend states)VBUSD-D+GND456USB CONNECTOR61VDDVBUSUSB FunctionControllerUSBTransceiver640B TX Buffer576B RX Buffer1024B EEPROMVDDD1 D2 D3CP21022 Rev. 1.0CP2102TABLE OF CONTENTSSection Page1. System Overview . . . . . . . . . . . . .
8、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42. Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53. Global DC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . .
9、 . . . . . . . . . . . . . . . . .54. Pinout and Package Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65. USB Function Controller and Transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116. Asynchronous Serial Da
10、ta Bus (UART) Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .127. Internal EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .128. Virtual Com Port Device Drivers . . . . . . . . . . . . . . . . . . . . . . . .
11、. . . . . . . . . . . . . . . . . . . .139. USBXpress Direct Driver Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1310. Voltage Regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13Contac
12、t Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16Rev. 1.0 3CP21021. System OverviewThe CP2102 is a highly-integrated USB-to-UART Bridge Controller providing a simple solution for updating RS-232designs to USB using a minim
13、um of components and PCB space. The CP2102 includes a USB 2.0 full-speedfunction controller, USB transceiver, oscillator, EEPROM, and asynchronous serial data bus (UART) with fullmodem control signals in a compact 5 x 5 mm MLP-28 package. No other external USB components are required.The on-chip EEP
14、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. TheEEPROM is programmed on-board via the USB allowing the programming step to be easily integrated into theproduct
15、 manufacturing and testing process.Royalty-free Virtual COM Port (VCP) device drivers provided by Silicon Laboratories allow a CP2102-basedproduct to appear as a COM port to PC applications. The CP2102 UART interface implements all RS-232 signals,including control and handshaking signals, so existin
16、g system firmware does not need to be modified. In manyexisting RS-232 designs, all that is required to update the design from RS-232 to USB is to replace the RS-232level-translator with the CP2102.An evaluation kit for the CP2102 (Part Number: CP2102EK) is available. It includes a CP2102-based USB-
17、to-UART/RS-232 evaluation board, a complete set of VCP device drivers, USB and RS-232 cables, and fulldocumentation. Contact a Silicon Labs sales representatives or go to to order the CP2102Evaluation Kit.4 Rev. 1.0CP21022. Absolute Maximum Ratings3. Global DC Electrical CharacteristicsTable 1. Abs
18、olute Maximum RatingsParameter Conditions Min Typ Max UnitsAmbient temperature under bias 55 125 CStorage Temperature 65 150 CVoltage on any I/O Pin or RST with respect to GND 0.3 5.8 VVoltage on VDDwith respect to GND 0.3 4.2 VMaximum Total current through VDDand GND 500 mAMaximum output current su
19、nk by RST or any I/O pin 100 mANote: 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 c
20、onditions for extended periods may affect device reliability.Table 2. Global DC Electrical CharacteristicsVDD= 2.7 to 3.6 V, 40 to +85 C unless otherwise specified.Parameter Conditions Min Typ Max UnitsSupply Voltage 3.0 3.3 3.6 VSupply Current VDD= 3.3 V 26 mASupply Current in Suspend VDD= 3.3 V 33
21、0 ASpecified Operating Temperature Range 40 +85 CTable 3. UART and Suspend I/O DC Electrical CharacteristicsVDD= 2.7 to 3.6 V, 40 to +85 C unless otherwise specified.Parameters Conditions Min Typ Max UNITSOutput High Voltage IOH=3mAIOH=10AIOH=10mAVDD 0.7VDD 0.1VDD 0.8VOutput Low Voltage IOL=8.5mAIOL
22、=10AIOL=25mA1.00.60.1VInput High Voltage 2.0 VInput Low Voltage 0.8 VInput Leakage Current 25 50 ARev. 1.0 5CP21024. Pinout and Package DefinitionsTable 4. CP2102 Pin DefinitionsName Pin # Type DescriptionVDD6 Power InPower Out3.03.6 V Power Supply Voltage Input.3.3 V Voltage Regulator Output. See S
23、ection 10.GND 3 GroundRST 9 D I/O Device Reset. Open-drain output of internal POR or VDDmonitor. 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 reg-ulator. VBUS 8 D In VBUS Se
24、nse Input. This pin should be connected to the VBUS sig-nal of a USB network. A 5 V signal on this pin indicates a USB net-work connection.D+ 4 D I/O USB D+D 5 D I/O USB DTXD 26 D Out Asynchronous data output (UART Transmit)RXD 25 D In Asynchronous data input (UART Receive)CTS 23* D In Clear To Send
25、 control input (active low)RTS 24* D Out Ready to Send control output (active low)DSR 27* D in Data Set Ready control input (active low)DTR 28* D Out Data Terminal Ready control output (active low)DCD 1* D In Data Carrier Detect control input (active low)RI 2* D In Ring Indicator control input (acti
26、ve low)SUSPEND 12* D Out This pin is driven high when the CP2102 enters the USB suspend state.SUSPEND 11* D Out This pin is driven low when the CP2102 enters the USB suspend state.NC 10, 1322 These pins should be left unconnected or tied to VDD.*Note: Pins can be left unconnected when not used.6 Rev
27、. 1.0CP2102Figure 2. MLP-28 Pinout Diagram (Top View)456721311 12 13 1498101817161520211925262728 23 2224CP2102Top ViewDCDRIGNDD+D-VDDREGINVBUSRSTNCSUSPENDSUSPENDNC NCNCNCNCNCNCNCNCNCCTSRTSRXDTXDDSRDTRGNDGNDRev. 1.0 7CP2102Figure 3. MLP-28 Package DrawingTable 5. MLP-28 Package DimensionsMMMIN TYP M
28、AXA 0.80 0.90 1.00A1 0 0.02 0.05A2 0 0.65 1.00A3 0.25 b 0.18 0.23 0.30D 5.00 D2 2.90 3.15 3.35E 5.00 E2 2.90 3.15 3.35e0.5L 0.45 0.55 0.65N28ND 7 NE 7 R0.09 AA 0.435 BB 0.435 CC 0.18 DD 0.18 1EDA2AA1eA3E2ReLBottom ViewSide View2345678 910 12 13 1421201917161528 27 26 24 23 22E2252D21118D226 x e6 x e
29、DETAIL 1DETAIL 1AABBCCDDb8 Rev. 1.0CP2102Figure 4. Typical MLP-28 Landing DiagramOptional GND ConnectionbL0.50 mm0.30 mm0.10 mm0.20 mm0.85 mm0.35 mmeED0.50mm0.30mm0.10mm0.20mm0.85 mm0.35mmTop ViewE2D20.20mm0.20 mm0.50mm0.50 mmRev. 1.0 9CP2102Figure 5. Typical MLP-28 Solder Paste DiagrambL0.50 mm0.30
30、 mm0.10 mm0.20 mm0.85 mm0.35 mmeED0.50mm0.30mm0.10mm0.20mm0.85 mm0.35 mmTop ViewE2D20.20mm0.20 mm0.50mm0.50 mm0.30 mm0.20 mm0.60 mm0.40 mm0.70 mm0.60 mm10 Rev. 1.0CP21025. USB Function Controller and TransceiverThe Universal Serial Bus function controller in the CP2102 is a USB 2.0 compliant full-sp
31、eed device with integratedtransceiver and on-chip matching and pull-up resistors. The USB function controller manages all data transfersbetween the USB and the UART as well as command requests generated by the USB host controller andcommands for controlling the function of the UART. The USB Suspend
32、and Resume signals are supported for power management of both the CP2102 device as wellas external circuitry. The CP2102 will enter Suspend mode when Suspend signaling is detected on the bus. Onentering Suspend mode, the CP2102 asserts the SUSPEND and SUSPEND signals. SUSPEND and SUSPENDare also ass
33、erted 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 orgenerated, (2) a USB Reset signal is detected, or (3) a device reset occurs. On exit of Suspend mode, theSUSP
34、END and SUSPEND signals are de-asserted.Both SUSPEND and SUSPEND temporarily float high during a CP2102 reset. If this behavior is undesirable, astrong pulldown (10 k) can be used to ensure SUSPEND remains low during reset. See Figure 6 for otherrecommended options.Figure 6. Typical Connection Diagr
35、amOption 1: A 4.7 k pull-up resistor can be added to increase noise immunity.Option 2: A 4.7 F tantalum 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/
36、n SP0503BAHT or equivalent.Option 4: 10 k resistor to ground to hold SUSPEND low on initial power on or device reset.1CP2102SUSPENDSUSPEND1112REGIN7GND3RST9D+4D-58C20.1 FC11 FRIDCDCTSRTSRXDTXDDSRDTR2128272625242323External RS-232 transceiver or UART circuitry(to external circuitry for USB suspend st
37、ates)VBUSD-D+GND456USB CONNECTOR6VDDVBUSVDDR14.7 kD1 D2 D3Option 1R210 kOption 4Option 3C44.7 FTANTOption 2Rev. 1.0 11CP21026. Asynchronous Serial Data Bus (UART) InterfaceThe CP2102 UART interface consists of the TX (transmit) and RX (receive) data signals as well as the RTS, CTS,DSR, DTR, DCD, and
38、 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. The data format and baud rateprogrammed into the UART is set during COM port configuration on the PC. The data formats and baud ratesavail
39、able are listed in Table 6.7. Internal EEPROMThe CP2102 includes an internal EEPROM that 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 forOEM applications. Customization of the USB confi
40、guration data is optional. If the EEPROM is not programmedwith OEM data, the default configuration data shown in Table 7 is used. However, a unique serial number isrequired for OEM applications in which it is possible for multiple CP2102-based devices to be connected to thesame PC.The internal EEPRO
41、M is programmed via the USB. This allows the OEMs USB configuration data and serialnumber to be written to the CP2102 on-board during the manufacturing and testing process. A stand-alone utilityfor programming the internal EEPROM is available from Silicon Laboratories. A library of routines provided
42、 in theform of a WindowsDLL is also available. This library can be used to integrate the EEPROM programming stepinto 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 retentio
43、n of 100 years.USB descriptors can be locked to prevent future modification.Table 6. Data Formats and Baud RatesData Bits 5, 6, 7, and 8Stop Bits1, 1.51, and 2Parity Type None, Even, Odd, Mark, SpaceBaud Rates2300, 600, 1200, 1800, 2400, 4000, 4800, 7200, 9600, 14400, 16000, 19200, 28800, 38400, 512
44、00, 56000, 57600, 64000, 76800, 115200, 128000, 153600, 230400, 250000, 256000, 460800, 500000, 576000, 9216003Notes:1. 5-bit only.2. Additional baud rates are supported. See “AN205”.3. 7 or 8 data bits only.Table 7. Default USB Configuration DataName ValueVendor ID 10C4hProduct ID EA60hPower Descri
45、ptor (Attributes) 80hPower Descriptor (Max. Power)32hRelease Number 0100hSerial Number 0001 (63 characters maximum)Product Description String “CP2102 USB to UART Bridge Controller” (126 characters maximum)12 Rev. 1.0CP21028. Virtual Com Port Device DriversThe CP210x Virtual COM Port (VCP) device dri
46、vers allow a CP2102-based device to appear to the PCsapplication software as an additional COM port (in addition to any existing hardware COM ports). Applicationsoftware running on the PC accesses the CP2102-based device as it would access a standard hardware COMport. However, actual data transfer b
47、etween the PC and the CP2102 device is performed over the USB. Therefore,existing COM port applications may be used to transfer data via the USB to the CP2102-based device withoutmodifying the application. Contact Silicon Laboratories for the latest list of supported operating systems.Note: Silicon
48、Laboratories VCP device drivers are required for device operation and are only distributed as part of the CP2102Evaluation Kit (Part Number: CP2102EK). Contact any of Silicon Labs sales representatives or go to toorder the CP2102 Evaluation Kit. The CP210x drivers and programming utilities are subj
49、ect to change without notice.Subscription to the website “Auto Email Alert“ system for automatic notification of updates and the use of the “ProductUpdate Registration“ service is recommended.9. USBXpress Direct Driver SupportThe Silicon Laboratories USBXpress for CP210x Development Kit provides an alternate solution for interfacingwith CP210x devices than using the Virtual COM port. No Serial Port protocol expertise is required. Instea