User Guide

Table Of Contents
www.ti.com
DMA Example
The desired operation is to send a Type 8 maintenance request
to an external device. The goal is to read 16B of RapidIO MMR
from an external device, starting offset 0x0000. This operation
involves the LSU block and utilizes the DMA for transferring the
response packet payload.
RapidIO defined bit positions
A0 A1 A2 A3
310
MMR offset 0x0000
B0
B1 B2 B3
MMR offset 0x0004
C0
C1 C2 C3
MMR offset 0x0008
D0
D1 D2 D3
MMR offset 0x000C
RapidIO
defined
MMR
offsets
A0A1A2A3B0B1B2B3 C0C1C2C3D0D1D2D3
Header fields
Type 8
Response
A0
A1 A2 A3
Byte
lane 3
Byte
Byte
lane 0
L2 offset 0x0
B0
B1 B2 B3
L2 offset 0x4
C0 C1 C2 C3
L2 offset 0x8
D0
D1 D2 D3
L2 offset 0xC
Big Endian
Little Endian
A3
A2 A1 A0
Byte
lane 3lane 0
L2 offset 0x0
B3
B2 B1 B0
L2 offset 0x4
C3 C2 C1 C0
L2 offset 0x8
D3
D2 D1 D0
L2 offset 0xC
Double-word0 Double-word1
SRIO Functional Description
Figure 30. DMA Example
2.3.9 Reset
The RapidIO peripheral allows independent software controlled shutdown for the following blocks:
SERDES TX and RX individual ports and PLL, channelized datapath logic (8b/10b, rate handoff FIFO,
CRC logic, lane striping/de-skew logic), CPPI module, LSU module, MAU module, and MMR registers.
With the exception of BLK_EN0 for the MMR registers, when the BLK n_EN signals are deasserted, the
clocks are gated to these blocks, effectively providing a shutdown function.
Reset of the SERDES macros is handled independently of the registers discussed in this section. The
SERDES can be configured to shutdown unused links or fully shutdown. SERDES TX and RX channels
may be enabled/disabled by writing to bit 0 of the SERDES_CFGTX n_CNTL and
SERDES_CFGRX n_CNTL registers. The PLL and remaining SERDES functional blocks can be controlled
by writing to the ENPLL signals in the PER_SET_CNTL or SERDES_CFG n_CNTL register, depending on
device implementation. These registers will drive the SERDES signal inputs, which will gate the reference
clock to these blocks internally. This reference clock is sourced from a device pin specifically for the
SERDES and is not derived from the CPU clock, thus it resets asynchronously. ENPLL will disable all
SERDES high-speed output clocks. Since these clocks are distributed to all the links, ENPLL should only
be used to completely shutdown the peripheral. It should be noted that shutdown of SERDES links in
between normal packet transmissions is not permissible for two reasons. First, the serial RapidIO sends
idle packets between data packets to maintain synchronization and lane alignment. Without this
mechanism, the RapidIO RX logic can be mis-aligned for both 1X and 4X ports. Second, the lock time of
the SERDES PLL would need to reoccur, which would slow down the operation.
All chip-IO signals must be reset asynchronously to a known state. When the SERDES ENTX signal is
held low, the corresponding transmitter is powered down. In this state, both outputs, TXP and TXN, will be
pulled high to VDDT.
64 Serial RapidIO (SRIO) SPRU976 March 2006
Submit Documentation Feedback