This application note describes how to implement a USB to multiple VCOMs' functions on MCXC444 series on FRDM boards (FRDM-MCXC444). The function of USB to VCOM can be implemented by using the common AT commands in the subclass of the abstract control model in the CDC class specified by the USB protocol. A USB device can support one or more VCOMs, the number of VCOM depends mainly on the number of endpoints (EP) supported by USB device. This application note implements the function of a USB to 15 VCOMs and the development tool is MCUXpresso IDE
- Download and install MCUXpresso IDE V11.9.0 or later.
- MCUXpresso for Visual Studio Code: This example supports MCUXpresso for Visual Studio Code, for more information about how to use Visual Studio Code please refer here.
- Make sure that you are already familiar with SDK original examples, such as hello_world and dev_composite_cdc_vcom_cdc_vcom_lite_bm example.
- Connect the FRDM-MCXC444 development board to your computer using a USB cable.
- Ensure the development board is recognized correctly.
-
Open MCUXpresso IDE, in the Quick Start Panel, choose Import from Application Code Hub
-
Enter the demo name in the search bar.
-
Click Copy GitHub link, MCUXpresso IDE will automatically retrieve project attributes, then click Next>.
-
Select main branch and then click Next>, Select the MCUXpresso project, click Finish button to complete import.
- Compile the project and use a TypeC-USB cable to connect to the FRDM board via MCU-LINK connector. Use MCU-LINK to download program into MCU.
- Connect Another TypeC-USB cable with MCU_USB Port with PC.
Press SW1 on FRDM board to reset the board to let the code running.
Open the “Device Manager” on Windows PC. totally 16 VCOM port will be created as below figure shows:
No FAQ currently
- For additional information and support, visit NXP's official website:
Questions regarding the content/correctness of this example can be entered as Issues within this GitHub repository.
Warning: For more general technical questions regarding NXP Microcontrollers and the difference in expected funcionality, enter your questions on the NXP Community Forum
Version | Description / Update | Date |
---|---|---|
1.0 | Initial release on Application Code Hub | May 15th 2024 |