UG254: CP2102N-MINIEK Kit User's Guide

Similar documents
QSG123: CP2102N Evaluation Kit Quick- Start Guide

CP2104-EK CP2104 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

CP2103-EK CP2103 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

CP2105-EK CP2105 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

Figure 1. CP2108 USB-to-Quad UART Bridge Controller Evaluation Board

QSG144: CP2615-EK2 Quick-Start Guide

EFM8 Laser Bee Family QSG110: EFM8LB1-SLSTK2030A Quick Start Guide

AN976: CP2101/2/3/4/9 to CP2102N Porting Guide

UG369: Wireless Xpress BGX13P SLEXP8027A Kit User's Guide

UG271: CP2615-EK2 User's Guide

EFM32 Pearl Gecko Family QSG118: EFM32PG1 SLSTK3401A Quick- Start Guide

QSG114: CPT007B SLEX8007A Kit Quick- Start Guide

WT12 EVALUATION KIT DATA SHEET. Monday, 09 September Version 1.7

EFM8 Universal Bee Family EFM8UB2 Errata

AN999: WT32i Current Consumption

EFM8 Busy Bee Family EFM8BB2-SLSTK2021A Quick Start Guide

EFM32 Happy Gecko Family EFM32HG-SLSTK3400A Quick-Start Guide

SMBus. Target Bootloader Firmware. Master Programmer Firmware. Figure 1. Firmware Update Setup

USBXpress Family CP2102N Errata

UG294: CPT213B SLEXP8019A Kit User's Guide

C8051F36x-DK. C8051F36x DEVELOPMENT KIT USER S GUIDE. 1. Relevant Devices. 2. Kit Contents. 3. Hardware Setup Using a USB Debug Adapter

EFM8 Universal Bee Family EFM8UB1 Errata

AN125 INTEGRATING RAISONANCE 8051 TOOLS INTO THE S ILICON LABS IDE. 4. Configure the Tool Chain Integration Dialog. 1. Introduction. 2.

QSG119: Wizard Gecko WSTK Quick-Start Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

CP2114 Family CP2114 Errata

Software Release Note

QSG159: EFM32TG11-SLSTK3301A Quick- Start Guide

Translate HCSL to LVPECL, LVDS or CML levels Reduce Power Consumption Simplify BOM AVL. silabs.com Building a more connected world. Rev. 0.

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

Humidity/Temp/Optical EVB UG

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

UG274: Isolated USB Expansion Board User Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

UG345: Si72xx Eval Kit User's Guide

QSG107: SLWSTK6101A/B Quick-Start Guide

EFM32 EFM32GG11 Giant Gecko Family QSG149: EFM32GG11-SLSTK3701A Quick-Start Guide

AN1139: CP2615 I/O Protocol

Router-E and Router-E-PA Wireless Router PRODUCT MANUAL

UG322: Isolated CAN Expansion Board User Guide

BRD4300B Reference Manual MGM111 Mighty Gecko Module

UG370: Wireless Xpress AMW007 Kit User's Guide

QSG153: Micrium s μc/probe Tool Quick- Start Guide

QSG155: Using the Silicon Labs Dynamic Multiprotocol Demonstration Applications

AN1160: Project Collaboration with Simplicity Studio

QSG107: SLWSTK6101A Quick-Start Guide

The Si50122-Ax-EVB is used to evaluate the Si50122-Ax. Table 1 shows the device part number and corresponding evaluation board part number.

EFM32 Zero Gecko EFM32ZG Errata

Figure 1. Precision32 AppBuilder

Date CET Initials Name Justification

USB Debug. Adapter USB DEBUG ADAPTER. J4 Silicon Laboratories. Stop Power. Run AC/DC. Adapter. Figure 1. Hardware Setup Using a USB Debug Adapter

Wireless Development Suite (WDS) is a software utility used to configure and test the Silicon Labs line of ISM band RFICs.

AN888: EZR32 Quick Start Guide

8-Bit MCU C8051F85x/86x Errata

The process also requires the use of the following files found in the Micriµm Quick Start Package for the FRDM-KL46Z:

EFM8 Busy Bee EFM8BB1 Errata

AN0059.1: UART Flow Control

QSG126: Bluetooth Developer Studio Quick-Start Guide

EFR32 Mighty Gecko Family EFR32MG1 with Integrated Serial Flash Errata History

Also available for purchase separately are socket daughter boards for the QFN-11 and QFN-10 packages.

UG365: GATT Configurator User s Guide

Date CET Initials Name Justification

