Texas Instruments TMS320C645X Musical Instrument Amplifier User Manual


 
www.ti.com
Switch
Switch
Endpoint
Endpoint
C0
C0
B0
B0
B2
B2
A1
A1
B1
B1
A0
A0
Open
Open
Open
Open
Open
Open
Open
Full
Open
Open
Full
Full
Retry
Retry
Retry
Retry
Retry
Retry
Accept
Retry
Retry
Retry
Action
Action
Retry
Retry
Scenario A - Default
Scenario B - In order mode
Data flow destined for the
same Rx Queue
Rx Queue Status when
packet arrives
Rx Queue Status when
packet arrives
Records SourceID/letter of
first retry packet
SRIOFunctionalDescription
Figure20.RXCPPIModeExplanation
Inaddition,multiplemessagescanbeinterleavedatthereceiveportduetoorderingwithinaconnected
switch’soutputqueue.Thiscanoccurwhenusingasingleormultiplepriorities.TheRXCPPIblockmust
handlesimultaneousinterleavedmulti-segmentmessages.Thisimpliesthatstateinformation(write
pointersandsrcID)mustbemaintainedoneachsimultaneousmessagetoproperlystorethesegmentsin
memory.Thenumberofsimultaneoustransactionssupporteddirectlyimpactsthenumberofstatestobe
stored,andthesizeofthebufferdescriptormemoryoutsidetheperipheral.Withthisinmind,the
peripheral’ssupportedbufferdescriptorSRAMisparameterizable.Aminimumsizeof1.25KBis
recommended,whichwillallowupto64bufferdescriptorstobestoredatanygiventimeforonecore.
Thesebufferdescriptorscanbeconfiguredtosupportanycombinationofsingleandmulti-segment
messages.Forexample,iftheapplicationonlyhandlessingle-segmentmessages,all64bufferscanbe
allottedtothatqueue.NotethatagivenRXqueuecancontainpacketsofallprioritieswhichhavebeen
directedfromanyofthereceiveports.
ACPUmaywishtostopreceivingmessagesandreclaimbuffersbelongingtoaspecificqueue.Thisis
calledqueueteardown.TheCPUinitiatesaRXqueueteardownbywritingtotheRXQueueTeardown
commandregister.
SPRU976March2006SerialRapidIO(SRIO)47
SubmitDocumentationFeedback