Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Ivan_Lee
Level 5
Level 5
Distributor - Zenitron(GC)
100 replies posted 5 likes given 100 sign-ins

We modify cyfxisosrcsink example code to disable USB3.0. let it only work on USB2.0

We have two question:

1). if MaxPktSize  = 3, the streamer application can't recognize ISO endpoint.

2). if MaxPktSize  = 2, the streamer application can recognize ISO endpoint, but throughput is only 15900 bytes per second.

How to improve it?

0 Likes
1 Solution

Hello,

The Streamer application is designed to test the maximum throughput capable by squeezing IN or OUT tokens from a Cypress Device (FX2LP/FX3).

When you are using the isochronous data transfers and the streamer application, the throughput can be limited from the host side i.e the host may not be able to stream OUT the data as fast as we are requesting it to, through the streamer application and hence the failures will be reported.

The failures are due to the fact that the streamer application is trying to stream out the data faster than the capacity that the device and the host can handle.

The streamer application will try to transfer a buffer of size = maximum packet size * packets per xfer at once and queue up Xfers per Queue number of buffers.

Failures will be reported if the FinishXferData fails or the data in the packet is invalid.

As mentioned, the maximum throughput achievable is also dependent on the Host controller.

Please make sure that the packet size is set to 1024 and the mult value is set to 3 for both the endpoints in your firmware.

Reduce the Packets per Xfer and the Xfers per Queue in the streamer application to avoid failures and check the maximum throughput achievable without failures.

Also make sure that the streamer application is restarted and then you change the parameters every time before starting the streaming.

Regards,

Yashwant

View solution in original post

0 Likes
9 Replies