AN197: Serial Communications Guide for the CP210x
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
CP210x 、 CP2101 、 CP2102 、 CP2103 、 CP2104 、 CP2105 、 CP2108 |
|
|
|
Application note & Design Guide |
|
|
|
Please see the document for details |
|
|
|
|
|
|
|
English Chinese Chinese and English Japanese |
|
February 16,2017 |
|
Rev.1.0 |
|
AN197 |
|
549 KB |
- +1 Like
- Add to Favorites
Recommend
- Silicon Labs Simplifies IoT Development with Simplicity Studio 5
- Silicon Labs Strengthens Isolated Gate Driver Portfolio
- Software Speeds Development of IEEE 1588 System Integration | Silicon Labs
- Silicon Labs Expands Isolated Gate Driver Product Family Ideal for Hybrid and Electric Vehicles (EV)
- News | Silicon Labs and Amazon Collaborate on Sidewalk, a New Shared Network for IoT Consumer Devices
- Silicon Labs and Skyworks reach agreement to sell infrastructure and automotive business
- Silicon Labs Z-Wave Wireless Selected for Johnson Controls Next Generation Qolsys Smart Home Panel
- Navigate the New IoT Labeling Program with Silicon Labs’ Best-In-Class Security
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.