This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

McBSP DMA Interrupt

Hi,

I am testingMcBSP Sample code to use it in EDMA mode.

C:\dvsdk_1_01_00_15\pspdrivers_1_10_03\packages\ti\sdo\pspdrivers\system\dm6437\bios\evmDM6437\audio\sample

I have used EVM DM 6437 as slave and an FPGA as Master.

I have selected PSP_OPMODE_DMAINTERRUPT

and Interrupt Number (chanparams.intrNum              = 48u;)

Since the DSP is slave, when I run the program, it waits at  devStatus = GIO_submit(mcbspHandle,IOM_WRITE,&ioBuffer,&bufLen,NULL);

for the master clock. Once the master clock is received and all the data (bufLen) transfer is completed I get the return value and and the program continues.

Here I have used DMA Interrupt and I have no advantage of DMA. My CPU is waiting. There is no difference if I use DMA, Polling or Interrupt mode?

How can I make it like, the data transfer will happen at the background and I will get a HWI to manage every time the data transfer is completed.

Thanks

Lijesh