Texas Instruments TMS320C6457 DSP Fitness Equipment User Manual


 
9.2.1.3InterleaverIndexesTransfer
www.ti.com
Programming
TCINTEN=0(Transfercompleteinterruptisdisabled)
TCC=1to63(TransferCompleteCode)
TCCMODE=0(NormalCompletion)
FWID=Don'tcare
STAT=0(Entryisupdatedasnormal)
SYNCDIM=0(AB-Sync,EacheventtriggersthetransferofBCNTarraysofACNTelements.)
DAM=0(Dstaddressingwithinanarrayincrements.DstisnotaFIFO.)
SAM=0(Srcaddressingwithinanarrayincrements.SourceisnotaFIFO.)
SOURCEADDRESS:Systematicsandparitiesstartaddress(mustbedouble-wordaligned)
ACNT=8*ceil(frame_length/2)
BCNT=1(NoofarraysoflengthACNT)
DESTINATIONADDRESS:TCPSP(50010000h)
SRCBIDX=0(Source2ndDimensionIndex)
DSTBIDX=0(Destination2ndDimensionIndex)
SRCCIDX=0(Source3rdDimensionIndex)
DSTCIDX=0(Destination3rdDimensionIndex)
CCNT=1(Noofframesinablock)
BCNTRLD:Don'tcare
LINKADDRESS:AddressintheEDMA3PaRAMoftheEDMA3parametersassociatedwiththe
systematicsandparities.
1.TheEDMA3interleavertabletransferparameters,ifthereisanewonetobeloadedintheTCP2
(INTERbitisset)
2.TheEDMA3inputconfigurationparameterstransferparametersofthenextuser-channel,ifthereis
onereadytobedecodedandnointerleavertabletobeloadedintheTCP2(INTERbitiscleared)
3.DummyDMAtransferparameters,iftherearenomoreuserchannelsreadytobedecoded[for
informationonhowtosetupadummyXfer,seetheTMS320C6457DSPEnhancedDirectMemory
Access(EDMA3)ControllerReferenceGuide(SPRUGK6)].DonotlinktoaNULLtransfer,asthe
secondaryeventregistersetstheeventflagforEvent29.ThefinalTCPXEVTisgenerateduponthe
readingofthedecisionsandoutputregisters,whichisintendedtotransfertheinputconfigurationof
thenextuserchannel.IfaNULLtransferlinkisinplace,thefinalTCPXEVTwillsettheevent29flag
ofSERandnofurtherTCPexecutionwilloccuruntilitiscleared.
ThisEDMA3transfertotheinterleavermemoryisaTCPXEVTframe-synchronizedtransfer.The
parametersshouldbesetas:
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=0(A-Sync.EacheventtriggersthetransferofACNTelements.)
DAM=0(Dstaddressingwithinanarrayincrements.DstisnotaFIFO.)
SAM=0(Srcaddressingwithinanarrayincrements.SourceisnotaFIFO.)
SOURCEADDRESS:Interleavertablestartaddress(mustbedouble-wordaligned)
ACNT=8*ceil((frame_length+3)/4))(Noofbytesinanarray)
BCNT=1(NoofarraysoflengthACNT)
DESTINATIONADDRESS:TCPINTER(50050000h)
SPRUGK1March2009TMS320C6457Turbo-DecoderCoprocessor267
SubmitDocumentationFeedback