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

RTOS/TMS320C6678: EDMA Burst transfer being much slower than single Transfer

$
0
0

Part Number:TMS320C6678

Tool/software: TI-RTOS

Hi, 

I am trying to transfer some data from L2 to shared memory, and i notice that when i use a single transfer (80*4*8) bytes it takes about 2us to finish, this is with A count  = 80*4*8, Bcount = 1, CCount = 1

however when i try changing it to 8 transfers with CCount = 8, the time till i get an interrupt is increases to ~200us

this is my param configuration 

//LINE_SIZE_32BITS = 80, LINE_SIZE_32BITS_KEYSTONE1 = 256

ParamSetupXmt.aCntbCnt = CSL_EDMA3_CNT_MAKE(LINE_SIZE_32BITS*4,1); 
ParamSetupXmt.linkBcntrld = CSL_EDMA3_LINKBCNTRLD_MAKE(hParamPongXmt,1)

ParamSetupXmt.srcDstCidx = CSL_EDMA3_CIDX_MAKE(4*(LINE_SIZE_32BITS),((LINE_SIZE_32BITS_KEYSTONE1)*4));
ParamSetupXmt.cCnt = 8;

does this seam right ? am i missing something ? i went over this a lot of times while following the Ti training video, i cant seem to understand where this latency coming from.


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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