Texas Instruments TMS320C645X Musical Instrument Amplifier User Manual


 
www.ti.com
SRIOFunctionalDescription
Table20.TXBufferDescriptorFieldDefinitions(continued)
FieldDescription
ownershipOwnership:Indicatesownershipofthemessageandisvalidonlyonsop.Thisbitisset
bythehostandclearedbytheportwhenthemessagehasbeentransmitted.Thehost
usesthisbittoreclaimbuffers.
0:Themessageisownedbythehost
1:Themessageisownedbytheport
eoqEndOfQueue:Setbytheporttoindicatethatallmessagesinthequeuehavebeen
transmittedandtheTXqueueisempty.Endofqueueisdeterminedbytheportwhen
thenext_descriptor_pointeriszeroonaneopbuffer.Thisbitisvalidonlyoneop.
0:TheTxqueuehasmoremessagestotransfer.
1:TheDescriptorbufferisthelastbufferinthelastmessageinthequeue.
Teardown_CompleteTeardownComplete:Setbytheporttoindicatethatthehostcommandedteardown
processiscomplete,andthechannelbuffersmaybereclaimedbythehost.
0:Theporthasnotcompletedtheteardownprocess.
1:Theporthascompletedthecommandedteardownprocess.
retry_countMessageRetryCount:SetbytheCPUtoindicatethetotalnumberofretriesallowed
forthismessage,includingallsegments.Decrementedbytheporteachtimea
messageisretried.
000000b:InfiniteRetries
000001b:RetryMessage1time
000002b:RetryMessage2times
...
111111b:RetryMessage63times
ccCompletionCode:
000:GoodCompletion.Messagereceivedadoneresponse.
001:Transactionerror.Messagereceivedanerrorresponse.*
010:ExcessiveRetries.Messagereceivedmorethanretry_countretryresponses.
011:Transactiontimeout.Transactiontimerelapsedwithoutanymessageresponse
beingreceived.
100:DMAdatatransfererror
101:DescriptorProgrammingerror
110:TXQueueTeardownComplete
111:OutboundCreditnotavailable.
*AnERRORtransfercompletioncodeindicatesanerrorinoneormoresegmentsofa
transmittedmulti-segmentmessage.
message_lengthMessageLength:MessageLengthWrittenbytheCPUtospecifythenumberof
double-wordstotransmit.Messagepayloadsarelimitedtoamaximumsizeof512
double-words(4096bytes).
000000000b:512doublewords
000000001b:1doubleword
000000010b:2doublewords
...
111111111b:511doublewords
Dest_idDestinationNodeId:UniqueNodeidentifierfortheDestinationofthemessage.
priMessagePriority:SpecifiestheSRIOpriorityatwhichthemessagewillbesent.
Messagesshouldnotbesentataprioritylevelof3becausethemessageresponseis
requiredtopromotetheprioritytoavoidsystemdeadlock.Itistheresponsibilityofthe
softwaretoassigntheappropriateoutgoingpriority.
50SerialRapidIO(SRIO)SPRU976March2006
SubmitDocumentationFeedback