AN197: Serial Communications Guide for the CP210x

2020-11-18

This application note applies to the following devices: CP2101,CP2102, CP2103, CP2104, CP2105, and CP2108.
This document is intended for developers creating products based on the CP210x USBto UART Bridge Controller. It provides information about serial communications and howto obtain the port number for a specific CP210x device. Code samples are provided for opening, closing, configuring, reading, and writing to a COM port. Also included is a Get PortNum function that can be copied and used to determine the port number on a CP210x device by using its Vendor ID (VID), Product ID (PID), and serial number.
KEY POINTS:
• Shows how to open a COM Port
• Discusses how to prepare an open COMPort for data transmission
•Shows how to close the COM port
• Includes a sample program to demonstrate serial functions
• Shows how to discover the CP210x COMPort
• Includes application design notes

Silicon Labs

CP210xCP2101CP2102CP2103CP2104CP2105CP2108

More

Part#

USB

More

More

Application note & Design Guide

More

More

Please see the document for details

More

More

English Chinese Chinese and English Japanese

February 16,2017

Rev.1.0

AN197

549 KB

- The full preview is over. If you want to read the whole 12 page document,please Sign in/Register -
  • +1 Like
  • Add to Favorites

Recommend

All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.

Contact Us

Email: