Texas Instruments TMS320TCI648x Network Card User Manual


 
www.ti.com
SRIOFunctionalDescription
Table14.LSUControl/CommandRegisterFields(continued)
LSURegisterFieldRapidIOPacketHeaderField
DestIDRapidIOdestinationIDfieldspecifyingthetargetdevice.
PacketType4MSBs:4-bitftypefieldforallpackets
4LSBs:4-bittransfieldforpackettypes2,5,and8
OutPortIDNotavailableinRapidIOheader.
Indicatestheoutputportnumberforthepackettobetransmittedfrom.SpecifiedbytheCPU
alongwithNodeID.
DrbllInfoRapidIOdoorbellinfofieldfortype10packets.(seeTable23)
HopCountRapidIOhop_countfieldspecifiedforType8Maintenancepackets.
InterruptReqNotavailableinRapidIOheader.
CPUcontrolledrequestbitusedforinterruptgeneration.Typicallyusedinconjunctionwith
non-postedcommandstoalerttheCPUwhentherequesteddata/statusispresent.
0-Aninterruptisnotrequesteduponcompletionofcommand
1-Aninterruptisrequesteduponcompletionofcommand
Table15.LSUStatusRegisterFields
LSURegisterFieldFunction
BSYIndicatesstatusofthecommandregisters.
0-Commandregistersareavailable(writable)fornextsetoftransferdescriptors
1-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)
Statusavailableonlywhenbusy(BSY)signal=0.
FourLSUregistersetsexist.Thisallowsfouroutstandingrequestsforalltransactiontypesthatrequirea
response(i.e.,non-posted).Formulti-coredevices,softwaremanagestheusageoftheregisters.A
sharedconfigurationbusaccessesallregistersets.AsinglecoredevicecanutilizeallfourLSUblocks.
Figure13showsthetimingdiagramforaccessingtheLSUregisters.Thebusy(BSY)signalisdeasserted.
LSUn_REG1iswrittenonconfigurationbusclockcycleT0,LSUn_REG2iswrittenoncycleT1,
LSUn_REG3iswrittenoncycleT2,andLSUn_REG4iswrittenoncycleT3.Thecommandregister
LSUn_REG5iswrittenoncycleT4.TheextendedaddressfieldinLSUn_REG0isassumedtobeconstant
inthisexample.Uponcompletionofthewritetothecommandregister(nextclockcycleT5),theBSY
signalisasserted,atwhichpointtheprecedingcompletioncodeisinvalidandaccessestotheLSU
registersarenotallowed.Oncethetransactioncompletes(eitherasasuccessfultransmission,or
unsuccessfully,suchasflowcontrolpreventionorresponsetimeout)andanyrequiredinterruptservice
routineiscompleted,theBSYsignalisdeassertedandthecompletioncodebecomesvalidandthe
registersareaccessibleagain.
SPRUE13ASeptember2006SerialRapidIO(SRIO)37
SubmitDocumentationFeedback