Application notes can be found on the Interface Application Notes page for all fixed-function devices:
www.silabs.com/interface-appnotes.
AN721: CP210x/CP211x Device Customization Guide — Customize the VID, PID, serial number, and
other parameters stored in the CP2102 EPROM.
AN197: Serial Communicat ions Guide for CP210x — Programming guide for using the Virtual COM Port
(VCP) drivers.
AN169: USBXpress Programmer’s Guide — Programming guide for using the USBXpress drivers.
AN220: C8051F32x and CP210x USB Driver Customization — VCP or USBXpress driver customization
tool.
AN571: CP210x Virtual COM Port Interface — USB interface details for CP210x devices.
3. Software Setup
The Software Development Kit (SDK) for the CP2102 kit is included on the kit DVD. The latest version of this
installer can also be downloaded from the www.silabs.com/interface-software website. This package includes:
Device Customization Utility (AN721)
Documentation — data sheet, application notes, user’s guide, quick start guide, etc.
CP210x Virtual COM Port (VCP) Drivers
Software — Driver Customization Utility (AN220) and programming examples
The Windows installer should launch automatically after inserting the DVD. For Mac and Linux, browse to the
appropriate directory on the DVD to install the software package. Follow the instructions to install the SDK and
drivers to the system.
3.1. USBXpress Driver Development Kit
The Silicon Laboratories USBXpress® Development Kit provides a complete host software solution for interfacing to
CP210x devices. No USB protocol or host device driver e xpertise is req uired. Instead, a simple, high-level Applica tion
Program Interface (API) for the host software is used to provide complete USB connectivity. The USBXpress
Development Kit includes Windows device drivers, Windows device driver installer, host interface function library
(host API) provided in the form of a Windows Dynamic Link Library (DLL ). See Application Note AN169, “USBXpress
Programmer’s Guide” for detailed information on using the USBXpress drivers.
The USBXpress drivers are available here: www.silabs.com/usbxpress.
Click the USBXpress Development Kit link in the Download for Windows 2000/XP/Server 2003/Vista/Win7 section
to download the USBXpress drivers. Run the installer and follow the steps to install the software to the desired
location. The default installation directory is C:\SiLabs\MCU\USBXpress_SDK.
Further installation instructions for the WinCE drivers can be found in the ReadMe.txt file contained inside the
driver package.
The evaluation board is connected to a PC as shown in Figure 1.
1. Connect one end of the USB cable to a USB Port on the PC.
2. Connect the other end of the USB cable to the USB connector on the
3. Connect one end of the RS232 serial cable to the DB-9 connector on the
4. Connect the other end of the RS232 serial cable to the target serial device.
CP2102 evaluation board.
CP2102 evaluation board
.
Figure 1. Hardware Setup
2Rev. 0.5
Page 3
CP2102-EK
5. CP2102 Software Interface
If the Virtual COM Port drivers are used, the CP2102 will appear as a COM port in the Device Manager, as shown
in Figure 2. The CP2102 will always use the lowest available COM port for operation. For instance, if COM ports 1
and 2 are in use by other peripherals and applications, the CP2102 will use COM 3.
The CP2102 functions identically to a COM port from the reference point of both the host application and the serial
device, and it can support serial device control requests defined in the Microsoft Win32
Examples for how to communicate with the device as a serial COM port are included in AN197 on the
www.silabs.com/interface-appnotes page or in the SDK.
If the USBXpress drivers are used, the CP2102 will appear as a USB USBXpress device as shown in Figure 2.
Examples for how to communicate with the device using the USBXpress interface are included in AN169 on the
www.silabs.com/interface-appnotes page .
®
Communications API.
Figure 2. CP2102 in Device Manager
Rev. 0.53
Page 4
CP2102-EK
J1
CP2102
J3
J4
SUSPEND
J2
Pin 2
Pin 1
SUSPEND
SUSPEND
6. Target Board
The
CP2102
liminary software development. Numerous input/output (I/O) connections are provided to facilitate prototyping using
the evaluation board. Refer to
Evaluation Kit includes an evaluation board with a
Figure 3
for the locations of the various I/O connectors.
J1DB9 connector for RS232 interfac e
J2UART signal access connector
J3USB connector for USB interface
J4Not used
D1SUSPEND
indicator LED
Figure 3. CP2102 Evaluation Board
CP2102
device pre-installed for evaluation and pre-
6.1. Universal Serial Bus (USB) Interface (J3)
A Universal Serial Bus (USB) connector (J3) is provided to facilitate connections to the USB interface on the
CP2102. See Table 1 for the USB pin definitions.
Table 1. USB Connector Pin Descriptions
Pin #Description
1VBUS
2D3D+
4GND (Ground)
4Rev. 0.5
Page 5
CP2102-EK
6.2. UART Signals (J1, J2)
A RS232 transceiver circuit and DB-9 connector (J1) are provided on the evaluation board to connect the CP2102
virtual serial port to external serial devices. See Table 2 for the RS232 J1 pin descriptions. The J2 connector is provided to facilitate direct access to the CP2102’s UART signals. Shorting blocks on J2 are required to connect the
UART signals to J1. See Table 3 for J2 pin descriptions.
Table 2. RS232 Pin Descriptions
PinSignalCP2102 DirectionDescription
1DCDInputData Carrier Detect
2RXDInputReceive Data
3TXDOutputTransmit Data
4DTROutputData Terminal Ready
5GNDGround
6DSRInputData Set Ready
7RTSOutputRequest to Send
8CTSInputClear to Send
9RIInputRing Indicator
Table 3. J2 Pin Descriptions
PinsSignalCP2102 DirectionDescription
1-2TXDOutputTransmit Data
3-4RXDInputReceive Data
5-6DTROutputData Terminal Ready
7-8RIInputRing Indicator
8-10DCDData Carrier Detect
11-12DSRInputData Set Ready
13-14CTSInputClear to Send
15-16RTSOutputRequest to Send
Rev. 0.55
Page 6
CP2102-EK
SUSPEND LED
CP2102
7. Schematic
6Rev. 0.5
Figure 4. CP2102 Evaluation Board Schematic
Page 7
DOCUMENT CHANGE LIST
Revision 0.1 to Revision 0.2
Updated F igu re 3 on page 4:
Pin 1 and Pin 2 labels have been corrected
Revision 0.2 to Revision 0.3
Updated CD-RO M co nt en ts in Section “1. Kit
Contents” to correspond with versions 4.0 and later
of the CP210x Drivers and Product Information CDROM.
Updated Sectio n “3 . Software Setup” to include
installation instructions for software included on
versions 4.0 and later of the CP210x Drivers and
Product Information CD-ROM.
Added installation instructions for USBXpress Driver
Development Kit in Section “3. Software Setup”.
Added screen sh ots in Section “5 . CP2102 Software
Interface”, for the Device Manager window after
correct installation of driver software.
CP2102-EK
Revision 0.3 to Revision 0.4
Updated "3. Software Setup" on page 1.
Revision 0.4 to Revision 0.5
Updated “1. Kit Contents” to change CD-ROM to
DVD.
Added “2. Relevant Documentation”.
Updated “3. Software Setup” to point to the drivers
on the website.
Updated Figure 1 and Figure 2.
Rev. 0.57
Page 8
CP2102-EK
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.
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:
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.
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.
8Rev. 0.5
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.