Missing pieces in SlaveFifoSync?

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

cross mob
maVa_1182686
Level 3
Level 3
Welcome!

Hi,

I'm going through this document:

AN65974 Designing with the EZ-USB® FX3 Slave FIFO Interface.pdf

It mentions that you have to enable statements on pages 43-44...like:

"The DMA channels previously mentioned are set up if the following define is enabled in the cyfxslfifosync.h file in the FX3 firmware project provided with this application note. /* set up DMA channel for stream IN/OUT transfers"

#define STREAM_IN_OUT

The file cyfxslfifosync.h  in my FIFOexamples folder does not containt these lines.

What is going on?

I'm on SDK 1.3

thanks

0 Likes
1 Solution
JayakrishnaT_76
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hello,

If you are using the example project slavefifosync from FX3 SDK, then you will not find "#define STREAM_IN_OUT". This can be found only in the firmware provided by the application note. Please download all the files for the application note AN65974. This can be found from the following link:

https://www.cypress.com/documentation/application-notes/an65974-designing-ez-usb-fx3-slave-fifo-inte...

After going to the above mentioned link, download AN65974.zip given in related files. After extracting the .zip file, you will have a folder named FX3 firmware in it. Inside the FX3 firmware folder, you will find slavefifosync. Import this project into a workspace and check whether you find the "#define STREAM_IN_OUT" in cyfxslfifosync.h .

Best Regards,

Jayakrishna

Best Regards,
Jayakrishna

View solution in original post

0 Likes
1 Reply
JayakrishnaT_76
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hello,

If you are using the example project slavefifosync from FX3 SDK, then you will not find "#define STREAM_IN_OUT". This can be found only in the firmware provided by the application note. Please download all the files for the application note AN65974. This can be found from the following link:

https://www.cypress.com/documentation/application-notes/an65974-designing-ez-usb-fx3-slave-fifo-inte...

After going to the above mentioned link, download AN65974.zip given in related files. After extracting the .zip file, you will have a folder named FX3 firmware in it. Inside the FX3 firmware folder, you will find slavefifosync. Import this project into a workspace and check whether you find the "#define STREAM_IN_OUT" in cyfxslfifosync.h .

Best Regards,

Jayakrishna

Best Regards,
Jayakrishna
0 Likes