Usb_device_cdc_Vcom

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

Usb_device_cdc_Vcom

1,229 Views
smartpavan333
Contributor I

Hi,

I am using IMXRT1170-EVK board.In SDK file,

I run this example "Usb_device_cdc_vcom".It's working fine.

I am able to receive data in 10 ms when I am sending greater than 1024 bytes of data through dock-light. But when I am sending less than 1024 bytes of data, the response is 120 ms.

Please find the attached logs.

Can you suggest me where should I modify in the SDK file?

0 Kudos
Reply
3 Replies

1,214 Views
RaRo
NXP TechSupport
NXP TechSupport

Hello @smartpavan333,

Could you please tell us which of the dev_cdc_vcom examples are you using?

RaulRomero_0-1691783973029.png

[SDK Import Wizard -> usb_examples]

Also, which version of SDK do you have?

Finally, how are you measuring the time of the response? Are you obtaining a mean value of the difference between the time it was send and the time it was received in Dock-light?

Best regards, Raul.

0 Kudos
Reply

1,154 Views
smartpavan333
Contributor I

Hi @RaRo ,

Sorry for the delay,

1. You can choose this example of "dev_cdc_vcom_bm_cm7" or "dev_cdc_vcom_freertos_bm_cm7" anything is fine.

2.Used SDK version 2.12.1

3. Minimum delay between Tx and Rx frames is 120ms , If I am sending less than 1024 bytes.

I have used Dock-Light for  sending and Receiving Data.

0 Kudos
Reply

1,146 Views
RaRo
NXP TechSupport
NXP TechSupport

Hello @smartpavan333,

Could you please try out the example with the newest SDK (SDK 2.14.0)?

We have tested the dev_cdc_vcom_bm_cm7 example with the newest SDK and from the last two tests we have had delays of: 6ms and 17ms. So, it might be good to try out with the SDK 2.14.0.

We attached you our results with less than 1024 bytes.

RaulRomero_0-1692394563866.png

[Docklight v2.4 testing]

Let us know if that solves your problem.

Best regards, Raul.

0 Kudos
Reply