Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Data recevied from the DMA is not correct

$
0
0

Hi,

I have a problem while receiving data from the EDMA3 .I configured C6748 DSP to receive data from the CODEC through DMA. I am getting data correctly if the DMA array size set to 2 bytes (A count 2 ,B count 1).

 But i need to get say 100 samples for a single interrupt .So that i just increase the B count value to 100 . And while receiving data its found that  , only  data in the first location is correct and remaining location get some different value.

Here is my setup 

PARAM_REG->OPT=(0x00100000);            //Channel Options Parameter

PARAM_REG->SRC=(0x01D002B0);           //Channel Source Address Parameter

PARAM_REG->A_B_CNT=(0x00640002);   //A Count/B Count Parameter

PARAM_REG->DST=(0x80000060);              // Channel Destination Address Parameter

PARAM_REG->SRC_DST_BIDX=(0x00040000);  //Source B Index/Destination B Index Parameter

PARAM_REG->LINK_BCNTRLD=(0x00004800);  //Link Address/B Count Reload Parameter

PARAM_REG->SRC_DST_CIDX=(0x00000000);   //Source C Index/Destination C Index Parameter

PARAM_REG->CCNT=(0x00000001);                       //C Count Parameter

Thank you


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>