This is the documentation for the latest (main) development branch of HPM SDK. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

24.1. USB CDC Dual_Serial

24.1.1. Overview

This example project shows USB CDC Serial

  • PC sees two serial ports via Device Manager

24.1.2. Board Setting

  • Connect a USB port on PC to the PWR DEBUG port on the development board with a USB Type-C cable

  • Connect a USB port on PC to one of USB port on the development board with a USB Type-C cable

24.1.3. Running the example

When the project runs correctly

  • The computer can automatically recognize and install the USB to serial port driver and enumerate a composite device with two com ports

  • Enter any uppercase or lowercase letters at the serial terminal. The device can convert the entered uppercase or lowercase letters to lowercase letters through a smaller serial port number, and convert lower case letters to upper case letters through a larger serial port number