We are using OMAP3530 mistral EVM.
We have ping & pong buffer and would like to configure SDMA such that it,
1. Starts transferring ping buffer
2. Generates interrupt after completion of 1 and starts transferring pong buffer
3. Generates interrupt after completion of 2 and starts step 1 again.
Can we configure the SDMA like this and if yes can you please provide the example source code & configuration ?
I have seen channel linking but I am using McBSP2, hence for Tx, SDMA channel 32 & for Rx, SDMA channel 33 are fixed and hence I think I will not be able to use multiple channels(as remainng DMA channels are fixed for different things as per SPRU98 doc).