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

OMAP-L138: EDMA configuration in burst transfer (AB synchronized mode)

$
0
0

Part Number:OMAP-L138

Hello All,

I have configured the EDMA and i am facing some issues in data transferring. I have written the data in incremental fashion in a memory (0x0000, 0x0001, 0x0002, 0x0003, ....................... 0XFFFF). 

if acnt = 20000; bcnt = 6; c=2;

read_paramSet2.srcAddr = (unsigned int) (EMIF_CHIP4_BASE + BURST_DATA_ADDR) ;
read_paramSet2.destAddr = (unsigned int)(addr_1_buff);
read_paramSet2.aCnt = (unsigned short)acnt2;
read_paramSet2.bCnt = (unsigned short)bcnt2;
read_paramSet2.cCnt = (unsigned short)ccnt2;
read_paramSet2.srcBIdx = (unsigned int) (EMIF_CHIP4_BASE + BURST_DATA_ADDR + (acnt2/2));
read_paramSet2.destBIdx = (unsigned int)(addr_1_buff+ (acnt2/2));
read_paramSet2.srcCIdx = (unsigned int) (EMIF_CHIP4_BASE + BURST_DATA_ADDR + ((acnt2/2)*bcnt2));
read_paramSet2.destCIdx = (unsigned int)(addr_1_buff+ ((acnt2/2)*bcnt2));

read_paramSet2.opt = 0x00102004

for the above mentioned configuration, i am able to see the data at destination address is from 0x0000 to 0x7FFF.

What could be the issue


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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