Texas Instruments TMS320C6457 DSP Fitness Equipment User Manual


 
9.2ProgrammingStandalone(SA)Mode
9.2.1EDMA3Programming
9.2.1.1InputConfigurationParametersTransfer
9.2.1.2SystematicsandParitiesTransfer
Programming
www.ti.com
Table42highlightstherequiredEDMA3resourcestoperformastandalone(SA)modedecoding.Each
setofEDMA3parametersusestheEDMA3linkingcapabilities.Section9.2.1detailstheEDMA3transfers
programmingandSection9.2.2detailstheinputparametersprogramming.Anynotificationmechanismto
flagthatauser-channelhasjustbeendecodedislefttoyou.Suggestedimplementationistousethe
EDMA3interruptgenerationcapabilities[seetheTMS320C6457DSPEnhancedDirectMemoryAccess
(EDMA3)ControllerReferenceGuide(SPRUGK6)]andprogramtheEDMA3togenerateaninterruptafter
theuser-channel'slastTCPREVTsynchronizedEDMA3transferhascompleted.
ThisEDMA3transfertotheinputconfigurationparametersisa16-wordTCPXEVTframesynchronized
transfer.Theparametersshouldbesetas:
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:Userinputconfigurationparametersstartaddress(mustbedouble-word
aligned)
ACNT=64(Noofbytesinanarray-1632bitInputConfigurationstobetransferred)
BCNT=1(NoofarraysoflengthACNT)
DESTINATIONADDRESS:TCPIC0(50000000h)
SRCBIDX=0(Source2ndDimensionIndex)
DSTBIDX=0(Destination2ndDimensionIndex)
SRCCIDX=0(Source3rdDimensionIndex)
DSTCIDX=0(Destination3rdDimensionIndex)
CCNT=1(Noofframesinablock)
BCNTRLD:Don'tcare
LINKADDRESS:AddressintheEDMA3PaRAMoftheEDMA3parametersassociatedwiththe
systematicsandparities
Uponcompletion,thisEDMA3transferislinkedtotheEDMA3forsystematicsandparitiestransfer
parameters.
ThisEDMA3transfertothesystematicsandparitiesmemoryisaTCPXEVTframe-synchronizedtransfer.
Theparametersshouldbesetas:
OPTIONS:
ITCCEN=0(Intermediatetransfercompletechainingisdisabled)
TCCEN=0(Transfercompletechainingisdisabled)
ITCINTEN=0(Intermediatetransfercompleteinterruptisdisabled)
66TMS320C6457Turbo-DecoderCoprocessor2SPRUGK1March2009
SubmitDocumentationFeedback