FX3 MANUAL DMA COMMIT DELAY | Cypress Semiconductor
FX3 MANUAL DMA COMMIT DELAY
I'm currently using two manual DMA (DMA IN and DMA out) between CPU and GPIF ii to extchange data with an FPGA and I'd like to reduce the latency. As a first test, I looped the manual dma commit buffer function and I found a delay of about 70 us between successive transmissions. My loop function approximatively looks like this :
apiRetStatus = CyU3PDmaChannelGetBuffer (&glChHandleCPUtoGPIF, &outBuf_p, CYU3P_NO_WAIT);
apiRetStatus = CyU3PDmaChannelCommitBuffer (&glChHandleCPUtoGPIF, length , 0);
So, the question is, how can I reduce this latency ? Any idea to reduce even by a little this delay is welcome.