- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am facing problems while configuring the partial flag. Please help me.
I have added the faollowing lines in the "cyfxslfifosync.c", after the GPIF load function as described in the GPIF Slave FIFO guide.
CyU3PgpifSocketConfigure(0,CY_U3P_PIB_SOCKET_0,6,CyTrue,1);
CyU3PgpifSocketConfigure(3,CY_U3P_PIB_SOCKET_3,6,CyFalse,1);
I have configured four flag in GPIF designer tool. A pair for With thread 0 DMA_ready, Watermark and Thread 3 DMA_Ready, Watermark.
I am using Thread0 as Ingress so given flagOndData as CyTrue and Thread3 as Egress so flagOnData is CyFalse.
When I built the project it is giving the error Undefined refernce to CyU3PgpifSocketConfigure(). I think it is because of some missing library or header files. Where are those required files.
Can someone provide me the relevant information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The CyU3PgpifSocketConfigure() API is extern'd in cyu3pgpif.h
Pls check and make sure that you have included this in your project.
-Shashank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The file "cyu3gpif.h(not cyu3pgpif.h)" is already included in the project syncslavefifo.
Does I need to add any other library files along with this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am able to overcome the problem.
Actually in the documentations the API is "CyU3PgpifSocketConfigure()", where as in the header file it is "CyU3PGpifSocketConfigure()". G not g in in GPIF.
It is working for this minor change.