Texas Instruments TMS320C6457 DSP Fitness Equipment User Manual


 
Input config
params
Syst&Par
SF1 SF1
Extrinsics
TCP processing
TCPXEVT TCPXEVT TCPREVT TCPXEVT
MAP1
TCP processing
TCPXEVT
Input config
params
TCPXEVT TCPREVT
SF2
Syst&Par Extrinsics
SF2
TCPXEVT
2 subframes
TCPXEVT
Input config
params
TCPXEVT
SF1
Syst&Par Apriori
SF1
TCPXEVT TCPREVT
Extrinsics
SF1
TCPXEVT TCPXEVT
Input config
params
TCPXEVT
ExtrinsicsSyst&Par
SF2
Apriori
SF2
TCPXEVT TCPREVT
SF2
TCPXEVT
MAP 1.2
2 subframes
TCP processing
TCP processing
12DebugMode:PauseAfterEachMap
13ErrorsandStatus
13.1Errors
13.1.1ErrorStatus:ERR
www.ti.com
DebugMode:PauseAfterEachMap
Figure101.TCP2EventsGenerationinShared-Processing(SP)Mode
TheTCPEXEregisterstarts,resets,andplacesTCP2intodebugmode.WritingthefollowingtoTCPEXE
willplaceTCP2intothedefinedmodes.
0=noinstruction.Valueatresetorvaluewrittenbythecoprocessorwhenpreviousinstructionisread
anditsexecutionisongoing.DSPmaytestthestatuswordintheoutputcontrolmemorytocheckifthe
instructionisbeingexecuted.
1=start.TheC6457CPUrequeststhecoprocessortostartaprocessingblock.Thefirstactionofthe
coprocessoristostopanyoftheongoingprocessing,resetallitspointersandstartanewprocessby
generatingthefirstXEVTtotriggerEDMA3transferoftheinputcontrolwords.
4=debugmode.NormalinitializationandwaitinMAPstate0.
5=debugmode.ExecuteoneMAPdecodeandwaitinMAPstate6.
6=debugmode.ExecuteremainingMAPdecodesandcompletenormalending.
7=SOFTRESET.SoftresetallTCP2registers,exceptforendianness,execution,emulationregister,
andallotherinternalregisters.
TheTCP2errorregister(TCPERR)flagsanyerrorsthatoccurredintheTCP2.Oncetheerrorsare
flagged,theTCP2stops,andaTCP2_INTinterruptisgenerated.TCP2_INThasaninterruptselector
valueof31.Fordetailsonhowtosetupinterrupts,seetheTMS320C64x+MegamoduleReferenceGuide
(SPRU871).
ReadingTCPERRresetsbothTCPERRandtheTCP2statusregister(TCPSTAT)totheirdefaultvalues;
thatis,theTCP2waitsforanewSTARTcommand.
TheERRbitissetto1incaseoferror.
SPRUGK1March2009TMS320C6457Turbo-DecoderCoprocessor275
SubmitDocumentationFeedback