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.

DMA transfer issue (Referring PDK sample - PING PONG Global region)

Dear All,
             I'm working with C6678 using CCS v5.1.1...

I'm trying to do a basic copy using EDMA. 

I'm referring to edma sample given with PDK Package. (C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_9_beta2\packages\ti\csl\example\).

I have a text file (say 1.txt) which contains a text "1". This file is read and stored in srcBuf. I want to copy the content to another buffer destBuf via dma. 
what modifications should I do in PARAM set given in "edmaedma_ping_pong_xfer_gbl_region". My PARAM set config is given below:

                                                                            

myParamSetup.option = CSL_EDMA3_OPT_MAKE(CSL_EDMA3_ITCCH_DIS, \
                                                                            CSL_EDMA3_TCCH_DIS, \
                                                                            CSL_EDMA3_ITCINT_DIS, \
                                                                            CSL_EDMA3_TCINT_EN, \
                                                                            1, CSL_EDMA3_TCC_NORMAL,\
                                                                            CSL_EDMA3_FIFOWIDTH_NONE, \
                                                                            CSL_EDMA3_STATIC_EN, \
                                                                            CSL_EDMA3_SYNC_A, \
                                                                            CSL_EDMA3_ADDRMODE_INCR, \
                                                                            CSL_EDMA3_ADDRMODE_INCR );

myParamSetup.srcAddr = (Uint32)srcBuf;
myParamSetup.aCntbCnt = CSL_EDMA3_CNT_MAKE(256,1);
myParamSetup.dstAddr = (Uint32)destBuf;
myParamSetup.srcDstBidx = CSL_EDMA3_BIDX_MAKE(1,1);
myParamSetup.linkBcntrld= CSL_EDMA3_LINKBCNTRLD_MAKE(CSL_EDMA3_LINK_NULL,0);
myParamSetup.srcDstCidx = CSL_EDMA3_CIDX_MAKE(0,1);
myParamSetup.cCnt = 1;

 

I'm following the ping pong example. Poll on IPR bit 0 is not happening with this PARAM config.
what's wrong here..
Please help.

Regards,

Sohal