www.ti.com

SRIO Functional Description

Figure 12. Load/Store Registers for RapidIO (Address Offset: LSU1 400h–418h, LSU2 420h–438h, LSU3

440h–458h, LSU4 460h-478h)

LSUn_REG0

LSUn_REG1

LSUn_REG2

RapidIO Address￿MSB

 

Control

31

0

 

 

 

RapidIO Address￿LSB/Config_offset

 

Control

31

0

 

 

 

DSP Address

 

Control

31

0

LSUn_REG3

RSV

 

Byte_count

 

Control

31

12

11

0

LSUn_REG4

OutPortID

Priority

xambs

ID￿Size

DestID

 

RSV

 

Interrupt￿Req

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31

30

29

28

27

26

25

24

23

8

 

7

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LSUn_REG5

 

Drbll￿Info

 

 

 

 

Hop￿Count

 

 

Packet Type

 

Command

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31

 

 

 

16

15

 

 

 

 

 

 

8

7

0

 

 

 

 

 

 

 

 

 

 

 

LSUn_REG6

 

RSV

 

 

 

Completion￿Code

 

 

Bsy

 

Status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31

 

 

 

5

4

 

 

 

 

 

 

1

0

 

 

The mapping of LSU register fields to RapidIO packet header fields is explained in Table 14 and Table 15. Table 14 has the fields of the control and command registers (LSUn_REG0 through LSUn_REG5), and Table 15 has the fields of the status register (LSUn_REG6).

 

 

Table 14. LSU Control/Command Register Fields

 

LSU Register Field

RapidIO Packet Header Field

 

RapidIO Address MSB

32-bit Extended Address Fields – Packet Types 2, 5, and 6

 

RapidIO Address

1. 32-bit Address– Packet Types 2, 5, and 6 (Will be used in conjunction with BYTE_COUNT to

 

LSB/Config_offset

 

create 64-bit aligned RapidIO packet header address)

 

 

 

 

2. 24-bit Config_offset Field – Maintenance Packets Type 8 (Will be used in conjunction with

 

 

BYTE_COUNT to create 64-bit aligned RapidIO packet header Config_offset). The 2 LSBs of

 

 

this field must be zero since the smallest configuration access is 4 bytes.

 

DSP Address

32-bit DSP byte address. Not available in RapidIO Header.

 

Byte_Count

Number of data bytes to Read/Write - up to 4K bytes. (Used in conjunction with RapidIO address

 

 

to create WRSIZE/RDSIZE and WDPTR in RapidIO packet header.)

 

 

000000000000b – 4K bytes

 

 

000000000001b – 1 byte

 

 

000000000010b – 2 bytes

 

 

. . .

 

 

111111111111b – 4095 bytes

 

 

(Maintenance requests are limited to 4 bytes)

 

ID Size

RapidIO tt field specifying 8- or 16-bit DeviceIDs.

 

 

00b – 8-bit deviceIDs

 

 

01b – 16-bit deviceIDs

 

 

10b - reserved

 

 

11b - reserved

 

Priority

RapidIO prio field specifying packet priority (0 = lowest, 3 = highest). Request packets should not

 

 

be sent at a priority level of 3 to avoid system deadlock. It is the responsibility of the software to

 

 

assign the appropriate outgoing priority.

 

Xamsbs

RapidIO xamsb field specifying the extended address MSBs.

36

Serial RapidIO (SRIO)

SPRUE13A –September 2006

Submit Documentation Feedback

Page 36
Image 36
Texas Instruments TMS320TCI648x manual LSU Control/Command Register Fields, LSU Register Field RapidIO Packet Header Field