www.ti.com
2.3.9.1TranslationforMMRspace
A0
A0
A2
A2
A1
A1
A3
A3
L2offset0x0
DSP definedMMR
offset0x1000
Byte
lane0
31
Byte
lane3
DMA 32b
0
2.3.9.2EndianConversion(TMS320TCI6482)
RapidIOdefinedbitpositions
A0 A1 A2 A3
310
MMRoffset0x0000
B0 B1 B2 B3
MMRoffset0x0004
C0
C1 C2 C3
MMRoffset0x0008
D0
D1 D2 D3
MMRoffset0x000C
RapidIO
defined
MMR
offsets
A0A1A2A3B0B1B2B3C0C1C2C3D0D1D2D3
Headerfields
Type8
Response
A0
A1 A2 A3
Byte
address3
Byte
Byte
address0
L2offset0x0
B0 B1 B2 B3
L2offset0x4
C0 C1 C2 C3
L2offset0x8
D0
D1 D2 D3
L2offset0xC
BigEndian
LittleEndian
A3
A2 A1 A0
Byte
address0address3
L2offset0x0
B3 B2 B1 B0
L2offset0x4
C3 C2 C1 C0
L2offset0x8
D3
D2 D1 D0
L2offset0xC
Double-word0 Double-word1
ThedesiredoperationistosendaType8maintenancerequesttoanexternaldevice.
Thegoalistoread16BofRapidIOMMR fromanexternaldevice,startingoffset0x0000.
ThisoperationinvolvestheLSUblockandutilizestheDMA fortransferringtheresponse
packetpayload.
SRIOFunctionalDescription
TherearenoEndiantranslationrequirementsforaccessingthelocalMMRspace.Regardlessofthe
devicememoryEndianconfiguration,allconfigurationbusaccessesareperformedon32-bitvaluesata
fixedaddressposition.Thebitpositionsinthe32-bitwordaredefinedbythisspecification.Thismeans
thatamemoryimagewhichwillbecopiedtoaMMRisidenticalbetweenLittleEndianandBigEndian
configurations.Configurationbusreadsareperformedinthesamemanner.Figure30illustratesthe
concept.ThedesiredoperationistolocallyupdateaserialRapidIOMMR(offset1000h)withavalueof
A0A1A2A3h,usingtheconfigurationbus.
Figure30.ConfigurationBusExample
WhenaccessingRapidIOdefinedMMRwithinanexternaldevice,RapidIOallows4bytes,8bytes,orany
multipleofadouble-wordaccess(upto64bytes)fortype8(maintenance)packets.Theperipheralonly
supports4-byteaccessesasthetarget,butcangenerateallsizesofrequestpackets.RapidIOisdefined
asBigEndianonly,andhasdouble-wordalignedBigEndianpacketpayloads.
TheDMA,however,supportsbytewideaccesses.TheperipheralperformsEndianconversiononthe
payloadifLittleEndianisusedonthedevice.Thisconversionisnotonlyapplicablefortype8packets,but
isalsorelevantforalloutgoingpayloadsofNWRITE,NWRITE_R,SWRITE,NREAD,andmessage
packets.ThismeansthatthememoryimageisdifferentbetweenLittleEndianandBigEndian
configurations,asshowninFigure31.
Figure31.DMAExample
SPRUE13A–September2006SerialRapidIO(SRIO)69
SubmitDocumentationFeedback