Forum Discussion
Altera_Forum
Honored Contributor
15 years agoUse the sync function. The second call probably fails because the SGDMA is still transferring the first bunch of data.
Just don't forget that the sync function's return value is different that the async function. It returns the SGDMA's status vector, so it won't be 0.