cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

New Contributor

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
Reply
1 Solution
Moderator
Moderator

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
Reply
1 Reply
Moderator
Moderator

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
Reply