i.MX RT1060 Dual USB CDC Virtual Vcom Example Code

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

i.MX RT1060 Dual USB CDC Virtual Vcom Example Code

1,035 Views
claire_chen
Contributor I

Hi,

  Is there an i.MX RT1060 Dual USB CDC Virtual Vcom example code for reference?Only single USB examples are found in the SDK.

claire

  

0 Kudos
Reply
3 Replies

1,024 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @claire_chen ,

Thanks for your interest in I.MX RT series. I'd like to provide service for you.

There is an example in the SDK of our partner EmbeddedArtists that should meet your needs, please refer to it. The path is : \boards\evkbmimxrt1060\usb_examples\usb_device_composite_cdc_vcom_cdc_vcom

You can find this SDK here: http://imx.embeddedartists.com/#imxrt1062

 

Best regards,

Gavin

0 Kudos
Reply

1,016 Views
claire_chen
Contributor I

Hi Gavin_Jia

      I'm very sorry that I shouldn't have expressed myself clearly.

     What is needed is that both USB1 and USB2 are configured as CDC virtual serial ports, not USB1 CDC virtualized as 2 serial ports. Can you help me with this?

 Claire

0 Kudos
Reply

957 Views
mjbcswitzerland
Specialist V

Hi

The uTasker project allows dual CDC device on both of the HSUSBs (as well as CDC device/host mixtures).

The attached binary is a complete project which shows two CDC devices on the MIMXRT1060-EVK - loadable via ISP:
- HSUSB1 can be connected to a terminal emulator and has a command line interface on it (in the USB menu the command "usb-serial" will also transform it into a USB-LPUART bridge with LPUART speed control via the terminal emulator setting - the LPUART is the one on the MIMXRT1060-EVK VCOM port).
- HSUSB2 can be connected to and just does a simple echo back of all received input.

The complete solution is included in the project - https://www.utasker.com/index.html

Regards

Mark


For our discounted i.MX and Kinetis stock availability see https://www.utasker.com/Shop/semi.html




0 Kudos
Reply