Page 3 - Contents
Contents Preface .............................................................................................................................. 13 1 Overview .................................................................................................................. 14 1.1 General RapidIO Syst...
Page 10 - RapidIO Documents and Links
List of Tables 1 RapidIO Documents and Links ........................................................................................... 18 2 Packet Type ................................................................................................................. 23 3 Pin Description ..............
Page 13 - Read This First; About This Manual; TMS320C6455 Technical Reference (literature number; Trademarks
Preface SPRU976 – March 2006 Read This First About This Manual This document describes the Serial Rapid IO (SRIO) on the TMS320C645x devices. Notational Conventions This document uses the following conventions. • Hexadecimal numbers are shown with the suffix h. For example, the following number is 4...
Page 14 - Overview; General RapidIO System; RapidIO Architectural Hierarchy; Figure 1
1 Overview 1.1 General RapidIO System User's Guide SPRU976 – March 2006 Serial RapidIO (SRIO) The RapidIO peripheral used in the TMS320C645x is called a serial RapidIO (SRIO). This chapterdescribes the general operation of a RapidIO system, how this module is connected to the outside world,the defin...
Page 15 - Figure 1. RapidIO Architectural Hierarchy
www.ti.com Globally shared memory spec logical Future Message passing system I/O Logical specification Information necessary for the end pointto process the transaction (i.e., transactiontype, size, physical address) to end in the system (i.e., routing address) Information to transport packet from e...
Page 16 - RapidIO Interconnect Architecture; Figure 2; Figure 2. RapidIO Interconnect Architecture
www.ti.com Host Subsystem I/O Control Subsystem DSP Farm TDM,GMII, Utopia Communications Subsystem PCI Subsystem InfiniBand HCA ™ To System Area Network Memory Memory Memory Memory RapidIO RapidIO RapidIO RapidIO RapidIO Backplane PCI RapidIO RapidIO RapidIO RapidIO Switch Control Processor IO Proce...
Page 17 - RapidIO Feature Support in SRIO; Figure 3. Serial RapidIO Device to Device Interface Diagrams
www.ti.com Serial RapidIO 1x Device to 1x Device Interface Diagram Serial RapidIO 4x Device to 4x Device Interface Diagram 1x Device TD[0] TD[0] RD[0] RD[0] TD[0] TD[0] 1x Device RD[0] RD[0] RD[0-3] RD[0-3] 4x Device TD[0-3] RD[0-3] RD[0-3] TD[0-3] 4x Device TD[0-3] TD[0-3] 1.2 RapidIO Feature Suppo...
Page 18 - Features Not Supported:; Compliance with the Global Shared Memory specification (GSM); Document
www.ti.com 1.3 Standards 1.4 External Devices Requirements Overview Features Not Supported: • Compliance with the Global Shared Memory specification (GSM) • 8/16 LP-LVDS compatible • Destination support of RapidIO Atomic Operations • Simultaneous mixing of frequencies between 1X ports (all ports mus...
Page 19 - SRIO Functional Description; Peripheral Data Flow; Figure 4
www.ti.com 2 SRIO Functional Description 2.1 Overview SRIO Functional Description 2.1.1 Peripheral Data Flow This peripheral is designed to be an external slave module that is capable of mastering the internal DMA.This means that an external device can push (burst write) data to the DSP as needed, w...
Page 20 - Figure 4. SRIO Peripheral Block Diagram; Operation Sequence
www.ti.com 1.25-3.125 Gbps differential data Rx Clock recovery S2P 10bClk 8b/10b decode 8b Clock recovery Rx 8b 8b/10b decode 10bClk S2P Clock recovery Rx 8b 8b/10b decode 10bClk S2P Clock recovery Rx 8b 8b/10b decode 10bClk S2P PLL Tx Tx Tx Tx P2S P2S P2S P2S 8b 8b 8b 8b 10b 8b/10b coding Clk 8b/10...
Page 21 - Figure 5; Figure 5. Operation Sequence; Example Packet – Streaming Write
www.ti.com Initiator Request Packet Issued Operation Completed for Master Acknowledge Symbol Acknowledge Symbol Response Packet Forwarded Request Packet Forwarded Acknowledge Symbol Acknowledge Symbol Response Packet Issued Fabric Target Target Completes Operation OperationIssued By Master SRIO Func...
Page 22 - Control Symbols; Figure 7. Serial RapidIO Control Symbol Format
www.ti.com double-word n-1 acklD rsv prio tt ftype destID sourcelD address rsrv xamsbs double-word 0 double-word 1 ... double-word n-2 CRC PHY LOG TRA LOG TRA PHY 5 3 2 2 4 8 8 29 1 2 64 64 (n-4)*64 64 64 16 16 n*64+32 16 4 2 10 LOG PHY 10 TRA 2 4 9 * 6 4 + 32 LOG TRA 16 PHY 16 double-word 0 5 acklD...
Page 23 - details the handling of such packets.; Ftype; Packet type definition:
www.ti.com SRIO Functional Description The type of received packet determines how the packet routing is handled. Reserved or undefined packettypes are destroyed before being processed by the logical layer functional blocks. This prevents erroneousallocation of resources to them. Unsupported packet t...
Page 24 - Table 3; Table 3. Pin Description; Figure 8
www.ti.com 2.2 SRIO Pins 2.3 Functional Operation SRIO Functional Description The SRIO device pins are high-speed differential signals based on Current-Mode Logic (CML) switchinglevels. The transmit and receive buffers are self-contained within the clock recovery blocks. The referenceclock input is ...
Page 25 - Figure 8. SRIO Conceptual Block Diagram
www.ti.com Port 0 8 x 276 TX 8 x 276 RX 8 x 276 RX 8 x 276 TX Port 1 8 x 276 TX 8 x 276 RX Port 2 8 x 276 RX 8 x 276 TX Port 3 Physicallayerbuffers SERDES 0 SERDES 1 SERDES 2 SERDES 3 SERDESdifferentialsignals 4x mode data path TX buffering 32 x 276B 8 buffers per 1X port - all priorities 32 buffers...
Page 26 - SERDES and its Configurations; % operation. This provides for excellent power; Bit
www.ti.com SRIO Functional Description 2.3.2 SERDES and its Configurations SRIO offers many benefits to customers by allowing a scalable non-proprietary interface. With the use ofTI’s SERDES macros, the peripheral is very adaptable and bandwidth scalable. The same peripheral canbe used for all three...
Page 27 - Table 5. Line Rate versus PLL Output Clock Frequency; Table 6; Table 6. RATE Bit Effects
www.ti.com SRIO Functional Description Table 4. Bits of SERDES_CFGn_CNTL Register (0x120 - 0x12c) (continued) Bit Name Value Description 5:1 MPY PLL multiply. Select PLL multiply factors between 4 and 60. Multiply modes shown below. 0000 4x 0001 5x 0010 6x 0011 Reserved 0100 8x 0101 10x 0110 12x 011...
Page 28 - Here is the frequency range versus MPY:; Table 7. Frequency Range versus MPY; Enabling the Receiver
www.ti.com SRIO Functional Description Here is the frequency range versus MPY: Table 7. Frequency Range versus MPY MPY RIOCLK and RIOCLK Line Rate Range (Gbps) Range (MHz) Full Half Quarter 4x 250 - 425 2 - 3.4 1 - 1.7 0.5 - 0.85 5x 200 - 425 2 - 4.25 1 - 2.125 0.5 - 1.0625 6x 167 - 354.167 2 - 4.25...
Page 30 - Low Freq Gain; Enabling the Transmitter
www.ti.com SRIO Functional Description Table 9. EQ Bits CFGRX[22:19] Low Freq Gain Zero Freq (at e 28 (min)) 0000 Maximum - 0001 Adaptive Adaptive 001x Reserved 01xx Reserved 1000 Adaptive 1084MHz 1001 805MHz 1010 573MHz 1011 402MHz 1100 304MHz 1101 216MHz 1110 156MHz 1111 135MHz 2.3.2.3 Enabling th...
Page 32 - SERDES Configuration Example; DirectIO
www.ti.com Configuration/Status Register and Tables (32-bit) Output Buffers (64-bit) RapidIO Endpoint IT Generator ASIC Device RapidIO Endpoint L2 CPU Step 2. IT to CPU for end transfer completion Step 1. ASIC writes through RapidIO to L2 SRIO Functional Description 2.3.2.4 SERDES Configuration Exam...
Page 33 - Table 13. Control/Command Register Field Mapping; Control/Command Register
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 ...
Page 34 - Table 14. Status Fields; Status Field
www.ti.com SRIO Functional Description Table 13. Control/Command Register Field Mapping (continued) Control/Command Register RapidIO Packet Header Field Field Packet Type 4 msb = 4b ftype field for all packets and 4 lsb = 4b trans field for packet types 2,5,8. OutPortID Not available in RapidIO head...
Page 35 - Figure 11. LSU Registers Timing
www.ti.com LSU_Reg1 T0 T1 T2 T3 T4 T5 Tn Valid LSU_Reg2 Valid LSU_Reg3 Valid LSU_Reg4 Valid LSU_Reg5 Valid Rdy/BSY Completion Valid Valid After Transaction Completes SRIO Functional Description Figure 11. LSU Registers Timing The following code illustrates an LSU registers programming example. SRIO_...
Page 36 - Detailed Data Path Description
www.ti.com Source Address DMA Read Destination Address Count Byte Count DSP Address RSV Interrupt Req 0 0 1 7 23 8 DestID 25 24 ID Size 27 26 xambs 29 28 Priority OutPortID 31 30 Hop Count Drbll 31 16 15 Packet 8 7 0 RapioIO Address/Config_offset NodeID CRC 16 Count*8 payload 2 xamsbs 1 wr ptr 29 ad...
Page 37 - TX Operation
www.ti.com LSU2 LSU4 LSU3 LSU1 MMR command UDI interface Load/store module RapidIO transport and physical layers Port x transmission FIFO queues TX FIFO RX FIFO Peripheral boundary Config bus access Write transfer descriptors CPU I/O pins L2 memory = Shared resource for CPPI and MAU Shared TX data S...
Page 39 - RX Operation
www.ti.com SRIO Functional Description Segmentation: The LSU handles two types of segmentation of outbound requests. The first type is when the Byte_Countof Read/Write requests exceeds 256 bytes (up to 4KB). The second type is when Read/Write requestRapidIO address is non-64b aligned. In both cases,...
Page 40 - So the general flow is as follows:; Message Passing; The following rules exist for all CPPI traffic:
www.ti.com SRIO Functional Description So the general flow is as follows: • Previously, the control/command registers were written and the request packet was sent • Response Packet Type13, Trans != 0001b arrives at module interface, and is handled sequentially (notbased on priority) • targetTID is e...
Page 41 - Figure 14. CPPI RX Scheme for RapidIO; shows the packet; Figure 15. Message Request Packet
www.ti.com Mailbox 1...64 from RapidIO Packet Header - Received on any input port Mailbox Mapper Q15 Q2 Q1 Q0 Queue assignable to any core Packet Sequence Message n A Packet Manager n+1 B n+2 B n + 3 C n+4 D n+5 B n+6 E Buffer Descriptor Queues: Descriptor per Message All Priorities Dedicated Single...
Page 43 - and
www.ti.com SRIO Functional Description Figure 17. Queue Mapping Register RXU_MAP_Ln 31 30 29 24 23 22 21 16 Letter Mask Mailbox Mask Letter Mailbox R/W-11 R/W-111111 R/W-0 R/W-000000 15 0 SOURCEID R/W-0x0000 LEGEND: R = Read, W = Write, n = value at reset Figure 18. Queue Mapping Register RXU_MAP_Hn...
Page 44 - . There is an ICSR bit for each supported queue, as shown in; Figure 19. RX Buffer Descriptor Fields
www.ti.com 31 012 15 23 7 27 11 19 3 29 OWNERSHIP TEARDOWN EOP EOQ SOP 3 RESERVED cc Message Length 13 21 5 25 9 17 1 30 14 22 6 26 10 18 2 28 12 20 4 24 8 16 0 Bit Fields Next Descriptor Pointer Buffer Pointer SRC_ID PRI tt RESERVED Mailbox Word Offset SRIO Functional Description If a multi-segment...
Page 45 - Table 17. RX Buffer Descriptor Field Descriptions; Field
www.ti.com SRIO Functional Description Table 17. RX Buffer Descriptor Field Descriptions Field Description next_descriptor_pointer Next Descriptor Pointer: The 32-bit word aligned memory address of the next bufferdescriptor in the RX queue. This references the next buffer descriptor from the current...
Page 46 - Table 17. RX Buffer Descriptor Field Descriptions (continued); . This scenario is similar
www.ti.com SRIO Functional Description Table 17. RX Buffer Descriptor Field Descriptions (continued) Field Description mailbox Destination Mailbox: Specifies the mailbox to which the message was sent. 000000b: Mailbox 0 000001b: Mailbox 1 . . . 000100b: Mailbox 4 . . . 111111b: Mailbox 63For multi-s...
Page 47 - Figure 20. RX CPPI Mode Explanation
www.ti.com Switch Switch Endpoint Endpoint C0 C0 B0 B0 B2 B2 A1 A1 B1 B1 A0 A0 Open Open Open Open Open Open Open Full Open Open Full Full Retry Retry Retry Retry Retry Retry Accept Retry Retry Retry Action Action Retry Retry Scenario A - Default Scenario B - In order mode Data flow destined for the...
Page 48 - Teardown of an Rx queue causes the following actions:; Figure 21. CPPI Boundary Diagram
www.ti.com CPPI block CPU DMA Config bus access L2 memory Buffer descriptor dual-port SRAM (Nx20B) Data buffer Peripheral boundary 32 32 32 128 C P P I c o n t r o l r e g i s t e r s SRIO Functional Description Teardown of an Rx queue causes the following actions: • If teardown is issued by softwar...
Page 49 - Figure 22. TX Buffer Descriptor Fields
www.ti.com 31 012 15 23 7 27 11 19 3 29 OWNERSHIP TEARDOWN EOP EOQ SOP 3 Reserved Retry_count cc Message Length 13 21 5 25 9 17 1 30 14 22 6 26 10 18 2 28 12 20 4 24 8 16 0 Bit Fields Next Descriptor Pointer Buffer Pointer Dest_ID PRI tt SSIZE Mailbox Port_ID Word Offset SRIO Functional Description ...
Page 52 - Name
www.ti.com SRIO Functional Description Figure 23. Weighted Round Robin Programming Registers (Address Offset 0x7E0 – 0x7EC) TX_QUEUE_CNTL0- Address Offset (0x7E0) 31 24 23 16 TX_Queue_Map3 TX_Queue_Map2 15 8 7 0 TX_Queue_Map1 TX_Queue_Map0 TX_QUEUE_CNTL1- Address Offset (0x7E4) 31 24 23 16 TX_Queue_...
Page 54 - No new messages will be sent
www.ti.com SRIO Functional Description Essentially, instead of the 24-bit value representing the period of the response timer, the period is nowdefined as P = (2^24 x 16)/F. This means the countdown timer frequency needs to be 44.7 – 89.5Mhz fora 6 – 3 second response timeout. Since the needed timer...
Page 55 - Message Passing Software Requirements
www.ti.com SRIO Functional Description The CPPI module can be powered down if the message passing protocol is not being supported in theapplication. For example, if the direct I/O protocol is being used for data transfers, powering down theCPPI module will save power. In this situation, the buffer d...
Page 56 - Initialization Example
www.ti.com SRIO Functional Description • This value is compared against the port written value in the TX DMA State CP register, if equal, theinterrupt is deasserted. Initialization Example SRIO_REGS->Queue0_RXDMA_HDP = 0 ; SRIO_REGS->Queue1_RXDMA_HDP = 0 ; SRIO_REGS->Queue2_RXDMA_HDP = 0 ; ...
Page 57 - Figure 24. RX Buffer Descriptor
www.ti.com Descriptor Descriptor Buffer Buffer Port Rx DMA State Rx Queue Head Descriptor Pointer SRIO Functional Description Figure 24. RX Buffer Descriptor TX Buffer Descriptor TX_DESCP0_0->TXDESC0 = CSL_FMK( SRIO_TXDESC0_N_POINTER,(int )TX_DESCP0_1 ); //link to TX_DESCP0_1 //NDP TX_DESCP0_0-&g...
Page 58 - Figure 25. TX Buffer Descriptor
www.ti.com Descriptor Descriptor Buffer Buffer Port Tx DMA State Tx Queue Head Descriptor Pointer SRIO Functional Description Figure 25. TX Buffer Descriptor Start Message Passing SRIO_REGS->Queue0_RXDMA_HDP = (int )RX_DESCP0_0 ; SRIO_REGS->Queue0_TxDMA_HDP = (int )TX_DESCP0_0 ; 2.3.5 Maintena...
Page 59 - Doorbell; , is used by a processing element to send a very short message to; Figure 26. Doorbell Operation
www.ti.com acklD rsv prio tt 1010 destID sourcelD Reserved srcTID Reserved Doorbell Reg # rsv Doorbell bit CRC PHY LOG TRA LOG TRA PHY 5 3 2 2 4 8 8 8 8 9 2 1 4 16 16 32 16 4 2 10 info (msb) 8 info (lsb) 8 SRIO Functional Description 2.3.6 Doorbell The doorbell operation, consisting of the DOORBELL ...
Page 60 - Congestion Control; Table 1
www.ti.com SRIO Functional Description 2.3.7 Congestion Control The RapidIO Flow Control specification is referenced in Table 1 . This section describes the requirements and implementation of congestion control within the peripheral. The peripheral is notified of switch fabric congestion through typ...
Page 62 - Figure 28. Transmit Source Flow Control Masks
www.ti.com Reserved RIO_LSUn_FLOW_MASKS (Address Offsets: 0x041C, 0x043C, 0x045C, 0x047C) 31-16 R, 0x0000 LSU n Flow Mask 15-0 R/W, 0xFFFF TX Queue1 Flow Mask RIO_TX_CPPI_FLOW_MASKS0 (Address Offsets: 0x0704) 31-16 R/W, 0xFFFF TX Queue0 Flow Mask 15-0 R/W, 0xFFFF TX Queue3 Flow Mask RIO_TX_CPPI_FLOW...
Page 63 - Endianness; Figure 6; Figure 29. Configuration Bus Example
www.ti.com A0 A0 A2 A2 A1 A1 A3 A3 L2 offset 0x0 DSP defined MMR offset 0x1000 Bytelane 0 31 Byte lane 3 DMA 32b 0 SRIO Functional Description 2.3.8 Endianness RapidIO is based on big endian. This is discussed in detail in section 2.4 of the RapidIO Interconnectspecification. Essentially, big endian...
Page 64 - Figure 30. DMA Example
www.ti.com DMA ExampleThe desired operation is to send a Type 8 maintenance requestto an external device. The goal is to read 16B of RapidIO MMRfrom an external device, starting offset 0x0000. This operationinvolves the LSU block and utilizes the DMA for transferring theresponse packet payload. Rapi...
Page 65 - Reset Summary
www.ti.com SRIO Functional Description 2.3.9.1 Reset Summary After reset, the state of the peripheral depends on the default register values and the BLKn_EN_INIT tieoffvalues. You can also perform a hard reset using the software of each logical block within the peripheral via theGBL_EN and BLKn_EN b...
Page 66 - Table 24. Enable and Enable Status Bit Field Descriptions
www.ti.com SRIO Functional Description Figure 34. BLK0_EN_STAT (Address 0x003C) 31 1 0 Reserved EN_STAT R-0 R-1 LEGEND: R = Read, W = Write, n = value at reset Figure 35. BLK1_EN (Address 0x0040) 31 1 0 Reserved EN R-0 R/W-1 LEGEND: R = Read, W = Write, n = value at reset Figure 36. BLK1_EN_STAT (Ad...
Page 68 - Software Shutdown Details; Emulation
www.ti.com SRIO Functional Description Table 24. Enable and Enable Status Bit Field Descriptions (continued) Name Bit Access Description BLK8_EN_STAT 0 R Indicates state of BLK8_EN reset signal. 0 = Logical block 8 in reset and clock is off 1 = Logical block 8 enabled and clocking The GBL_EN registe...
Page 69 - Table 25. Emulation Control Signals; Enabling the SRIO Peripherals
www.ti.com SRIO Functional Description Table 25. Emulation Control Signals Name Bit Access Reset Value Description Free 0 R/W 1b FREE = 0, SOFT Bit takes effect FREE = 1, Free run mode (default mode) - Peripheral ignores theEMUSUSP signal and functions normally. Soft 1 R/W 0b SOFT = 0 -> Soft Sto...
Page 70 - PLL, Ports, Device ID and Data Rate Initializations; Peripheral Initializations; Set Device ID Registers
www.ti.com SRIO Functional Description 2.3.11.2 PLL, Ports, Device ID and Data Rate Initializations For example, Enable pll, 333MHz, 4p1x, x20. 3.125 Gbps, full rate, ½ rate, ¼ rate: if (srio4p1x_mode){ rdata = SRIO_REGS->PER_SET_CNTL; wdata = 0x0000014F; 4p1x mask = 0x000001FF; mdata = (wdata &a...
Page 71 - Assert the PEREN bit to enable logical layer data flow
www.ti.com SRIO Functional Description } else{ SRIO_REGS->SP_IP_MODE = 0x04000000; // Jadis mltc/rst/pw enable, clear } SRIO_REGS->IP_PRESCAL = 0x00000021; // srv_clk prescalar=0x21 (333MHz) SRIO_REGS->SP0_SILENCE_TIMER = 0x20000000; // 0, short cycles for sim SRIO_REGS->SP1_SILENCE_TIME...
Page 72 - Bootload Capability; Configuration; Figure 40. Bootload Operation; Bootload Data Movement
www.ti.com Boot Program Host Controller Optional I2C EEPROM DSP ROM 1x RapidIO SRIO Functional Description 2.3.12 Bootload Capability 2.3.12.1 Configuration It is assumed that an external device will initiate the bootload data transfer and master the DMA interface.Upon reset, the following sequence ...
Page 73 - Logical/Transport Error Handling and Logging; illustrates the detectable errors.; Figure 41. Detectable Errors; Logical Layer Error Detect CSR:
www.ti.com 3 Logical/Transport Error Handling and Logging Logical/Transport Error Handling and Logging Error management registers allow detection and logging of logical/transport layer errors. Figure 41 illustrates the detectable errors. Figure 41. Detectable Errors 31 30 29 28 27 26 25 IO ERR Rspns...
Page 74 - CPU Interrupts; Interrupt Conditions; The following interrupts are supported by the RIO peripheral.; Figure 42. RapidIO DOORBELL Packet for Interrupt Use
www.ti.com 4 Interrupt Conditions 4.1 CPU Interrupts 4.2 General Description acklD rsv prio tt 1010 destID sourcelD Reserved srcTID Reserved Doorbell Reg # rsv Doorbell bit CRC PHY LOG TRA LOG TRA PHY 5 3 2 2 4 8 8 8 8 9 2 1 4 16 16 32 16 4 2 10 info (msb) 8 info (lsb) 8 Interrupt Conditions This se...
Page 75 - Interrupt Condition Control Registers
www.ti.com 4.3 Interrupt Condition Control Registers Interrupt Conditions The DOORBELL packet’s 16-bit INFO field indicates which DOORBELL register interrupt bit to set. Thereare four DOORBELL registers, each currently with 16 bits, allowing 64 interrupt sources or circular buffers.Each bit can be a...
Page 76 - Table 26. Interrupt Source Configuration Options; Figure 43. DOORBELL0 Interrupt Registers for Direct I/O Transfers
www.ti.com Interrupt Conditions Table 26. Interrupt Source Configuration Options Field Access Reset Value Value Function ICSx R 0 0b Condition not present 1b Condition present ICCx W 0 0b No effect 1b Condition status cleared Figure 43. DOORBELL0 Interrupt Registers for Direct I/O Transfers DOORBELL...
Page 77 - Figure 45. DOORBELL2 Interrupt Registers for Direct I/O Transfers; Figure 46. DOORBELL3 Interrupt Registers for Direct I/O Transfers
www.ti.com Interrupt Conditions Where ICS0 - Doorbell1, bit 0, through ICS15 - Doorbell1, bit 15. Figure 45. DOORBELL2 Interrupt Registers for Direct I/O Transfers DOORBELL2 Interrupt Condition Status Registers (ICSR) (Address Offset 0x0220) 31 16 Reserved R-0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 I...
Page 78 - Figure 47. RX_CPPI Interrupts Using Messaging Mode Data Transfers; Figure 48. TX _CPPI Interrupts Using Messaging Mode Data Transfers
www.ti.com Interrupt Conditions Figure 47. RX_CPPI Interrupts Using Messaging Mode Data Transfers RX_CPPI Interrupt Condition Status Registers (ICSR) (Address Offset 0x0240) 31 16 Reserved R-0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ICS15 ICS14 ICS13 ICS12 ICS11 ICS10 ICS9 ICS8 ICS7 ICS6 ICS5 ICS4 ICS...
Page 79 - Figure 49. LSU Load/Store Module Interrupts
www.ti.com Interrupt Conditions Where ICS0 - TX CPPI interrupt, buffer descriptor queue 0, through ICS15 - TX CPPI interrupt, bufferdescriptor queue 15. Clearing of any ICSR bit is dependent on the CPU writing to the TX DMA State CP. The CPUacknowledges the interrupt after reclaiming all available b...
Page 81 - Table 27. Interrupt Condition Routing Options; Figure 51. Doorbell 0 Interrupt Condition Routing Registers
www.ti.com Interrupt Conditions The interrupt conditions are programmable to select the interrupt output that will be driven. Each conditionis independently programmable to use any of the interrupt destinations supported by the device. Forexample, a quad core device may support four CPU servicing in...
Page 83 - Interrupt Status Decode Registers
www.ti.com 4.4 Interrupt Status Decode Registers Interrupt Conditions Figure 53. Error, Reset, and Special Event Interrupt Condition Routing Registers ERR_RST_EVNT_ICRR (Address Offset 0x02F0) 31 12 11 8 7 4 3 0 Reserved ICR2 ICR1 ICR0 R-0 R/W-0000 R/W-0000 R/W-0000 LEGEND: R = Read, W = Write, n = ...
Page 84 - Figure 54. Sharing of ISDR Bits; illustrates the decode routing.
www.ti.com 31 30 29 28 27 26 25 24 23 22 21 20 19 16 18 17 LSU Error, reset and special event Tx CPPI [15:0] Rx CPPI [15:0] ISDR bits: 15 ISDR bits: 14 13 12 11 6 8 10 9 7 5 4 3 2 0 1 Doorbell 0 [15:0] Doorbell 1 [15:0] Doorbell 3 [15:0] Doorbell 2 [15:0] 29 29 29 29 29 29 29 29 Interrupt Status Dec...
Page 85 - Figure 56. INTDSTn_Decode Interrupt Status Decode Register
www.ti.com 4.5 Interrupt Generation 4.6 Interrupt Pacing Interrupt Conditions LSU bits within the ICSR are logically grouped for a given core and ORd together into a single bit of thedecode register. Similarly, the Error/Reset/Special event bits within the ICSR are ORd together into asingle bit of t...
Page 86 - Interrupt Handling
www.ti.com 4.7 Interrupt Handling Interrupt Conditions Figure 57. INTDSTn_RATE_CNTL Interrupt Rate Control Register 31 0 32-bit Count Down Value R/W-0 LEGEND: R = Read, W = Write, n = value at reset Offsets: • INTDST0 – 0x0320 • INTDST1 – 0x0324 • INTDST2 – 0x0328 • INTDST3 – 0x032C • INTDST4 – 0x03...
Page 88 - Introduction; SRIO Registers; manual for the memory address of these registers.; Offset
www.ti.com 5 SRIO Registers 5.1 Introduction SRIO Registers Table 28 lists the memory-mapped registers for the Serial Rapid IO (SRIO). See the device-specific data manual for the memory address of these registers. Table 28. Serial Rapid IO (SRIO) Registers Offset Acronym Register Description Section...
Page 100 - Table 30. Peripheral Control Register (PCR) Field Descriptions
www.ti.com 5.3 Peripheral Control Register (PCR) SRIO Registers The peripheral control register (PCR) contains a bit that enables or disables the entire peripheral and onebit for every module within the peripheral where this level of control is desired. The module control bits canonly be written whe...
Page 110 - There are four of these registers, to support four ports.
www.ti.com 5.11 Packet Forwarding Register n for 16b DeviceIDs (PF_16B_CNTLn) SRIO Registers There are four of these registers, to support four ports. Figure 67. Packet Forwarding Register n for 16b DeviceIDs (PF_16B_CNTLn) 31-16 16BIT_DEVID_UP_BOUND RW-0xFFFF LEGEND: R = Read only; -n = value after...
Page 112 - Descriptions
www.ti.com 5.13 SERDES Receive Channel Configuration Registers n (SERDES_CFGRXn_CNTL) SRIO Registers There are four of these registers, to support four ports. Figure 69. SERDES Receive Channel Configuration Registers n (SERDES_CFGRXn_CNTL) 31 26 25 24 23 22 19 18 16 Reserved Reserv Reserv Reserv EQ ...
Page 115 - Amplitude Reduction
www.ti.com SRIO Registers Table 43. SWING Bits CFGTX[11:9] Amplitude (mV dfpp ) 000 125 001 250 010 500 011 625 100 750 101 1000 110 1125 111 1250 Table 44. DE Bits CFGTX[15:12] Amplitude Reduction % dB 0000 0 0 0001 4.76 -0.42 0010 9.52 -0.87 0011 14.28 -1.34 0100 19.04 -1.83 0101 23.8 -2.36 0110 2...
Page 117 - Each of the four doorbells is supported by a register of this type.
www.ti.com 5.16 DOORBELLn Interrupt Status Register (DOORBELLn_ICSR) SRIO Registers Each of the four doorbells is supported by a register of this type. Figure 72. DOORBELLn Interrupt Status Register (DOORBELLn_ICSR) 31-16 Reserved R-0x00 LEGEND: R = Read only; -n = value after reset 15-0 ICS (0-15) ...
Page 127 - DOORBELLn Interrupt Condition Routing Register (DOORBELLn_ICRR)
www.ti.com 5.26 DOORBELLn Interrupt Condition Routing Register (DOORBELLn_ICRR) SRIO Registers Each of the four doorbells is supported by a register of this type. Figure 82. DOORBELLn Interrupt Condition Routing Register (DOORBELLn_ICRR) 31 28 27 24 23 20 19 16 ICR7 ICR6 ICR5 ICR4 R/W-0x00 R/W-0x00 ...
Page 133 - LSU Module Interrupt Condition Routing Register 0 (LSU_ICRR0)
www.ti.com 5.32 LSU Module Interrupt Condition Routing Register 0 (LSU_ICRR0) SRIO Registers Figure 88. LSU Module Interrupt Condition Routing Register 0 (LSU_ICRR0) 31 28 27 24 23 20 19 16 ICR7 ICR6 ICR5 ICR4 R/W-0000 R/W-0000 R/W-0000 R/W-0000 15 12 11 8 7 4 3 0 ICR3 ICR2 ICR1 ICR0 R/W-0000 R/W-00...
Page 134 - LSU Module Interrupt Condition Routing Register 1 (LSU_ICRR1)
www.ti.com 5.33 LSU Module Interrupt Condition Routing Register 1 (LSU_ICRR1) SRIO Registers Figure 89. LSU Module Interrupt Condition Routing Register 1 (LSU_ICRR1) 31 28 27 24 23 20 19 16 ICR15 ICR14 ICR13 ICR12 R/W-0000 R/W-0000 R/W-0000 R/W-0000 15 12 11 8 7 4 3 0 ICR11 ICR10 ICR9 ICR8 R/W-0000 ...
Page 135 - LSU Module Interrupt Condition Routing Register 2 (LSU_ICRR2)
www.ti.com 5.34 LSU Module Interrupt Condition Routing Register 2 (LSU_ICRR2) SRIO Registers Figure 90. LSU Module Interrupt Condition Routing Register 2 (LSU_ICRR2) 31 28 27 24 23 20 19 16 ICR23 ICR22 ICR21 ICR20 R/W-0000 R/W-0000 R/W-0000 R/W-0000 15 12 11 8 7 4 3 0 ICR19 ICR18 ICR17 ICR16 R/W-000...
Page 136 - LSU Module Interrupt Condition Routing Register 3 (LSU_ICRR3)
www.ti.com 5.35 LSU Module Interrupt Condition Routing Register 3 (LSU_ICRR3) SRIO Registers Figure 91. LSU Module Interrupt Condition Routing Register 3 (LSU_ICRR3) 31 28 27 24 23 20 19 16 ICR31 ICR30 ICR29 ICR28 R/W-0000 R/W-0000 R/W-0000 R/W-0000 15 12 11 8 7 4 3 0 ICR27 ICR26 ICR25 ICR24 R/W-000...
Page 140 - There are eight of these registers.
www.ti.com 5.39 INTDSTn Interrupt Status Decode Registers (INTDSTn_DECODE) SRIO Registers There are eight of these registers. Figure 95. INTDSTn Interrupt Status Decode Registers (INTDSTn_DECODE) 31-16 ISDR[31-16] R-0x00 LEGEND: R = Read only; -n = value after reset 15-0 ISDR[15-0] R-0x00 LEGEND: R ...
Page 142 - There are four of these registers, one for each LSU.
www.ti.com 5.41 LSUn Control Register 0 (LSUn_REG0) SRIO Registers There are four of these registers, one for each LSU. Figure 97. LSUn Control Register 0 (LSUn_REG0) 31-16 ADDRESS_MSB RW-0x00 LEGEND: R = Read only; -n = value after reset 15-0 ADDRESS_MSB RW-0x00 LEGEND: R = Read only; -n = value af...
Page 150 - There are sixteen of these registers.
www.ti.com 5.49 Queue Transmit DMA Head Descriptor Pointer Registers (QUEUEn_TXDMA_HDP) SRIO Registers There are sixteen of these registers. Figure 105. Queue Transmit DMA Head Descriptor Pointer Registers (QUEUEn_TXDMA_HDP) 31-16 TX_HDP RW-0x00 LEGEND: R = Read only; -n = value after reset 15-0 TX_...
Page 155 - There are eight registers of this type. See
www.ti.com 5.54 Transmit CPPI Supported Flow Mask Registers n (TX_CPPI_FLOW_MASKSn) SRIO Registers There are eight registers of this type. See Figure 28 for more information on this register. Figure 110. Transmit CPPI Supported Flow Mask Registers n (TX_CPPI_FLOW_MASKSn) Transmit CPPI Supported Flow...
Page 183 - Each of the four ports is supported by a register of this type.
www.ti.com 5.81 Port Link Maintenance Request CSR n (SPn_LM_REQ) SRIO Registers Each of the four ports is supported by a register of this type. Figure 137. Port Link Maintenance Request CSR n (SPn_LM_REQ) 31-16 Reserved R-0x00 LEGEND: R = Read only; -n = value after reset 15-3 2-0 Reserved COMMAND R...