beautypg.com

Mapping – Texas Instruments TMS320C645X User Manual

Page 33

background image

www.ti.com

LSU_Reg0

RapidIO Address MSB

Control

31

RapidIO Address LSB/Config_offset

Control

31

0

LSU_Reg1

DSP Address

Control

31

0

LSU_Reg2

RSV

Control

31

0

LSU_Reg3

12 11

Byte_count

OutPortID

Control

31

0

LSU_Reg4

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_Reg5

8 7

Packet Type

16

Hop Count

15

RSV

31

LSU_Reg6

1

Bsy

5

Completion Code

4

Status

0

0

SRIO Functional Description

Figure 10. Load/Store Registers for RapidIO (Address Offset: LSU1 0x400-0x418, LSU2 0x420-0x438,

LSU3 0x440-0x458, LSU4 0x460-0x478)

Mapping of command register fields to RapidIO packet header fields is as follows:

Table 13. Control/Command Register Field Mapping

Control/Command Register

RapidIO Packet Header Field

Field

RapidIO Address MSB

32b Ext Address Fields – Packet Types 2,5, and 6

RapidIO Address

1.

32b Address– Packet Types 2,5, and 6 (Will be used in conjunction with BYTE_COUNT to

LSB/Config_offset

create 64b aligned RapidIO packet header address)

2.

24b Config_offset Field – Maintenance Packets Type 8 (Will be used in conjunction with
BYTE_COUNT to create 64b aligned RapidIO packet header Config_offset). The 2 LSB of
this field must be zero since the smallest configuration access is 4B.

DSP Address

32b DSP byte address. Not available in RapidIO Header.

Byte_Count

Number of data bytes to Read/Write - up to 4KB. (Used in conjunction with RapidIO address to
create WRSIZE/RDSIZE and WDPTR in RapidIO packet header.)

000000000000b – 4KB

000000000001b – 1B

000000000010b – 2B

. . .

111111111111b – 4095B

(Maintenance requests are limited to 4B)

ID Size

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

00b – 8b deviceIDs

01b – 16b 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.

Xambs

RapidIO xambs field specifying extended address MSB.

DestID

RapidIO destinationID field specifying target device.

SPRU976 – March 2006

Serial RapidIO (SRIO)

33

Submit Documentation Feedback