Texas Instruments TMS320TCI648x Network Card User Manual


 
www.ti.com
LSU _REG0n RapidIO AddressMSB Control
31
RapidIO AddressLSB/Config_offset Control
31 0
LSU _REG1n
DSP Address Control
31 0
LSU _REG2n
RSV Control
31 0
LSU _REG3n
12 11
Byte_count
OutPortID Control
31 0
LSU _REG4n
1
7
InterruptReq
30
Priority
29 28
xambs
27 26
IDSize
25 24
DestID
23 8
RSV
DrbllInfo Command
31 0
LSU _REG5n
8 7
Packet Type
16
HopCount
15
RSV
31
LSU _REG6n
1
Bsy
5
CompletionCode
4
Status
0
0
SRIOFunctionalDescription
Figure12.Load/StoreRegistersforRapidIO(AddressOffset:LSU1400h–418h,LSU2420h–438h,LSU3
440h–458h,LSU4460h-478h)
ThemappingofLSUregisterfieldstoRapidIOpacketheaderfieldsisexplainedinTable14andTable15.
Table14hasthefieldsofthecontrolandcommandregisters(LSUn_REG0throughLSUn_REG5),and
Table15hasthefieldsofthestatusregister(LSUn_REG6).
Table14.LSUControl/CommandRegisterFields
LSURegisterFieldRapidIOPacketHeaderField
RapidIOAddressMSB32-bitExtendedAddressFieldsPacketTypes2,5,and6
RapidIOAddress
1.32-bitAddress–PacketTypes2,5,and6(WillbeusedinconjunctionwithBYTE_COUNTto
LSB/Config_offset
create64-bitalignedRapidIOpacketheaderaddress)
2.24-bitConfig_offsetFieldMaintenancePacketsType8(Willbeusedinconjunctionwith
BYTE_COUNTtocreate64-bitalignedRapidIOpacketheaderConfig_offset).The2LSBsof
thisfieldmustbezerosincethesmallestconfigurationaccessis4bytes.
DSPAddress32-bitDSPbyteaddress.NotavailableinRapidIOHeader.
Byte_CountNumberofdatabytestoRead/Write-upto4Kbytes.(UsedinconjunctionwithRapidIOaddress
tocreateWRSIZE/RDSIZEandWDPTRinRapidIOpacketheader.)
000000000000b4Kbytes
000000000001b1byte
000000000010b2bytes
...
111111111111b4095bytes
(Maintenancerequestsarelimitedto4bytes)
IDSizeRapidIOttfieldspecifying8-or16-bitDeviceIDs.
00b8-bitdeviceIDs
01b16-bitdeviceIDs
10b-reserved
11b-reserved
PriorityRapidIOpriofieldspecifyingpacketpriority(0=lowest,3=highest).Requestpacketsshouldnot
besentataprioritylevelof3toavoidsystemdeadlock.Itistheresponsibilityofthesoftwareto
assigntheappropriateoutgoingpriority.
XamsbsRapidIOxamsbfieldspecifyingtheextendedaddressMSBs.
36SerialRapidIO(SRIO)SPRUE13ASeptember2006
SubmitDocumentationFeedback