CP2108 User s Guide

CP2108-EK
CP2108 E VALUATION K IT U SER ’ S G UIDE
1. Introduction
The CP2108 is a highly integrated USB-to-Quad-UART Bridge Controller providing a simple solution for updating
RS-232/RS-485 designs to USB using a minimum of components and PCB space. The CP2108 includes a USB
2.0 full-speed function controller, USB transceiver, oscillator, EEPROM, and four asynchronous serial data buses
(UART) with full modem control signals in a compact 9 mm x 9 mm QFN-64 package.
Figure 1. CP2108 USB-to-Quad UART Bridge Controller Evaluation Board
2. Kit Contents
The CP2108 Evaluation Kit contains the following items:
CP2108
evaluation board
RS232 serial cables
USB cable
Quick Start Guide
Four
3. Software Setup
The software package for the CP2108 kit
(https://www.silabs.com/products/interface/usbtouart/Pages/usb-to-uart-bridge.aspx) contains the following:
Drivers (Side Menu Under Tools  Download VCP Drivers)
Documentation: (Click the Documentation Tab)
CP210x
CP2108
CP2108
data sheet
Evaluation Kit User's Guide (this document)
Follow the instructions in the CP210x installer to install the desired drivers on the system.
Note: The VCP driver installation process for Windows is a two phase process. First, the files needed for the driver installation
are unpacked to a location on the computer. Then, the unpacked files are used to install the Virtual COM Port driver.
Rev. 0.2 10/12
Copyright © 2012 by Silicon Laboratories
CP2108-EK
CP2108-EK
4. CP2108 Hardware Interface
Connect the CP2108 evaluation board to a PC as shown in Figure 2.
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 CP2108 evaluation board.
3. Connect one end of the RS232 serial cable to one of the DB9 connectors on the CP2108 evaluation board.
4. Connect the other end of the RS232 serial cable to the target serial device.
5. To connect to additional serial devices, repeat Steps 3 and 4 using another RS232 serial cable and one of
the unused DB9 connectors on the CP2108 evaluation board.
Serial Device
RS232
USB
RS232
Serial Device
CP2108 USB-toQuad-UART
Bridge
Serial Device
RS232
CP2108 EK
Figure 2. Hardware Setup
2
Rev. 0.2
RS232
Serial Device
CP2108-EK
5. CP2108 Software Interface
The CP2108 will appear as four COM ports in the Device Manager, as shown in Figure 3. The CP2108 will always
use the lowest available COM port for operation. For instance, if COM flash 1 through 6 are in use by other
peripherals and applications, the CP2108 will use COM7, COM8, COM9, and COM10.
The CP2108 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® Communications API.
Figure 3. CP210x in Device Manager Using the VCP Driver
Rev. 0.2
3
CP2108-EK
6. Detailed Hardware Description
The CP2108 Evaluation Kit includes an evaluation board with a CP2108 device pre-installed for evaluation and preliminary software development. Numerous input/output (I/O) connections are provided to facilitate prototyping using
the evaluation board. Refer to Figure 4 for the locations of the various I/O connectors.
P0-3
P4
J0-3
J4
DS8
J5
J6
J7
J8
J9
J10
J11
DS0-DS7
DB9 connectors for the RS232 interface
USB connector for USB interface
UART signal access connector
SUSPEND LED connector
Red SUSPEND indicator LED
Board Power Selector (bus- or self-powered)
GPIO0-7 LED Connector
GPIO8-15 Rx/Tx Toggle Pins
VBUS Pin Connection for current measurements
+3V/VDD Connector Option
VIO/VDD Connector Option
NC Pins, GND
Green GPIO LEDs
Pin 2
J0
J11
J9
P4
P3
Pin 1
J8
RS232
Transceiver
J5
J10
CP2108
J3
J1
Pin 2
P0
Pin 1
RS232
Transceiver
Pin 2
P2
Pin 1
RS232
Transceiver
RS232
Transceiver
Pin 1
P1
J7
Pin 1
Pin 1
J4
J6 Pin 2
DS0
DS1
DS2
DS3
DS4
DS5
DS6
DS8
SUSPEND LED
J2
Pin 2
Figure 4. CP2108 Evaluation Board with Default Shorting Blocks Installed
4
Rev. 0.2
CP2108-EK
6.1. DB9 Connector for RS232 Interface (P0-P3, J0-J3)
Four RS232 transceiver circuits and DB9 connectors (P0-3) are provided on the evaluation board to connect the
CP2108 virtual serial ports to external serial devices. The headers J0-3 connect the CP2108 pins to the DB9
connectors and provide access to the RS232 signals. See Table 1 for the RS232 P0-3 pin descriptions and Table 2
for J0, J1, J2, J3 pin descriptions.
Table 1. RS232 Connector (P0-3) Pin Descriptions
Pin
Signal
1
2
3
4
5
6
7
8
9
DCD
RXD
TXD
DTR
GND
DSR
RTS
CTS
RI
CP2108
Direction
Input
Input
Output
Output
Input
Output
Input
Input
Description
Data Carrier Detect
Receive Data
Transmit Data
Data Terminal Ready
Ground
Data Set Ready
Request to Send
Clear to Send
Ring Indicator
Table 2. RS232 Header (J0-3) Pin Descriptions
Pins
Signal
CP2108
Direction
Description
1-2
3-4
5-6
7-8
9-10
11-12
13-14
15-16
TXD
RXD
DTR
RI
DCD
DSR
CTS
RTS
Output
Input
Output
Input
Input
Input
Input
Output
Transmit Data
Receive Data
Data Terminal Ready
Ring Indicator
Data Carrier Detect
Data Set Ready
Clear to Send
Request to Send
6.2. Board Power Selector (J5)
This header (J5) provides bus- or self-powered options for the CP2108 device.
Pins
1-2 connect USB connector VBUS (P4) to the VREGIN pin on the CP2108 and puts the device in bus
powered mode. The voltage regulator output appears on the VDD pin (pin 3).
Pins 2-3 connect the CP2108 VREGIN to the CP2108 VDD pin and puts the device in self-powered mode.
This bypasses the voltage regulator. A voltage of 1.8 to 3.6 V power must be supplied to the VDD pin.
6.3. Power Connectors (J9, J10)
The J9 and J10 headers are included on the evaluation board to provide several power options.
J9
connects the main +3 V net to the CP2108 VDD pin. The VDD pin is the output of the on-chip regulator.
The main +3 V net powers the other components (green LEDs and RS-232 transceivers) on the board. It
can be disconnected using J9 for current measurement purposes.
J10 connects the CP2108 VIO input to the CP2108 VDD pin. Remove the shorting block to power VIO from
an external source.
Rev. 0.2
5
CP2108-EK
6.4. VBUS Connector (J8)
The VBUS connector J8 connects the VBUS pin on the USB connector (P4) to the CP2108 VBUS pin. If the jumper
is removed and a multimeter is inserted, the power consumption can be measured.
6.5. GPIO.0-7 LED Header (J6)
Place shorting blocks on J6 to connect the GPIO.0–7 pins to the eight green LEDs (DS0-DS7). These LEDs can be
used to indicate active communications through the CP2108. Table 3 shows the LED corresponding to each
header position. When using the CP2108 in modem mode, the shorting blocks on J6 should be removed.
Table 3. J6 LED Locations
LED
J6 Pins
DS0
1-2
DS1
3-4
DS2
5-6
DS3
7-8
DS4
9-10
DS5
11-12
DS6
13-14
DS7
15-16
6.6. GPIO.8-15 Header (J7)
The J7 header allows access to the GPIO.8-15 pins on the CP2108. These GPIO pins may be connected to the
LEDs using J6 or used for alternate functions described in the CP2108 data sheet.
6.7. Universal Serial Bus (USB) Interface (P4)
A Universal Serial Bus (USB) connector (P4) is provided to facilitate connections to the USB interface on the
CP2108. See Table 4 for the USB pin definitions.
Table 4. USB Connector Pin Descriptions
Pin #
Description
1
2
3
4
VBUS
DD+
GND (Ground)
6.8. SUSPEND LED Header (J4)
The J4 header enables the DS8 LED on the SUSPEND output pin on the CP2108.
6
Rev. 0.2
Figure 5. CP2108 Evaluation Kit Board Schematic (1 of 2)
CP2108-EK
7. Schematic
Rev. 0.2
7
Figure 6. CP2108 Evaluation Kit Board Schematic (2 of 2)
CP2108-EK
8
Rev. 0.2
CP2108-EK
NOTES:
Rev. 0.2
9
CP2108-EK
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, 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.
10
Rev. 0.2