We are using GPIF II to connect to our FPGA board with high speed parallel cable. We are sending 32-bit counter from our FPGA board for testing. There were some error data received on the host PC side with the value increased by 4 instead of 1 from FPGA. We were trying different value for the FLAGA watermark value using following function. The only way we can have it correct is using watermark value 3 as listed below.
Right now we are switching to real data from component instead of FPGA test data, now we are seeing the failure again using the same firmware.
So my question is "how do we configure the CyU3PGpifSocketConfigure() function?" Is the failure actually something to do with this function or watermark?
Please refer to the section 8.3 General Formulae for using Partial Flags from the Application note AN65974. You can get this app note from the link www.cypress.com/AN65974.