cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

qilic_3885131
New Contributor

Hi

I used the official example cyfxbulklpauto_cpp, the code makes the following changes:

EP config in super speed mode:

1. epType is set to CY_U3P_USB_EP_BULK

2. burstLen is set to 2

3. pcktSize is set to 1024

DMA config:

1. size is set to 1024

2. count is set to 8

When the data source rate is high (the speed more than 100Mbp/s), I run the C++ streamer, it works normal.

However, when data source rate is high (the speed less than 20Mbp/s), I can't receive any data from CY3014

I saw on BBS that other people had the same problem, but there was no answer, How can I receive low speed data from CY3014?

Thanks

0 Likes
5 Replies
qilic_3885131
New Contributor

the follow is my test result by using C++ streamer

1. packets per xfer = 32

   xfers to queue = 16

   timeout per xfer = 1500   

the data source rate is 200Mbp/s, now receive data normal  

2. packets per xfer = 32

   xfers to queue = 16

   timeout per xfer = 1500

the data source rate is 20Mbp/s, can receive data, but also receive failure.

3. packets per xfer = 32

   xfers to queue = 16

   timeout per xfer = 0xffffffff

the data source rate is 20Mbp/s, streamer is blocking and not receiving data.

4. packets per xfer = 1

   xfers to queue = 1

   timeout per xfer = 1500

the data source rate is 20Mbp/s, can receive data, receive speed is abnormal and will also receive some failure

0 Likes
alamandaa_16
Moderator
Moderator

Hi,

In the Streamer application,Please try with following paramater settings.

----packets per xfer = 256

--- xfers to queue = 64

--- timeout per xfer = 1500  

Regards,

Anil Srinivas.

0 Likes
qilic_3885131
New Contributor

Hi Srinivas

I try to use the Streamer application with the parameters you provided. But it seems useless, now streamer is alway fail to receive data. The follow picture is the screenshot of the test.

ThanksUSB low speed test.PNG

Liang

0 Likes
alamandaa_16
Moderator
Moderator

Hi,

How to change data speed more than 100Mbp/s and less than 20Mbp/s?

Please let me know, did you change cyfxbulklpauto_cpp source code?If yes, share the modified code snippet.

Regards,

Anil Srinivas.

0 Likes
alamandaa_16
Moderator
Moderator

Hi,

Please share the screenshots of data received normal case and failure case with following your test result parameter settings.

1.data received normal case

packets per xfer = 32

   xfers to queue = 16

   timeout per xfer = 1500  

the data source rate is 200Mbp/s, now receive data normal 

2.failure case

packets per xfer = 32

   xfers to queue = 16

   timeout per xfer = 1500

the data source rate is 20Mbp/s, can receive data, but also receive failure.

Regards,

Anil Srinivas.

0 Likes