µc/probe on the Freescale FRDM-KL05Z without an RTOS

QSG107: SLWSTK6101A/B Quick-Start Guide

UG313: Thunderboard Sense 2 Bluetooth Low Energy Demo User's Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

UG352: Si5391A-A Evaluation Board User's Guide

Si7005USB-DONGLE. EVALUATION DONGLE KIT FOR THE Si7005 TEMPERATURE AND HUMIDITY SENSOR. 1. Introduction. 2. Evaluation Kit Description

AN1083: Creating and Using a Secure CoAP Connection with ARM s mbed TLS

AN1143: Using Micrium OS with Silicon Labs Thread

C8051F411-EK C8051F411 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Kit Overview. 3. Evaluation Board Interface LCD User Interface

AN324 ADVANCED ENCRYPTION STANDARD RELEVANT DEVICES. 1. Introduction. 2. Implementation Potential Applications Firmware Organization

AN1106: Optimizing Jitter in 10G/40G Data Center Applications

AN719 PRECISION32 IDE AND APPBUILDER DETAILED TUTORIAL AND WALKTHROUGH. 1. Introduction. Figure 1. Precision32 IDE and AppBuilder Walkthrough Overview

AN1117: Migrating the Zigbee HA Profile to Zigbee 3.0

Si1146 UVIRSlider2EK Demo Kit

Figure 1. Traditional Biasing and Termination for LVPECL Output Buffers

UDP UPPI Card UG UDP UPPI CARD USER S GUIDE. 1. Introduction. Figure 1. UPPI Cards with and without Radio

EFR32MG13, EFR32BG13 & EFR32FG13 Revision C and Data Sheet Revision 1.0

ETRX3DVK Development Kit Quick-Start Guide

UG232: Si88xxxISO-EVB User's Guide

AN1095: What to Do When the I2C Master Does Not Support Clock Stretching

C8051F00x/01x-DK C8051F00X/01X DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. 2. Hardware Setup using a USB Debug Adapter

Bluegiga WF111 Software Driver Release Notes

AN0018.0: Supply Voltage Monitoring

AN1083: Creating and Using a Secure CoAP Connection with ARM s mbed TLS

2. Key Points. F93x F92x F91x F90x. Figure 1. C8051F93x-C8051F90x MCU Family Memory Size Options

Date CET Initials Name Justification

Si1140-DK. Si1140 DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure 1. Si1143 Evaluation Board

8-bit MCU Family C8051F93x/92x Errata

AN888: EZR32 Simple TRX Application Quick Start Guide

USB Debug. Adapter USB DEBUG ADAPTER. Silicon Laboratories. Stop Power. Run AC/DC. Figure 1. Hardware Setup using a USB Debug Adapter

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

AN116. Power Management Techniques and Calculation. Introduction. Key Points. Power Saving Methods. Reducing System Clock Frequency

EFM32 Pearl Gecko Family EFM32PG1 Errata

AN0885: EFM8UB Low Energy USB Overview

AN1119: Using RAIL for Wireless M-Bus Applications with EFR32

Transcription:

The CP2102N-MINIEK kit is designed to showcase the various features of the CP2102N USBXpress devices. These highly-integrated USB-to-UART bridge controllers provide a simple solution for updating RS-232 designs to USB using a minimum of components and PCB space. By eliminating the need for complex firmware and driver development, the CP2102N devices enable quick USB connectivity with minimal development effort. The kit includes the following: CP2102N USB-to-UART Bridge Mini Evaluation Board Getting Started card KEY FEATURES CP2102N USB-to-UART Bridge Headers for easy access to UART, GPIO, and Battery Charger Detect pins 0.1" header pitch for breadboard compatibility Small board size silabs.com Smart. Connected. Energy-friendly. Rev. 0.1

Getting Started 1. Getting Started 1. Download and Install the Latest Virtual COM Port (VCP) Drivers. The Virtual COM Port (VCP) drivers enable the CP2102N to appear as a standard COM port. Download the latest version of drivers from the Silicon Labs website: http://www.silabs.com/vcpdrivers In most cases, select the default option without serial enumeration. 2. Set Up Your Kit. a. Provide power to the board by connecting the mini USB connector to the PC using a mini USB cable (not provided). When a connection has been established successfully, the LED (marked in the picture) lights up. LED 3. Detect Your Device. The CP2102N device will appear as a COM port in Device Manager in Windows. As a virtual COM port, the CP210x functions identically to a real 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. silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 1

Getting Started 4. Set up a Loop-Back Test. Short the CP210x RXD and TXD pins on header J2. 5. Send and Receive Some Data. silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 2

