Texas Instruments TMS320C6457 DSP Fitness Equipment User Manual


 
9.2.1.4Hard-DecisionsTransfer
Programming
www.ti.com
SRCBIDX=0(Source2ndDimensionIndex)
DSTBIDX=0(Destination2ndDimensionIndex
SRCCIDX=0(Source3rdDimensionIndex)
DSTCIDX=0(Destination3rdDimensionIndex)
CCNT=1(Noofframesinablock)
BCNTRLD:Don'tcare
LINKADDRESS:Seecases1and2below
Uponcompletion,thisEDMA3transferislinkedtooneofthefollowing:
1.TheEDMA3inputconfigurationparameterstransferparametersofthenextuser-channel,ifthereis
onereadytobedecoded
2.DummyDMAtransferparameters,iftherearenomoreuserchannelsreadytobedecoded[for
informationonhowtosetupadummyXfer,seetheTMS320C6457DSPEnhancedDirectMemory
Access(EDMA3)ControllerReferenceGuide(SPRUGK6)].DonotlinktoaNULLtransfer,asthe
secondaryeventregistersetstheeventflagforEvent29.ThefinalTCPXEVTisgenerateduponthe
readingofthedecisionsandoutputregisters,whichisintendedtotransfertheinputconfigurationof
thenextuserchannel.IfaNULLtransferlinkisinplace,thefinalTCPXEVTwillsettheevent29flag
ofSERandnofurtherTCPexecutionwilloccuruntilitiscleared.
ThisEDMA3transfertotheharddecisionsbufferisaTCPREVTframe-synchronizedtransfer.The
parametersshouldbesetas:
OPTIONS:
ITCCEN=0(Intermediatetransfercompletechainingisdisabled)
TCCEN=0(Transfercompletechainingisdisabled)
ITCINTEN=0(Intermediatetransfercompleteinterruptisdisabled)
TCINTEN=0(Transfercompleteinterruptisdisabled)
TCC=1to63(TransferCompleteCode)
TCCMODE=0(NormalCompletion)
FWID=Don'tcare
STAT=0(Entryisupdatedasnormal)
SYNCDIM=0(A-Sync.EacheventtriggersthetransferofACNTelements.)
DAM=0(Dstaddressingwithinanarrayincrements.DstisnotaFIFO.)
SAM=0(Srcaddressingwithinanarrayincrements.SourceisnotaFIFO.)
SOURCEADDRESS:TCPHD(50060000h)
ACNT=8*ceil(frame_length/64)(Noofbytesinanarray.Notethatthisimpliesthatthe
destinationlocationmusthave8*ceil(frame_length/64)bytesallocatedfordecisions.)
BCNT=1(NoofarraysoflengthACNT)
DESTINATIONADDRESS:Userharddecisionsstartaddress(mustbedouble-wordaligned)
ELEMENTINDEX:Don'tcare
SRCBIDX=0(Source2ndDimensionIndex)
DSTBIDX=0(Destination2ndDimensionIndex)
SRCCIDX=0(Source3rdDimensionIndex)
DSTCIDX=0(Destination3rdDimensionIndex)
CCNT=1(Noofframesinablock)
BCNTRLD:Don'tcare
LINKADDRESS:Seecases1,2,and3below
Uponcompletion,thisEDMA3transferislinkedtooneofthefollowing:
1.TheEDMA3harddecisionstransferparametersofthenextuser-channel,ifthereisonereadytobe
decodedandtheOUTFbitiscleared.
2.TheEDMA3outputparameterstransferparameters,iftheOUTFbitisset.
68TMS320C6457Turbo-DecoderCoprocessor2SPRUGK1March2009
SubmitDocumentationFeedback