From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
as I already said last week, I've got the interrupts working.
The problem is that I seem to only see new data on every other interrupt. On very second interrupt I receive, the TTCS_LSW is 0, and the dma->read() returns the same data as in the previous call.
It looks like you are trying to use the Total Transfer Count interrupt to stop DMA long enough to transfer the DMA buffer to your local buffer. Is there another purpose to this procedure?
In the DDK example 3, we use _streamCircuit.StreamAdditiveTransferCountReg to stop the subsystem. This method would prevent the DMA from overwriting your dma buffer.