Getting Started a. In Windows, open a serial terminal program (downloaded separately, RealTerm pictured) to verify the CP2102N UART functionality. b. Set the baud rate and select the COM port from Device Manager. c. Type in the transmit area. The characters should echo back after looping through the CP2102N TXD and RXD pins. 6. Utilize the Available Resources. The next section includes additional resources available for the device, including documentation and application notes. silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 3

Relevant Documentation 2. Relevant Documentation The following Application Notes are applicable to CP2102N devices: AN721: CP210x Device Customization Guide This application note guides developers through the configuration process of USBXpress devices using Simplicity Studio [Xpress Configurator]. AN220: USB Driver Customization This document and accompanying software enable the customization of the CP210x Virtual COM Port (VCP) and USBXpress drivers. AN197: Serial Communications Guide for CP210x This document describes recommendations for communicating with USBXpress CP210x devices using the Virtual COM Port (VCP) driver. AN976: Migrating from a CP2102 to a CP2102N This document guides developers on how to migrate existing systems using the CP2102 to the CP2102N. AN169: USBXpress Programmer s Guide This application note provides recommendations and examples for developing using the USBXpress direct-access driver. AN807: Recertifying a Customized Windows HCK Driver Package This document describes the WHQL certification process required for customized drivers. AN223: Runtime GPIO Control for CP210x This document describes how to toggle GPIO pins from the USB host. Application Notes can be accessed on the Silicon Labs website (www.silabs.com/interface-appnotes) or in Simplicity Studio using the [Getting Started]>[Application Notes] area of the launcher. silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 4

Device Customization 3. Device Customization Device customization for the CP2102N is done through Xpress Configurator, which is available in Simplicity Studio: http://www.silabs.com/simplicity The Simplicity Studio software package contains all the tools, drivers, configuration software, and documentation needed to use the CP2102N USB-to-UART Bridge Mini Evaluation Board. After downloading the latest version of Simplicity Studio and installing the software: 1. Install the CP210x Virtual COM Port Driver during the software setup steps, if it's not already installed. This action can always be accessed through [Help]>[Setup Tasks]. 2. Connect the CP2102N to the PC. 3. Select [CP2102N] under [Devices]. On the board, a successful USB connection is established when the SUSPENDB LED (D2) turns on. 4. Click on [Compatible Tools]>[Xpress Configurator] to open Xpress Configurator and customize the device. Documentation for each of the customization options is provided within Xpress Configurator. More information on each of these options can be found in AN721: CP210x Device Customization Guide, which is available on the Silicon Labs website (www.silabs.com/interface-appnotes) or within Simplicity Studio under [Getting Started]>[Application Notes]. silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 5

Driver Options and Software Interface 4. Driver Options and Software Interface 4.1 Virtual COM Port (VCP) Driver CP2102N devices are pre-programmed with a VID of 0x10C4 and PID of 0xEA60. This VID and PID combination matches the Virtual COM Port (VCP) driver. With this driver, the CP2102N will appear as a COM port and can be accessed using any terminal program or custom-written software. Install the VCP driver as part of the Simplicity Studio installation or download it directly from the Silicon Labs website (www.silabs.com/interface-software). If the Virtual COM Port (VCP) drivers are used, the CP2102N will appear as a COM port in the Device Manager, as shown in the figure below. The CP2102N 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 CP2102N will use COM 3. The CP2102N 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. Examples for how to communicate with the device as a serial COM port are included in AN197: Serial Communications Guide for CP210x or in the SDK. Figure 4.1. CP2102N in Device Manager VCP silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 6

Driver Options and Software Interface 4.2 USBXpress Driver An alternative driver is the USBXpress direct-access driver, which is also available on the Silicon Labs website (www.silabs.com/interface-software). Rather than appearing as a COM port, software can use a simple, high-level Application Program Interface (API) to provide access to CP2102N for complete USB connectivity. No USB protocol or host device driver expertise is required. The USBXpress Development Kit includes Windows device drivers, Windows device driver installer, and 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. If the USBXpress drivers are used, the CP2102N will appear as a USB USBXpress device as shown in the figure below. Examples for how to communicate with the device using the USBXpress interface are included in AN169: USBXpress Programmer s Guide. Figure 4.2. CP2102N in Device Manager USBXpress silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 7

