Texas Instruments TMS320C6457 DSP Fitness Equipment User Manual


 
9.3.1.3APrioriTransfer
Programming
www.ti.com
Wordcount=2*ceil(frame_length/2)
BCNT=(Wordcount/2)(NoofarraysoflengthACNT)
DESTINATIONADDRESS:TCPSP(50010000h)
SRCBIDX=8(Source2ndDimensionIndex)
DSTBIDX=8(Destination2ndDimensionIndex)
SRCCIDX=8(Source3rdDimensionIndex)
DSTCIDX=8(Destination3rdDimensionIndex)
CCNT=8(Noofframesinablock)
BCNTRLD:Don'tcare
LINKADDRESS:Seecases1and2below
Uponcompletion,thisEDMA3transferislinkedtooneofthefollowing:
1.TheEDMA3inputconfigurationparameterstransferparametersofthenextuser-channel,ifthereis
onereadytobedecodedandthecurrentdecodingisaMAP0fromthefirstiteration.
2.DummyEDMA3transferparameters,iftherearenomoreuserchannelsreadytobedecoded.
ThisEDMA3transfertotheapriorimemoryisaTCPXEVTchainedandframe-synchronizedtransfer.This
EDMA3transferischainedfromthesystematicandparitydatatransferandoccursonlywhenexecuting
anyMAPbuttheMAP0ofthefirstiteration;thatis,theOPMODbitsinTCPIC0mustbesetto2h,4h,and
6hrespectively.Theparametersshouldbesetas:
OPTIONS:
ITCCEN=0(Intermediatetransfercompletechainingisdisabled)
TCCEN=0(Transfercompletechainingisdisabled)
ITCINTEN=0(Intermediatetransfercompleteinterruptisdisabled)
TCINTEN=1(Transfercompleteinterruptisenabled)
TCC=1to63(TransferCompleteCode)
TCCMODE=0(NormalCompletion)
FWID=Don'tcare
STAT=0(Entryisupdatedasnormal)
SYNCDIM=1(A-Sync.EacheventtriggersthetransferofACNTelements.)
DAM=0(Dstaddressingwithinanarrayincrements.DstisnotaFIFO.)
SAM=0(Srcaddressingwithinanarrayincrements.SourceisnotaFIFO.)
SOURCEADDRESS:Aprioristartaddress(mustbedouble-wordaligned)
IftheOPMOD==FIRST_SUB_FRAME
ACNT=8*ceil((frame_length+prolog_length)/8)(Noofbytesinanarray)
IftheOPMOD==MIDDLE_SUB_FRAME
ACNT=8*ceil((frame_length+2*prolog_length)/8)(Noofbytesinanarray)
IftheOPMOD==LAST_SUB_FRAME
ACNT=8*ceil((frame_length+prolog_length)/8)(Noofbytesinanarray)
BCNT=1(NoofarraysoflengthACNT)
DESTINATIONADDRESS:TCPAP(50040000h)
SRCBIDX=0(Source2ndDimensionIndex)
DSTBIDX=0(Destination2ndDimensionIndex)
SRCCIDX=0(Source3rdDimensionIndex)
DSTCIDX=0(Destination3rdDimensionIndex)
CCNT=1(Noofframesinablock)
BCNTRLD:Don'tcare
LINKADDRESS:Seecases1and2below
Uponcompletion,thisEDMA3transferislinkedtooneofthefollowing:
72TMS320C6457Turbo-DecoderCoprocessor2SPRUGK1March2009
SubmitDocumentationFeedback