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

USB superspeed peripherals Forum Discussions

ksks_926096
Level 1
Level 1

I am using CYUSB3014 board.

when i use SF_streamIN.img. it works 320MByte/s in streamer tool.

but when i compile source code. then compiled SlaveFifoSync.img file works 21MByte/s.

Other condition is all same. I don't know what is problem.

Is there any one can help me?

0 Likes
1 Solution
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

The firmware in the Application note AN65974 should be modified to stream IN OUT data through the GPIF by  enabling/disabling the required macros in the cyfxslfifosync.h header file.

SF_streamIN.img :  This image is generated after making the following macro definition changes in the firmware source code (cyfxslfifosync.h😞

STREAM_IN_OUT : Enabled

LOOPBACK_SHRT_ZLP : Disabled

The throughput can further be improved by using AUTO DMA channel.

1. Manual Channel throughput:

#define MANUAL

in  cyfxslfifosync.h

pastedImage_0.png

2. AUTO channel throughput

//#define MANUAL

pastedImage_11.png

Thanks,

Yatheesh

View solution in original post

0 Likes
1 Reply
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

The firmware in the Application note AN65974 should be modified to stream IN OUT data through the GPIF by  enabling/disabling the required macros in the cyfxslfifosync.h header file.

SF_streamIN.img :  This image is generated after making the following macro definition changes in the firmware source code (cyfxslfifosync.h😞

STREAM_IN_OUT : Enabled

LOOPBACK_SHRT_ZLP : Disabled

The throughput can further be improved by using AUTO DMA channel.

1. Manual Channel throughput:

#define MANUAL

in  cyfxslfifosync.h

pastedImage_0.png

2. AUTO channel throughput

//#define MANUAL

pastedImage_11.png

Thanks,

Yatheesh

0 Likes