Using multiple virtual com ports over single USB connection ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using multiple virtual com ports over single USB connection ?

2,805 Views
nitinharish
Contributor V

Folks

Is it possible to have multiple virtual COM ports using a single USB connection from Kinetis to host windows PC ?

I am using k64 with MQX 4.1.1, I can run virtual COM port Freescale USB CDC example, but what I want is to have 2 virtual COM ports identified in Windows for my Kinetis's USB connection, so that from Kinetis side of things I can send data to virtual COM port 1 or 2 or to both.


Let me know. Any thoughts mjbcswitzerland


0 Kudos
Reply
2 Replies

2,260 Views
soledad
NXP Employee
NXP Employee

Hello,

Please check the below thread and let me know if this helps!

Dual CDC virtual com device

Questions about "virtual_com" USB CDC driver in MQX 3.6 & under CW10


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

2,260 Views
mjbcswitzerland
Specialist V

Hi Nitin

See http://www.utasker.com/kinetis/FRDM-K64F.html#CDC5

This will allow 5 virtual COM ports to UART bridges with the FRDM-K64F or

µTasker Kinetis TWR-K64F120M support allows 6 virtual COM port to UART bridges (the K64 on the TWR has 6 UARTs while the one on the FRDM board - with less pins - has 5).

This means that it is possible but I don't know whether the framework that you use can do it without developing the support needed.

Composite devices are discussed here in more detail: http://www.utasker.com/kinetis/USB_Device.html

Regards

Mark

Kinetis: µTasker Kinetis support

K64: µTasker Kinetis FRDM-K64F support / µTasker Kinetis TWR-K64F120M support

Composite USB: µTasker USB Device Configuration

USB User's Guide: http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 Kudos
Reply