Texas Instruments TMS320C645X Musical Instrument Amplifier User Manual


 
www.ti.com
SRIOFunctionalDescription
Table13.Control/CommandRegisterFieldMapping(continued)
Control/CommandRegisterRapidIOPacketHeaderField
Field
PacketType4msb=4bftypefieldforallpacketsand
4lsb=4btransfieldforpackettypes2,5,8.
OutPortIDNotavailableinRapidIOheader.
Indicatestheoutputportnumberforthepackettobetransmittedfrom.SpecifiedbytheCPU
alongwithNodeID.
DrbllInfoRapidIOdoorbellinfofieldfortype10packets.
HopCountRapidIOhop_countfieldspecifiedforType8Maintenancepackets.
InterruptReqNotavailableinRapidIOheader.
CPUcontrolledrequestbitusedforinterruptgeneration.Typicallyusedinconjunctionwith
non-postedcommandstoalerttheCPUwhentherequesteddata/statusispresent.
0b-Aninterruptisnotrequesteduponcompletionofcommand
1b-Aninterruptisrequesteduponcompletionofcommand
Table14.StatusFields
StatusFieldFunction
BSYIndicatesstatusofthecommandregisters.
0b-Commandregistersareavailable(writable)fornextsetoftransferdescriptors
1b-Commandregistersarebusywithcurrenttransfer
CompletionCodeIndicatesthestatusofthependingcommand.
000bTransactioncomplete,noerrors(Posted/Non-posted)
001bTransactiontimeoutoccurredonNon-postedtransaction
010bTransactioncomplete,packetnotsentduetoflowcontrolblockade(Xoff)
011bTransactioncomplete,non-postedresponsepacket(type8and13)containedERRORstatus,or
responsepayloadlengthwasinerror
100bTransactioncomplete,packetnotsentduetounsupportedtransactiontypeorinvalidprogramming
encodingforoneormoreLSUregisterfields
101bDMAdatatransfererror
110bRetryDOORBELLresponsereceived,orAtomicTest-and-swapwasnotallowed(semaphorein
use)
111bTransactioncomplete,packetnotsentduetounavailableoutboundcreditatgivenpriority
(1)
(1)
StatusavailableonlywhenBsysignal=0.
FourLSUregistersetsexist.Thisallowsfouroutstandingrequestsforalltransactiontypesthatrequirea
response(i.e.,non-posted).Formulti-coredevices,softwaremanagestheusageoftheregisters.A
sharedconfigurationbusaccessesallregistersets.AsinglecoredevicecanutilizeallfourLSUblocks.
Figure11showsthetimingdiagramforaccessingtheLSUregisters.Bsysignalisdeasserted.LSU_Reg1
iswrittenonconfigurationbusclockcycleT0,LSU_Reg2iswrittenoncycleT1,LSU_Reg3iswrittenon
cycleT2,LSU_Reg4iswrittenoncycleT3.ThecommandregisterLSU_Reg5iswrittenoncycleT4.The
extendedaddressfieldinLSU_Reg0isassumedtobeconstantinthisexample.Uponcompletionofthe
writetothecommandregister(nextclockcycleT5),theBsysignalisasserted,atwhichpointthe
precedingcompletioncodeisinvalidandaccessestotheLSUregistersarenotallowed.Oncethe
transactioncompletes(eitherasasuccessfultransmission,orunsuccessfully,suchasflowcontrol
preventionorresponsetimeout)andanyrequiredinterruptserviceroutineiscompleted,theBsysignalis
deassertedandthecompletioncodebecomesvalidandtheregistersareaccessibleagain.
34SerialRapidIO(SRIO)SPRU976March2006
SubmitDocumentationFeedback