Hello,
I have to configure the slave fifo interface with partial full flag due to the flag latency. If I do this, the flag latency can be managed, but the flag isn´t updated after writing a short packet and all further data is lost until the buffers are commited to the host. If I use the dedicated flag, the flag goes low right after writing 2 short packets to the fifo (2 DMA buffers, no host read). This is the expected behavior. No data is lost. But how can I get this behavior together with the partial full flag?
I changed the GPIF descriptor PIB_GPIF_CTRL_BUS_SELECT(5) to 0x00000014 for partial flag and configured the flag with: apiRetStatus = CyU3PGpifSocketConfigure(0, CY_FX_PRODUCER_PPORT_SOCKET, 2, CyFalse, 0);
Another issue is the flag watermark value. In the description and slave fifo app not is written, the value indicates the number of words, where the word width is the GPIF width. But I cannot set up three 16 bit words, the granularity is always four words, also in 16 bit GPIF with. How can I handle this?
I use the 1.0 SDK with the DVK board Rev 2.
|