RT1015 VCOM is not workable with c# serial tool

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

RT1015 VCOM is not workable with c# serial tool

Jump to solution
687 Views
kensu
Contributor V

Hi

I use RT1015 and MUCXpressoSDK sample code(dev_cdc_vcom_bm).

The sample code will echo, and it's no problem with TeraTerm and Putty tool.

 

I want to use C# tool to communicate with RT1015 VCOM.

I write c# serial program from 

https://docs.microsoft.com/zh-tw/dotnet/api/system.io.ports.serialport?view=dotnet-plat-ext-5.0

I made a small modification of c# code. I send "a" string every 1 seconds.

After one "a" is write from c# tool, the RT1015 is hang, and c# tool get write timeout.

 

Does anyone have comment?

I attach my c# tool source code and binary.

 

Regards

Ken

0 Kudos
Reply
1 Solution
678 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @kensu ,

  Please check this post:

https://community.nxp.com/t5/i-MX-RT/CDC-examples-on-imxrt1020-evk/m-p/891113

It may related to your PC tool didn't contains CTS/RTS, so you can refer to the above post, let  the SDK code without CTS/RTS.

Please try it on your side.

 

Wish it helps you!

Best Regards,

Kerry

View solution in original post

0 Kudos
Reply
1 Reply
679 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @kensu ,

  Please check this post:

https://community.nxp.com/t5/i-MX-RT/CDC-examples-on-imxrt1020-evk/m-p/891113

It may related to your PC tool didn't contains CTS/RTS, so you can refer to the above post, let  the SDK code without CTS/RTS.

Please try it on your side.

 

Wish it helps you!

Best Regards,

Kerry

0 Kudos
Reply