2. RapidIO Ports > Packet Generation and Capture
CPS-1848 User Manual
58
June 2, 2014
Formal Status
This document is confidential and is subject to an NDA.
Integrated Device Technology
2.10.1
Packet Generation and Capture Mode Overview
PGC mode requires two spare ports: a Start Port and an End Port. A request packet is composed in the Final Buffer (FB) of the
Start Port, and then sent. The request packet can be transmitted directly to the desired link partner, or looped back through a
cable external to the SerDes lane(s) allocated to the Start Port. Packets received in the Input Buffer on the Start Port are
routed according to the routing table settings for that port. If a response packet is expected, the response packet can be routed
to the End Port, where the response packet is captured in the Final Buffer. The response packet can then be read out.
There are two scenarios for the use of PGC mode. The first sends a packet directly to the link partner connected to the Start
Port, as displayed in
. The response is received by the Start Port, and routed to the End Port.
Figure 10: System Connectivity Test in PGC Mode – Transmitted Directly to Link Partner
In the second scenario, the Start Port is put into loopback mode so that the packet can be sent to any other switch port, as
displayed in
). The response packet from the link partner is then routed to the End
Port.
The Start Port and End Port must be in a PORT_OK status condition in order for packet generation and
capture to operate. PORT_OK status can be achieved by connecting to a link partner or by connecting
the port’s TX lanes to its RX lanes.
Link
Partner
IDT Switch
Start Port
End Port
FB
FB