Hardware Overview 5. Hardware Overview The CP2102N Mini Evaluation Kit includes an evaluation board with a CP2102N 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 the figure below for the locations of the various I/O connectors. Table 5.1. CP2102N Mini Evaluation Board Component Overview Component D2 J1 J2 J5 Description SUSPENDb indicator LED USB mini connector Header for UART pins (TX, RX, RTS, CTS), VBUS pin, suspend pins, and Charge Enable pin CHR0 Header for power pins (VDD, VREGIN), reset pin, GPIOs, and Charge Enable pins (CHREN, CHR1) J5 VDD VDD VREGIN GPIO.0 GPIO.1 GPIO.2 GPIO.3 RSTb CHREN CHR1 J2 GND TXD RXD CTS RTS VBUS SUSPENDb SUSPEND GND CHR0 Figure 5.1. CP2102N Mini Evaluation Board silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 8

Hardware Overview 5.1 USB Interface (J1) A Universal Serial Bus (USB) mini connector (J1) is provided to facilitate connections to the USB interface on the CP2102N. See the table below for the USB pin definitions. Table 5.2. USB Mini Connector Pin Descriptions Pin Number Description 1 VBUS 2 D- 3 D+ 4 ID (Not Connected) 5 Ground silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 9

Hardware Overview 5.2 Headers (J2 and J5) The J2 and J5 headers provides direct access to the CP2102N power, reset, UART, suspend, and charge enable pins. See the table below for the J2 and J5 pin descriptions. Table 5.3. J2 Pin Descriptions Pins Signal CP2102N Direction Description 1 GND N/A Ground 2 TXD Output Transmit Data 3 RXD Input Receive Data 4 CTS Input Clear to Send 5 RTS Output Request to Send 6 VBUS Input USB VBUS 7 SUSPENDb Output Driven low when device enters USB suspend state. 8 SUSPEND Output Driven high when device enters USB suspend state. 9 GND N/A Ground 10 CHR0 Output Enable charging circuit (500 ma) Table 5.4. J5 Pin Descriptions Pins Signal CP2102N Direction Description 1 VDD Output 5V Regulator Output 2 VDD Output 5V Regulator Output 3 VREGIN Input 5V Regulator Input 4 GPIO.0 Input / Output General Purpose I/O 0 5 GPIO.1 Input / Output General Purpose I/O 1 6 GPIO.2 Input / Output General Purpose I/O 2 7 GPIO.3 Input / Output General Purpose I/O 3 8 RSTb Input Active-low Reset 9 CHREN Output Enable charging circuit (100 ma) 10 CHR1 Output Enable charging circuit (1.5 A) silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 10

Schematics and BOM 6. Schematics and BOM 6.1 Board Files The schematics and bill of materials (BOM) for the CP2102N USB-to-UART Bridge Mini Evaluation Board are available through Simplicity Studio when the kit documentation package has been installed. To access these documents, click the [Documentation] tab in the launcher, and manually specify the connected board. 6.2 Board Revision History Rev00 Initial production revision. Rev00 Boards These boards do not currently have any known issues. silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 11

Revision History 7. Revision History 7.1 Revision 0.1 October 18th, 2016 Initial revision. silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 12

Simplicity Studio One-click access to MCU and wireless tools, documentation, software, source code libraries & more. Available for Windows, Mac and Linux! IoT Portfolio www.silabs.com/iot SW/HW www.silabs.com/simplicity Quality www.silabs.com/quality Support and Community community.silabs.com Disclaimer Silicon Labs intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Labs products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Labs reserves the right to make changes without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Silicon Labs shall have no liability for the consequences of use of the information supplied herein. This document does not imply or express copyright licenses granted hereunder to design or fabricate any integrated circuits. The products are not designed or authorized to be used within any Life Support System without the specific written consent of Silicon Labs. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal injury or death. Silicon Labs products are not designed or authorized for military applications. Silicon Labs products shall under no circumstances be used in weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons. Trademark Information Silicon Laboratories Inc., Silicon Laboratories, Silicon Labs, SiLabs and the Silicon Labs logo, Bluegiga, Bluegiga Logo, Clockbuilder, CMEMS, DSPLL, EFM, EFM32, EFR, Ember, Energy Micro, Energy Micro logo and combinations thereof, "the world s most energy friendly microcontrollers", Ember, EZLink, EZRadio, EZRadioPRO, Gecko, ISOmodem, Precision32, ProSLIC, Simplicity Studio, SiPHY, Telegesis, the Telegesis Logo, USBXpress and others are trademarks or registered trademarks of Silicon Labs. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All other products or brand names mentioned herein are trademarks of their respective holders. Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 USA http://www.silabs.com