PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testing of all parameters.
• Supports Independent Channel SERDESCompliant Management Data Input / Output
Operation Modes in 8/10 Bit Data Modes (TBIInterface Modes (Either 1.2 V or 2.5 V MDIO I/O)
and 8 Bit + Control)
• Serial Side Transmit De-Emphasis and ReceiveV LVCMOS I/O Supply
Adaptive Equalization to Allow Extended
Backplane Reach
• Low Jitter LC Oscillator Jitter-Cleaner Allows
use of Poor Quality REFCLK
• Full Datapath Loopback Capability
(Serial/Parallel Side)
• Support PRBS 27-1 and 223- 1 Gen/Verify.
Support standard defined CJPAT, CRPAT, High
and Low Frequency, and Mixed Freq Testing.
• XGMII/GMII/RGMII: HSTL Class 1 I/O With
On-Chip 50Ω Termination on Inputs/Outputs
(1.5/1.8 V Power Supply)
• XAUI Align Character Skew Support of 30 Bit
• MDIO: IEEE 802.3ae Clause 22 and Clause 45
• 1.2 V Core, 1.5 V/1.8 V HSTL I/O Supply, and 2.5
• JTAG: IEEE 1149.1/1149.6 Test Interface
• ±200 ppm Clock Tolerance in XAUI TX and
1000Base-X/XAUI RX Datapaths
• 90 nm Advanced CMOS Technology
• Package: PBGA, 19×19mm, 289 Ball, 1mm Pitch
• 1.3W Maximum Power Dissipation (1.5 V HSTL
XAUI Mode, Input HSTL Termination Disabled)
• Asymmetric RX/TX Rates Supported in
Independent Channel Modes
• Industrial Ambient Operating Temperature
(–40°C to 85°C) at Full Rate
1.2Applications
•Gigabit Ethernet links
•CPRI/OBSAI Links
•Point-to-Point High-Speed Backplane Links
1
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas
Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testing of all parameters.
The TLK3134 is a flexible four-channel independently configurable serial transceiver. It can be configured
to be compliant with the 10Gbps Ethernet XAUI specification. It can also be configured to be compliant
with the 1000Base-X 1Gbps Ethernet Specification (Auto-Negotiation not supported). The TLK3134
provides high-speed bidirectional point-to-point data transmissions with up to 30 Gbps of raw data
transmission capacity. The primary application of this device is in backplanes and front panel connections
requiring 10Gbps connections over controlled impedance media of approximately 50Ω. The transmission
media can be printed circuit board (PCB) traces, copper cables or fiber-optical media. The ultimate rate
and distance of data transfer is dependent upon the attenuation characteristics of the media and the noise
coupling into the lines.
www.ti.com
The TLK3134 performs the parallel-to-serial, serial-to-parallel conversion, and clock extraction functions
for a physical layer interface. The TLK3134 provides a complete XGXS/PCS function defined in Clause
47/48 of the IEEE 802.3ae 10Gbps Ethernet standard. The TLK3134 also provides 1000Base-X (PCS)
layer functionality described in Clause 36 of 802.3-2002. The serial transmitter is implemented using
differential Current Mode Logic (CML) with integrated termination resistors.
The TLK3134 can be optionally configured as a XAUI or 10GFC transceiver. TLK3134 supports a 32-bit
data path, 4-bit control, 10 Gigabit Media Independent Interface (XGMII) to the protocol device. Figure 1-1
shows an example system block diagram for TLK3134 used to provide the 10Gbps Ethernet Physical
Coding Sublayer to Coarse Wave-length Division Multiplexed optical transceiver or parallel optics.
Many common applications may be enabled by way of externally available control pins. Detailed control of
the TLK3134 on a per channel basis is available by way of accessing a register space of control bits
available through a two-wire access port called the Management Data Input/Output (MDIO) interface.
The PCS (Physical Coding Sublayer) functions such as the CTC FIFO are designed to be compliant for an
IEEE 802.3 XAUI or 1000Base-X PCS link. However, each of the PCS functions may be disabled or
bypassed until the TLK3134 is operating at its most basic state, that of a simple four channel 10-bit
SERDES suitable for a wide range of applications such as CPRI or OBSAI wireless infrastructure links.
The differential output swing for the TLK3134 is suitable for compliance with IEEE 802.3 XAUI links, which
is also suitable for CPRI LV serial links. The TLK3134 provides for setting larger output signal swing
suitable for CPRI HV links by setting an appropriate register bit available though MDIO.
The TLK3134 contains an internal low-bandwidth, low-jitter high quality LC oscillator that may be
configured as a jitter cleaner. The jitter cleaner oscillator has a high frequency narrow band of operation
that may be used to generate all common reference clock frequencies by way of programmable pre-scaler
and post-scaler registers. In this manner a poor quality input reference clock can be input to the jitter
cleaner which will lock to the reference clock and provide a clean reference to the internal SERDES PLLs.
Appendix A defines in detail the clocking possibilities, and device settings.
Alternatively, the jitter cleaner may be used to lock to a recovered byte clock from RX channel 0 and
remove jitter that may have transferred through the clock/data recovery circuit from the serial data stream
to the recovered byte clock (including parallel output data timing). In this way the recovered byte clock
may be extracted from the serial data stream yet be suitable for use in applications that require a clean
clock source derived from the serial data stream. The TLK3134 jitter cleaner may only be used on the
recovered byte clock from Channel 0. If the jitter cleaner is used to clean the recovered byte clock, it may
not be used to clean the input reference clock, and the PLL at the center of the deserializer core must
have a clean low-jitter reference clock from an external clock source, preferably a low-jitter crystal based
oscillator. Note that the Transmit SERDES macro can run from the cleaned recovered RX channel 0 byte
clock which allows for the outgoing TX serial data rate for all channels to exactly match the incoming data
rate of RX Channel 0.
The TLK3134 clocking architecture allows for bypass of the Jitter cleaner PLL in cases where power or
application board area is critical.
See Figure 1-3 Clocking Architecture for a representation of the use of the jitter cleaner in the TLK3134.
The TLK3134 is optimized for operation at a serial data rate of 600 Mbit/s through 3.75 Gbit/s. The
external differential (optionally single-ended) reference clock has a large operating frequency range
allowing support for many different applications. The reference clock frequency must be within ±200 PPM
of the incoming serial data rate, and have less than 40ps of jitter. Table 2-1 shows a summary of
frequency ranges supported. For more details, see Appendix A. In all applications except XAUI/10GFC,
the transmit parallel clock must be frequency locked (0 ppm) to the supplied REFCLK frequency
(XAUI/10GFC allows ±200 ppm).
Table 2-1. Supported Protocol Rates and REFCLK Values
The TLK3134 has a round trip latency measurement capability to support its use in CPRI applications.
When enabled, the TLK3134 will measure the elapsed time from the transmission of a K28.5 code in a
CPRI frame until the reception of a K28.5 code in the receive path. This measurement result may be read
through an MDIO readable register. The measurement has an accuracy of ±4 ns with the Jitter Cleaner
PLL enabled, and an accuracy of ±2 parallel byte clock periods if the Jitter Cleaner PLL is disabled.
2.4Powerdown Mode
The TLK3134 (through the ENABLE pin and through register control) is capable of going into a low power
quiescent state. In this state, all analog and digital circuitry is disabled.
2.5Application Examples
TLK3134 supports many different application modes. Detailed register settings per application mode are
shown in Table 2-2. The following application diagrams do not show all possible applications, and are
intended only to illustrate the flexibility of the device.
Figure 2-1 shows the TLK3134 in a Quad independent channel SERDES Application. The 1000Base-X
PCS layer can be enabled or disabled. Note that in independent channel mode, the 8B/10B
encoder/decoder functions can either be turned on or turned off. When turned off, either 5 or 10 bits
(DDR/SDR) of data is accepted from and presented to the parallel side. When the 8B/10B
encoder/decoder functions are enabled, 1 bit of control and 8 bits of data are accepted from and
presented to the parallel side using the standardized (R)GMII control characters.
The TLK3134 supports the IEEE 802.3 defined Management Data Input/Output (MDIO) Interface to allow
ease in configuration and status monitoring of the link. The bi-directional data pin (MDIO) must be
externally pulled up to 1.2 V or 2.5 V (VDDM) per the standard for MDIO.
The TLK3134 supports the IEEE 1149.1/1149.6 defined JTAG test port for ease in board manufacturing
test. It also supports a comprehensive series of built-in tests for self-test purposes including PRBS
generation and verification, CRPAT, CJPAT, Mixed/High/Low Frequency testing.
The TLK3134 operates with a 1.2 V core voltage supply, a 1.5/1.8 V HSTL I/O voltage supply and a 2.5 V
LVCMOS/bias supply.
The TLK3134 is packaged in a 19×19mm, 289-ball, 1mm ball pitch Plastic Ball Grid Array (PBGA)
package and is characterized for operation from –40°C to 85°C Ambient, 105°C Junction, and 5% power
supply variation at the balls of the device unless noted otherwise.
The following block diagram provides a high level description of the TLK3134.
Lane 3TXC_[3]TXD_[31:24]RXC_[3]RXD_[31:24]TXCLK_[1]RXCLK_[1]
Lane 2TXC_[2]TXD_[23:16]RXC_[2]RXD_[23:16]TXCLK_[1]RXCLK_[1]
Lane 1TXC_[1]TXD_[15:8]RXC_[1]RXD_[15:8]TXCLK_[1]RXCLK_[1]
Lane 0TXC_[0]TXD_[7:0]RXC_[0]RXD_[7:0]TXCLK_[1]RXCLK_[1]
Lane 0TXC_[3]TXD_[31:24]RXC_[3]RXD_[31:24]TXCLK_[1]RXCLK_[1]
Lane 1TXC_[2]TXD_[23:16]RXC_[2]RXD_[23:16]TXCLK_[1]RXCLK_[1]
Lane 2TXC_[1]TXD_[15:8]RXC_[1]RXD_[15:8]TXCLK_[1]RXCLK_[1]
Lane 3TXC_[0]TXD_[7:0]RXC_[0]RXD_[7:0]TXCLK_[1]RXCLK_[1]
TRANSMITTRANSMITRECEIVERECEIVETRANSMITRECEIVE
(INPUT)(INPUT)(OUTPUT)(OUTPUT)(INPUT)(OUTPUT)
Table 2-4. 10GFC – Lane To Functional Pin Mapping (XAUI_ORDER = 0)
The TLK3134 supports source centered timing and source aligned DDR timing on the parallel receive
output bus. TLK3134 also supports rising edge aligned and falling edge aligned SDR timing on the parallel
receive output bus. See Figure 2-18 for more details.
The transmit input timing modes are shown in Figure 2-19.
In the receive data path a FIFO, placed on the output of the serial to parallel conversion logic for each
serial link, compensates for channel skew, clock phase and frequency tolerance differences between the
recovered clocks for each serial links and the receive output clock, RCLK.
Data placed on the XGMII transmit input bus is latched and then phase aligned to the internal version of
the transmit reference clock, 8b/10b encoded, serialized, then transmitted sequentially beginning with the
LSB of the encoded data byte over the differential high speed serial transmit pins.
The XGMII receive data bus outputs four bytes on RXD(31:0). Control character (K-characters) reporting
for each byte is done by asserting the corresponding control pin, RXC(3:0). When RXC is asserted, the 8
bits of data corresponding to the control pin is to be interpreted as a K-character. If an error is uncovered
in decoding the data, the control pin is asserted and 0xFE is output for the corresponding byte.
2.7.14 Transmission Latency
For each channel, the data transmission latency of the TLK3134 is defined as the delay from the rising or
falling edge of the selected transmit clock when valid data is on the transmit data pins to the serial
transmission of bit 0, as shown in Figure 2-20. The maximum transmit latency is a function of the mode of
operation, and is detailed in Section 4.10: Serial Transmitter/Receiver characteristics.
2.7.15 Channel Clock to Serial Transmit Clock Synchronization
In XAUI mode, the TLK3134 allows ±200 ppm difference between the serdes transmit reference on the
XAUI side, versus the input TCLK on the XGMII side. There exists a FIFO capable of CTC operations, and
has a depth of 32 locations (32 bits wide per location).
The reference clock and the transmit data clock(s) may be from a common source, but the design allows
for up to ±200 ppm of frequency difference should the application require it.
NOTE
Note that there are no CTC operations in any of the independent channel modes.
www.ti.com
2.7.16 Data Reception Latency
For each serial link, the serial-to-parallel data latency is the time from when the first bit arrives at the serial
receiver input until it is output in the aligned parallel word on the XGMII, as shown in Figure 2-21. The
maximum receive latency is a function of the mode of operation, and is detailed in Section 4.10: Serial
Transmitter/Receiver characteristics.
Figure 2-21. Receiver Latency
2.7.17 8B/10B Encoder
All true serial interfaces require a method of encoding to insure sufficient transition density for the
receiving PLL to acquire and maintain lock. The encoding scheme also maintains the signal DC balance
by keeping the number of ones and zeros balanced which allows for AC coupled data transmission. The
TLK3134 uses the 8B/10B encoding algorithm that is used by 10Gbps and 1Gbps Ethernet and
FibreChannel standards. This provides good transition density for clock recovery and improves error
checking. The TLK3134 will internally encode and decode the data such that the user reads and writes
actual 8-bit data on each channel. The encoder and decoder functions can optionally be enabled or
disabled on a per channel basis.
The 8B/10B encoder converts 8-bit wide data to a 10-bit wide encoded data character to improve its
transition density. This transmission code includes D Characters, used for transmitting data, and K
Characters, used for transmitting protocol information. Each K or D character code word can also have
both a positive and a negative disparity version. The disparity of a code word is selected by the encoder to
balance the running disparity of the serialized data stream.
The generation of K-characters to be transmitted on each channel is controlled by transmit control pins,
TXC(3:0). When the control pin is asserted along with the 8 bits of data, an 8B/10B K-character is
transmitted. Similarly, reception of K-characters is reported by the receive control pins, RXC(3:0). When
receive control pin is asserted, the corresponding byte on the receive data bus should be interpreted as a
K-character. The TLK3134 will transmit and receive all of the twelve valid K-characters as defined in
Table 2-15.
Table 2-15. Valid K-Codes
K-CODEOR(RXD[x: x-7]K-CODE DESCRIPTION
TXC(3:0)DATA BUS BYTES
RXC(3:0)OR TXD[x: x-7])
00 through FF0DDD DDDDDdddddd dddddddddd ddddNormal data
When parallel data is clocked into a parallel to serial converter, the byte boundary that was associated
with the parallel data is lost in the serialization of the data. When the serial data is received and converted
to parallel format again, a method is needed to be able to recognize the byte boundary again. Generally
this is accomplished through the use of a synchronization pattern. This is a unique pattern of 1’s and 0’s
that either cannot occur as part of valid data or is a pattern that repeats at defined intervals. 8B/10B
encoding contains a character called the comma (b’0011111 or b’1100000) which is used by the comma
detect circuit to align the received serial data back to its original byte boundary. The channel
synchronization block detects the comma pattern found in the K28.5 character, generating a
synchronization signal aligning the data to their 10-bit boundaries for decoding. It then converts the data
back into 8-bit data. It is important to note that the comma can be either a (b’0011111) or the inverse
(b’1100000) depending on the running disparity. The TLK3134 decoder will detect both patterns.
The reception of K-characters is reported by the assertion of receive control pin, RXC(3:0) for the
corresponding byte on the XGMII receive bus. When a code word error or running disparity error is
detected in the decoded data received on a serial link, the receive control pin is asserted and an 0xFE is
placed on the receive data bus for that channel, as shown in Table 2-17.
www.ti.com
Table 2-17. Receive Data Controls
EVENTRXC(3:0)
Normal DataXX0
Normal K-characterValid K-code1
Code word error or running disparity errorFE1
2.7.19 Channel Initialization and Synchronization
The TLK3134 has a synchronization state machine which is responsible for handling link initialization and
synchronization for each channel. The initialization and synchronization state diagram is provided in
Figure 2-22. The status of any channel can be monitored by reading MDIO register 4/5.24.3:0.
UNSYNCThis is the initial state for each channel upon device power up or reset. In this state, the
TLK3134 will have the comma detect circuit active and will make code word alignment
adjustments based on the position of a comma in the incoming data stream. While in this
Figure 2-22. Channel Synchronization State Machine
state the TLK3134 will set the Lane Sync bit to '0' for the particular channel in MDIO register
bits 4/5.24.3:0 indicating the lane is not synchronized.
the ACQ1 state upon the detection of a comma.
ACQ1During this state the comma detect circuit is active but code word re-alignment is disabled.
The TLK3134 will remain in this state until either a comma is detected in the same code
word alignment position as found in state UNSYNC or a decode error is encountered. While
in this state, the Lane Sync bit for the particular channel will remain de-asserted indicating
the lane is not synchronized.
state to UNSYNC. A detected comma will cause the channel state to transition to ACQ2.
ACQ2During this state, the comma detect circuit is active but code word re-alignment is disabled.
(1) The Lane Sync bit = '0' bit from any/or all channels will cause a local fault to be output on the receive data bus.
The TLK3134 will remain in this state until either a comma is detected in the same code
word alignment position as found in state UNSYNC or a decode error is encountered. While
in this state, the Lane Sync bit for the particular channel will remain de-asserted indicating
the lane is not synchronized.
state to UNSYNC. A detected comma will cause the channel state to transition to ACQ3.
Submit Documentation Feedback
Product Folder Link(s): TLK3134
(1)
A decode or running disparity error will return the channel
(1)
A decode or running disparity error will return the channel
(1)
The channel state will transition to
...DDD
D
...DDDT
...DDD
...DDD
A
A
KA
KA
RDP/N0
RDP/N1
RDP/N2
RDP/N3
D=Data, T =K29.7, A =K28.3,K=K28.5,E=Error(0xFE),I=Idle
RunningDisparityError
Detectedby/A/ Yields
XAUI
XGMII
...D
D
D
E
...D
D
ET
...D
D
E
...D
D
E
I
I
II
II
RunningDisparityError
Detectedby/K/ Yields
RunningDisparityError
Detectedby/K/ Yields
RunningDisparityError
Detectedby/T/ Yields
TLK3134
SLLS838F–MAY 2007–REVISED DECEMBER 2009
ACQ3During this state the comma detect circuit is active but code word re-alignment is disabled.
The TLK3134 will remain in this state until either a comma is detected or a decode error
encountered. While in this state, the Lane Sync bit for the particular channel will remain
de-asserted indicating the lane is not synchronized.
return the channel state to UNSYNC. A detected comma will cause the channel state to
transition to SYNC.
SYNCThis is the normal state for receiving data. When in this state, the TLK3134 will set the Lane
Sync bit to '1' for the particular channel in the MDIO register bits 4/5.24.3:0 indicating the
lane has been synchronized. During this state the comma detect circuit is active but code
word re-alignment is disabled. A decode or running disparity error will cause the channel
state to transition to MISS1.
MISS1When entering this state an internal error counter is cleared. If the next four consecutive
codes are decoded without error, the channel state reverts back to SYNC. If a decode or
running disparity error is detected, the channel state will transition to MISS2.
MISS2When entering this state an internal error counter is cleared. If the next four consecutive
codes are decoded without error, the channel state reverts back to MISS1. If a decode or
running disparity error is detected, the channel state will transition to MISS3.
MISS3When entering this state an internal error counter is cleared. If the next four consecutive
codes are decoded without error, the channel state reverts back to MISS2. If a decode or
running disparity error is detected, the channel state will transition to UNSYNC.
www.ti.com
(1)
A decode or running disparity error will
2.7.21 End of Packet Error Detection
Because of their unique data patterns, /A/ (K28.3), /K/ (K28.5), and /T/ (K29.7) will catch running disparity
errors that may have propagated undetected from previous codes in a packet. Running disparity errors
detected by these control codes at the end of packets will cause the previous data codes to be reported
as errors (0xFE) to allow the protocol device to reject the packet (see Figure 2-23).
Figure 2-23. End of Packet Error Detection
2.7.22 Fault Detection and Reporting
The TLK3134 will detect and report local faults as well as forward both local and remote faults as defined
in the IEEE 802.3ae 10Gbps Ethernet Standard to aid in fault diagnosis. All faults detected by the
TLK3134 are reported as local faults to the upper layer protocols. Once a local fault is detected in the
TLK3134, MDIO register bit 4/5.1.7 is set. Fault sequences, sequence ordered sets received by the
TLK3134, either on the Transmit Data Bus or on the high speed receiver pins, are forwarded without
change to the MDIO registers in the TLK3134. Also, note that the TLK3134 is capable of performing CTC
operation where only RF and LF or any Q sequences are transported (not generated) in either the transmit
or receive direction in XAUI mode.
Note:DeskewErrorisatleastonecolumncontainingan A character,butnotallfoursimultaneously.
TLK3134
www.ti.com
TLK3134 reports a fault by outputting a K28.4 (0x9C) on RXD(7:0), 0x00 on RXD(15:8) and RXD(23:16)
and 0x01 for local faults on RXD(31:24). Forwarding of remote faults is handled as a normal transmission.
Note that the TLK3134 will not generate a remote fault indication nor any other type of Q.
2.7.23 Receive Synchronization and Skew Compensation
In XAUI mode, the TLK3134 has a FIFO enabled on the receive data path coming from each serial link to
compensate for channel skew and clock phase and frequency tolerance differences between the
recovered clocks for each channel and the receive output clock RCLK. This FIFO has a depth of 16
locations (32 bits wide for each location).
The de-skew of the 4 serial links that make up each XAUI channel into a single 32 bit wide column of data
is accomplished by alignment of the receive FIFOs on each serial link to a K28.3 control code sent during
the inter-packet gap (IPG) between data packets or during initial link synchronization. Until the alignment
code is recognized by the CTC FIFOs, the output of the FIFOs may be un-aligned and as such undefined,
as shown in Figure 2-25. The K28.3 code (referred to as the “A” or alignment code) is transmitted on the
first column following the end of the data packet as shown in Figure 2-26.
The column de-skew state machine is provided in Figure 2-24 . The status of column alignment can be
monitored by reading MDIO registers 4/5.24.12 for global alignment.
UNALIGNThis is the initial state for the column state machine upon device power up or reset. If any of
the channel state machines are set to UNSYNC, the column state is set to UNALIGN. In this
state, the column state machine will search for alignment character codes (K28.3 or /A/) on
each channel and align the FIFO pointers on each channel to the /A/ character code. While
in this state, the Column Alignment Sync bit is set to '0' in MDIO registers 4/5.24.12,
indicating the column is not aligned.
upon the detection and alignment of /A/ character codes in all four channels.
DET1During this state, the alignment character code detect circuit is active on each channel but
the column re-alignment is disabled. The column state machine will remain in this state
looking for a column of alignment character codes. If an incomplete alignment column is
detected (alignment character codes not found on all channels) or a deskew error is
detected, the column state machine will transition to state UNALIGN. While in this state, the
Column Alignment Sync bit is set to '0' in MDIO registers 4/5.24.12 indicating the column is
not aligned.
machine to transition to state DET2.
DET2During this state, the alignment character code detect circuit is active on each channel but
the column re-alignment is disabled. The column state machine will remain in this state
looking for a column of alignment character codes. If an incomplete alignment column is
detected (alignment character codes not found on all channels) or a deskew error is
detected, the column state machine will transition to state UNALIGN. While in this state, the
Column Alignment Sync bit is set to '0' in MDIO registers 4/5.24.12 indicating the column is
not aligned.
machine to transition to state DET3.
(2)
Detection of a complete alignment column will cause the column state
(2)
Detection of a complete alignment column will cause the column state
www.ti.com
(2)
The column state will transition to the DET1 state
DET3During this state, the alignment character code detect circuit is active on each channel but
the column re-alignment is disabled. The column state machine will remain in this state
looking for a column of alignment character codes. If an incomplete alignment column is
detected (alignment character codes not found on all channels) or a deskew error is
detected, the column state machine will transition to state UNALIGN. While in this state, the
Column Alignment Sync bit is set to '0' in MDIO registers 4/5.24.12 indicating the column is
not aligned.
(2)
Detection of a complete alignment column will cause the column state
machine to transition to state ALIGN.
ALIGNThis is the normal state for receiving data. When in this state, the column state machine will
set the Column Alignment Sync bit to '1' in MDIO registers 4/5.24.12 indicating all channels
are aligned. During this state the alignment character code detect circuit is active on each
channel but the column re-alignment is disabled. If a deskew error is detected in the correct
position within the Inter-Packet Gap, the column state machine will transition to state FAIL1.
FAIL1When in this state, the Column Alignment Sync bit is '1' in MDIO registers 4/5.24.12. During
this state the alignment character code detect circuit is active on each channel but the
column re-alignment is disabled. If a complete alignment column is not detected in the
correct position within the Inter-Packet Gap, the column state machine will transition to state
FAIL2. If a complete alignment column is detected in the correct position within the
Inter-Packet Gap, the column state machine will transition to state ALIGN.
FAIL2When in this state, the Column Alignment Sync bit is '1' in MDIO registers 4/5.24.12. During
this state the alignment character code detect circuit is active on each channel but the
column re-alignment is disabled. If a complete alignment column is not detected in the
correct position within the Inter-Packet Gap, the column state machine will transition to state
FAIL3. If a complete alignment column is detected in the correct position within the
Inter-Packet Gap, the column state machine will transition to state FAIL1.
FAIL3When in this state, the Column Alignment Sync bit is '1' in MDIO registers 4/5.24.12. During
SLLS838F–MAY 2007–REVISED DECEMBER 2009
this state the alignment character code detect circuit is active on each channel but the
column re-alignment is disabled. If complete alignment column is not detected in the correct
position within the Inter-Packet Gap, the column state machine will transition to state
UNALIGN. If a complete alignment column is detected in the correct position within the
Inter-Packet Gap, the column state machine will transition to state FAIL2.
Figure 2-25. Channel Deskew Using Alignment Code
2.7.25 Inter-Packet Gap Management
When in XAUI mode, the TLK3134 replaces the idle codes (see Table 2-15) during the Inter-Packet Gap
(IPG) with the necessary codes to perform all channel alignment, byte alignment, and clock tolerance
compensation as defined in IEEE 802.3ae 10Gbps Ethernet Standard. According to the Ethernet
Standard, a valid packet must begin on TXD(7:0) of the XGMII. However, due to variable packet sizes, the
IPG can begin on any channel. The TLK3134 will replace idle codes latched on the same XGMII clock
edge as the end of packet code with /K/ codes (as shown in Figure 2-26).
The subsequent idles in the IPG will be replaced by “columns” of channel alignment codes (K28.3), byte
alignment codes (K28.5), or clock tolerance compensation codes (K28.0). The state machine which
governs the IPG replacement procedure is illustrated in Figure 2-27, with notation defined in Table 2-18.
Note that any IPG management state will transition to send data if the IPG is terminated.
The repetition of the “/A/” pattern on each serial channel allows the FIFOs to remove or add the required
phase and frequency difference to align the data from all four serial links of a XAUI channel and allow
output of the aligned 32 bit wide data on a single edge of the receive clock, RCLK, as shown in
The XAUI interface is defined to allow for separate clock domains on each side of the link. Though the
reference clocks for two devices on a XAUI link have the same specified frequencies, there are slight
differences that, if not compensated for, will lead to over or under run of the FIFOs on the receive/transmit
data path. The TLK3134 provides compensation for these differences in clock frequencies via the insertion
or the removal of /R/ characters on all channels, as shown in Figure 2-28 and Figure 2-29.
www.ti.com
Figure 2-28. Clock Tolerance Compensation: Add
The /R/ code is disparity neutral, allowing its removal or insertion without affecting the current running
disparity of each channel’s serial stream.
S=StartofPacket,D=Data,T=EndofPacket, A =K28.3,
K=K28.5,R=K28.0,I=Idle
Input
Output
DroppedColumn
TLK3134
www.ti.com
SLLS838F–MAY 2007–REVISED DECEMBER 2009
Figure 2-29. Clock Tolerance Compensation: Drop
2.7.27 Parallel to Serial
The parallel-to-serial shift register on each channel takes in data and converts it to a serial stream. The
shift register is clocked by the internally generated bit clock, which is 10 times the reference clock
(REFCLKP/REFCLKN) frequency. The least significant bit (LSB) for each channel is transmitted first.
2.7.28 Serial to Parallel
For each channel, serial data is received on the RDPx/RDNx pins. The interpolator and clock recovery
circuit will lock to the data stream if the clock to be recovered is within ±200 PPM of the internally
generated bit rate clock. The recovered clock is used to retime the input data stream. The serial data is
then clocked into the serial-to-parallel shift registers. If enabled, the 10-bit wide parallel data is then fed
into 8b/10b decoders.
2.7.29 High Speed CML Output
The high speed data output driver is implemented using Current Mode Logic (CML) with integrated pull up
resistors requires no external components. The line can be directly coupled or AC coupled. Under many
circumstances, AC coupling is desirable.
Figure 2-30. Example High Speed I/O AC Coupled Mode
Current Mode Logic (CML) drivers often require external components. The disadvantage of the external
component is a limited edge rate due to package and line parasitic. The CML driver on TLK3134 has
on-chip 50Ω termination resistors terminated to VDDT, providing optimum performance for increased
speed requirements. The transmitter output driver is highly configurable allowing output amplitude and
de-emphasis to be tuned to a channel's individual requirements. Software programmability allows for very
flexible output amplitude control. AC Coupled and Direct Coupled modes are supported. When AC
coupling is selected, the receiver input is internally biased 0.8 × VDDT which is the optimum voltage for
input sensitivity. As the input and output references are derived from VDDT, the tolerance of this supply
will dominate the accuracy of the internal reference.
www.ti.com
When transmitting data across long lengths of PCB trace or cable, the high frequency content of the signal
is attenuated due to the skin effect of the media. This causes a “smearing” of the data eye when viewed
on an oscilloscope. The net result is reduced timing margins for the receiver and clock recovery circuits. In
order to provide equalization for the high frequency loss, 1-tap finite impulse response (FIR) transmit
de-emphasis is implemented. A highly configurable output driver maximizes flexibility in the end system by
allowing de-emphasis and output amplitude to be tuned to a channel’s individual requirements. A total of
15 de-emphasis settings and 8 output amplitude settings can be independently selected.
Figure 2-31. Output differential voltage with 1-tap FIR de-emphasis
The level of de-emphasis is programmable via MDIO Register bits. Users can control the strength of the
de-emphasis to optimize for a specific system requirement.
2.7.30 High Speed Receiver
The high speed receiver conforms to the physical layer requirements of IEEE 802.3ae Clause 47(XAUI),
Gigabit Ethernet, and FibreChannel 1 and 2. Register control gives selection between AC and DC
coupling at the receiver. When the receiver is AC coupled, the termination impedances of the receivers
are configured as 100 Ohms with the center tap weakly tied to 0.8 × VDDT with a capacitor to create an
AC ground. When the receiver is DC coupled, the common mode will be determined by both receiver and
transmitter characteristics.
All receive channels incorporate an adaptive equalizer. This circuit compensates for channel insertion loss
by amplifying the high frequency components of the signal, reducing inter-symbol interference.
Equalization can be enabled or disabled per register settings. Both the gain and bandwidth of the
equalizer are controlled by the receiver equalization logic. There are ten available equalization settings.
2.7.31 Loopback
In XAUI Mode, two internal loopback modes are possible for the XAUI Channel Group. One, called XGMII
loopback, allows the data input on the XGMII interface to be returned out the XGMII interface. The other,
called XAUI loopback, allows serial data on the XAUI interface to be returned out the XAUI interface.
In independent channel mode, channels can independently be configured for parallel or serial side
loopback similar to above.
SLLS838F–MAY 2007–REVISED DECEMBER 2009
An external loopback (requiring external connection) is also supported, which can be used with the PRBS
patterns, as well as the CJPAT, CRPAT, Mixed/High/Low Frequency tests.
2.7.32 Link Test Functions
The TLK3134 has an extensive suite of built in test functions to support system diagnostic requirements.
Each channel has built-in link test generator and verification logic. Several patterns can be selected via
the MDIO that offer extensive test coverage. The patterns are: 27-1 or 223-1 PRBS (Pseudo Random Bit
Stream), CJPAT, CRPAT, high and low and mixed frequency patterns.
2.7.33 MDIO Management Interface
The TLK3134 supports the Management Data Input/Output (MDIO) Interface as defined in Clauses 22 and
45 of the IEEE 802.3ae Ethernet specification. The MDIO allows register-based management and control
of the serial links. Normal operation of the TLK3134 is possible without use of this interface. However,
some additional features are accessible only through the MDIO.
The MDIO Management Interface consists of a bi-directional data path (MDIO) and a clock reference
(MDC). The device id and port address are determined by control pins (see Table 3-3). Also, whether the
device responds as a Clause 22 or Clause 45 device is also determined by control pin ST (see Table 3-3).
In Clause 45 (ST = 0), the top 4 control pins PRTAD[4:1] determine the device port address. Note that
TLK3134 can accessed only through even port addresses in Clause 45 mode. In this mode, TLK3134 will
respond if the PHY address field on the MDIO protocol (PA[4:0]) matches {PRTAD[4:1], 1’b0}. PRTAD[0]
pin acts as device id pin where it determines whether TLK3134 is a DTE or PHY device. The device ID is
required to be either 4 (PHY) or 5 (DTE), so only one bit is required to differentiate. If PRTAD[0] is a 0,
then a PHY device is selected for the XGXS. If PRTAD[0] is a 1, then a DTE device is selected for the
XGXS. In this mode, TLK3134 will respond as PHY if the Device address field (DA[4:0]) on the MDIO
protocol is 5’b00100 and as DTE if it is 5’b00101. Note, each register is accessed as either DTE or PHY
devices in the TLK3134, although physically there is only one register accessed two different ways.
In Clause 22 (ST = 1), the top 3 control pins PRTAD[4:2] determine the device port address. In this mode
the 4 individual channels in TLK3134 are classified as 4 different ports. So for any PRTAD[4:2] value there
will be 4 ports per TLK3134. TLK3134 will respond if the 3 MSB’s of PHY address field on MDIO protocol
(PA[4:2]) matches PRTAD[4:2]. 2 LSB’s of PHY address field (PA[1:0]) will determine which channel/port
within TLK3134 to respond.
If PA[1:0] = 2’b00, TLK3134 Channel 0 will respond.
If PA[1:0] = 2’b01, TLK3134 Channel 1 will respond.
If PA[1:0] = 2’b10, TLK3134 Channel 2 will respond.
If PA[1:0] = 2’b11, TLK3134 Channel 3 will respond.
Write transactions which address an invalid register or device or a read only register will be ignored. Read
transactions which address an invalid register will return a 0.
2.7.34 MDIO Protocol Timing
Timing for a Clause 45 address transaction is shown in Figure 2-32. The Clause 45 timing required to
write to the internal registers is shown in Figure 2-33. The Clause 45 timing required to read from the
internal registers is shown in Figure 2-34. The Clause 45 timing required to read from the internal registers
and then increment the active address for the next transaction is shown in Figure 2-35. The Clause 22
timing required to read from the internal registers is shown in Figure 2-36. The Clause 22 timing required
to write to the internal registers is shown in Figure 2-37.
www.ti.com
Note that the 1 in the Turn Around section is externally pulled up, and driven to Z by TLK3134
Figure 2-32. CL45 - Management Interface Extended Space Address Timing
Figure 2-33. CL45 – Management Interface Extended Space Write Timing
Figure 2-34. CL45 – Management Interface Extended Space Read Timing
The IEEE 802.3 Clause 22/45 specification defines many of the registers, and additional registers have
been implemented for expanded functionality.
2.7.35 Clause 22 Indirect Addressing
TLK3134 Register space is divided into 3 register groups. First register group that can be addressed only
through Clause 45, second register group that can be addressed only through Clause 22 and third register
group that can be addressed through both clause 45 and clause 22. Third register group which can be
addressed through both clause 45 and clause 22 are implemented in vendor specific register space
(16’h9000 onwards). This register space can be accessed directly using clause 45 addressing method.
Due to clause 22 register space limitations, an indirect addressing method is implemented so that this
register space can be accessed through clause 22. To access this register space (16’h9000 onwards), an
address control register (Reg 30, 5’h1E) should be written with the register address followed by a
read/write transaction to address content register (Reg 31, 5’h1F) to access the contents of the address
specified in address control register. Following timing diagrams illustrate an example write transaction to
Register 16’h9000 using indirect addressing in Clause 22.
Following 10G XAUI registers can be addressed only through Clause 45. Primary device input pin “ST”
must be 0 to use Clause 45.
Table 2-19. XS_CONTROL_1
ADDRESS: 0x0000DEFAULT: 0x2040
BIT(s)NAMEDESCRIPTIONACCESS
4/5.0.15Reset
4/5.0.14Loop BackRW
4/5.0.13Speed SelectionThis bit always reads 1 indicating operation at 10 Gbps and above.RO
4/5.0.11Low Powerdown mode. After de-assertion of this bit, datapath reset (4/5.32800.15)RW
4/5.0.6Speed SelectionThis bit always reads 1 indicating operation at 10Gbps and above.
4/5.0.5:2Speed SelectionThese bits always read 0 indicating operation at 10Gbps.
(1) In this section XS refers to either PHY or DTE XS device.
(2) RO: Read-Only, RW: Read-Write, SC: Self-Clearing, LL: Latching-Low, LH: Latching-High, COR: Clear-on-Read
1 = XGXS reset (including all registers)RW
0 = Normal operation (Default)SC
1 = Enable loop back mode.
If the device is configured as PHY XS (PRTAD(0) = 0), then
XAUI_DATA_LOOPBACK will be performed (Same as SLOOP).
If the device is configured as DTE XS (PRTAD(0) = 1), then
XGMII_DATA_LOOPBACK will be performed (Same as PLOOP)
0 = Disable loop back mode (Default)
1 = Low power mode
0 = Normal operation (Default)
In low power mode all the internal clocks and datapaths are placed in shut
needs to be performed to achieve proper datapath function. Serdes PLL’s
can be shut down by de-asserting bits 4/5.36864.12 and 4/5.36864.4. Jitter
cleaner PLL can be shut down by de-asserting 4/5.37127.15
(1)
(2)
RO
Table 2-20. XS_STATUS_1
ADDRESS: 0x0001DEFAULT: 0x0082
BIT(s)NAMEDESCRIPTIONACCESS
4/5.1.7Fault(either on TX or RX side. This bit is OR ed version of 4/5.8.10 and 4/5.8.11)RO
4/5.1.20 = XS Transmit links is down.RO/LL
4/5.1.1Low Power AbilityThis bit always reads 1 indicating support for low power modeRO
Organizationally unique identifier Manufacturer model and revision
number.
Table 2-29. XS_LANE_STATUS
ADDRESS: 0x0018DEFAULT: 0x0C00
BIT(s)NAMEDESCRIPTIONACCESS
4/5.24.12Align StatusWhen 1, indicates all lanes are alignedRO
4/5.24.11Pattern Testing Ability Always reads 1. Able to generate test patternsRO
4/5.24.10Loopback AbilityAlways read 1. Has the ability to perform loopback functionRO
4/5.24.3Lane 3 SyncRO
4/5.24.2Lane 2 SyncRO
4/5.24.1Lane 1 SyncRO
4/5.24.0Lane 0 SyncRO
1 = Lane 3 is synchronized
0 = Lane 3 is not synchronized
1 = Lane 2 is synchronized
0 = Lane 2 is not synchronized
1 = Lane 1 is synchronized
0 = Lane 1 is not synchronized
1 = Lane 0 is synchronized
0 = Lane 0 is not synchronized
Table 2-30. XS_TEST_CONTROL
ADDRESS: 0x0019DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.25.2RW
4/5.25.1:0Test-Pattern SelectRW
Receive Test-Pattern1 = Enables test pattern generation/verification (High/Low/Medium)
Enable0 = Test pattern generation/verification disabled (Default)
00 = High frequency test pattern (Default)
01 = Low frequency test pattern
10 = Mixed frequency test pattern
11 = Reserved
Table 2-31. TEST_CONFIG
ADDRESS: 0x8000DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32768.210GFC_CJPAT Enable
4/5.32768.1CRPAT enableRW
4/5.32768.0CJPAT enable
When set, enables the 10G Fiber channel compliant CJPAT test pattern
generation on all 4 lanes. (Default 1’b0)
When set, enables the CRPAT test pattern generation on all 4 lanes.
(Default 1’b0)
When set, enables the CJPAT test pattern generation on all 4 lanes.
(Default 1’b0)
Table 2-32. TEST_VERIFICATION_CONTROL
ADDRESS: 0x8001DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32769.2
4/5.32769.1CRPAT Check EnableWhen set, enables the verification of CRPAT test mode. (Default 1’b0)
4/5.32769.0CJPAT Check EnableWhen set, enables the verification of CJPAT test mode. (Default 1’b0)
10GFC_CJPAT checkWhen set, enables the verification of 10G Fiber channel compliant
enableCJPAT test mode. (Default 1’b0)
When high, indicates that transmit FIFO overflow condition occurred for
the corresponding lane.
When high, indicates that transmit FIFO underflow condition occurred for
the corresponding lane.
When high, indicates that transmit FIFO overflow condition occurred in
any lane
When high, indicates that transmit FIFO underflow condition occurred in
any lane
Table 2-34. TX_FIFO_DROP_COUNT
ADDRESS: 0x8003DEFAULT: 0xFFFD
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32771.15:0Drop CountCounter for number of idle drops in the transmit FIFORO/COR
www.ti.com
RO/LH
RO/LH
Table 2-35. TX_FIFO_INSERT_COUNT
ADDRESS: 0x8004DEFAULT: 0xFFFD
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32772.15:0Insert CountCounter for number of idle inserts in the transmit FIFORO/COR
Table 2-36. TX_CODEGEN_STATUS
ADDRESS: 0x8005DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32773.6 Invalid XGMII character in lane 3
4/5.32773.5 Invalid XGMII character in lane 2
4/5.32773.4 Invalid XGMII character in lane 1
4/5.32773.3 Invalid XGMII character in lane 0
4/5.32773.2 Invalid XGMII character errorWhen high, indicates invalid XGMII character received in any laneRO/LH
4/5.32773.1 Invalid T column errorcontains Terminate character not followed by Idle character(s))RO/LH
4/5.32773.0 Invalid S column errorStart character in a lane other than lane 0) received from the XGMIIRO/LH
When high, indicates invalid XGMII character received in the
corresponding lane.
When high, indicates invalid Terminate column (column that
received from the XGMII interface.
When high, indicates invalid Start column (column that contains
interface.
RO/LH
Table 2-37. LANE_0_TEST_ERROR_COUNT
ADDRESS: 0x8006DEFAULT: 0xFFFD
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32774.15:0patterns for lane 0. This counter increments by one for each receivedRO/COR
Lane 0 test pattern
error counter
This counter reflects errors for High, Medium or Low Frequency test
character that has error.
(1) User has to make sure that register 32778 is read first and then register 32779. If user reads register 32779 without reading register
32778 first, then the count value read through 32779 register may not be correct.
10GFC_CJPAT/CRPAT/CJTest Error Counter[15:0]
Table 2-43. LANE_0_EOP_ERROR_COUNT
ADDRESS: 0x800CDEFAULT: 0xFFFD
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32780.15:0RO/COR
(1) Counter will increment by 1 when EOP error is found on the corresponding lane and when all the lanes are aligned (align_status should
be high). Counter will hold on to its value when align_status goes low or when the counter reaches its maximum value. It will be cleared
when it is read.
Lane 0 end of packet
error counter•Terminate character is not followed by /K/ characters in lanes 1, 2
LSW of 10GFC_ CJPAT/CRPAT/CJPAT error counter for all 4
lanes
(1)
End of packet termination error counter for lane 0. End of packet error for
lane 0 is detected on the RX side. It is detected when Terminate
character is in lane 0 and one or both of the following holds
and 3
•The column following the terminate column is neither ||K|| nor ||A||.
End of packet termination error counter for lane 1. End of packet error
for lane 1 is detected on the RX side. It is detected when Terminate
4/5.32781.15:0RO/COR
(1) Counter will increment by 1 when EOP error is found on the corresponding lane and when all the lanes are aligned (align_status should
be high). Counter will hold on to its value when align_status goes low or when the counter reaches its maximum value. It will be cleared
when it is read.
Lane 1 end of packet
error counter•Terminate character is not followed by /K/ characters in lanes 2
character is in lane 1 and one or both of the following holds:
and 3
•The column following the terminate column is neither ||K|| nor ||A||.
Table 2-45. LANE_2_EOP_ERROR_COUNT
ADDRESS: 0x800EDEFAULT: 0xFFFD
BIT(s)NAMEDESCRIPTIONACCESS
End of packet termination error counter for lane 2. End of packet error for
4/5.32782.15:0RO/COR
(1) Counter will increment by 1 when EOP error is found on the corresponding lane and when all the lanes are aligned (align_status should
be high). Counter will hold on to its value when align_status goes low or when the counter reaches its maximum value. It will be cleared
when it is read.
Lane 2 end of packet
error counter
lane 2 is detected on the RX side. It is detected when Terminate
character is in lane 2 and one or both of the following holds:
•Terminate character is not followed by /K/ character in lane 3
•The column following the terminate column is neither ||K|| nor ||A||.
(1)
(1)
www.ti.com
Table 2-46. LANE_3_EOP_ERROR_COUNT
ADDRESS: 0x800FDEFAULT: 0xFFFD
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32783.15:0RO/COR
(1) Counter will increment by 1 when EOP error is found on the corresponding lane and when all the lanes are aligned (align_status should
be high). Counter will hold on to its value when align_status goes low or when the counter reaches its maximum value. It will be cleared
when it is read.
Lane 3 end of packetlane 3 is detected on the RX side. It is detected when Terminate
error countercharacter is in lane 3 and the column following the terminate column is
End of packet termination error counter for lane 3. End of packet error for
neither ||K|| nor ||A||.
Table 2-47. LANE_0_CODE_ERROR_COUNT
ADDRESS: 0x8010DEFAULT: 0xFFFD
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32784.15:0group is detected when the 8B10B decoder cannot decode the receivedRO/COR
(1) Counter will increment by 1 when code word error is found on the corresponding lane and when all the lanes are aligned (align_status
should be high). Counter will hold on to its value when align_status goes low or when the counter reaches its maximum value. It will be
cleared when it is read.
Lane 0 Code Error
Counter
Output 16-bit counter for invalid code group found in lane 0. Invalid code
code word.
Table 2-48. LANE_1_CODE_ERROR_COUNT
ADDRESS: 0x8011DEFAULT: 0xFFFD
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32785.15:0group is detected when the 8B10B decoder cannot decode the receivedRO/COR
(1) Counter will increment by 1 when code word error is found on the corresponding lane and when all the lanes are aligned (align_status
should be high). Counter will hold on to its value when align_status goes low or when the counter reaches its maximum value. It will be
cleared when it is read.
Lane 1 Code Error
Counter
Output 16-bit counter for invalid code group found in lane 1. Invalid code
code word.
4/5.32786.15:0group is detected when the 8B10B decoder cannot decode the receivedRO/COR
(1) Counter will increment by 1 when code word error is found on the corresponding lane and when all the lanes are aligned (align_status
should be high). Counter will hold on to its value when align_status goes low or when the counter reaches its maximum value. It will be
cleared when it is read.
Lane 2 Code Error
Counter
Output 16-bit counter for invalid code group found in lane 2. Invalid code
code word.
Table 2-50. LANE_3_CODE_ERROR_COUNT
ADDRESS: 0x8013DEFAULT: 0xFFFD
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32787.15:0group is detected when the 8B10B decoder cannot decode the receivedRO/COR
(1) Counter will increment by 1 when code word error is found on the corresponding lane and when all the lanes are aligned (align_status
should be high). Counter will hold on to its value when align_status goes low or when the counter reaches its maximum value. It will be
cleared when it is read.
Lane 3 Code Error
Counter
Output 16-bit counter for invalid code group found in lane 3. Invalid code
code word.
SLLS838F–MAY 2007–REVISED DECEMBER 2009
(1)
(1)
Table 2-51. RX_CHANNEL_SYNC_STATE
ADDRESS: 0x8014DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32788.11:9Channel synchronization FSM state for lane 0Current state of sync state machine in lane 0
4/5.32788.8:6Channel synchronization FSM state for Lane 1Current state of sync state machine in lane 1
4/5.32788.5:3Channel synchronization FSM state for Lane 2Current state of sync state machine in lane 2
4/5.32788.2:0Channel Synchronization FSM state for Lane 3Current state of sync state machine in lane 3
RO
Table 2-52. RX_LANE_ALIGN_STATUS
ADDRESS: 0x8015DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32789.15:12Align stateCurrent lane alignment FSM stateRO
4/5.32789.0RO/LH
Lane Alignment FIFO Collision status for lane alignment FIFO. When high, indicates that there
collisionis collision error in lane alignment FIFO.
Table 2-53. RX_CHANNEL_SYNC_STATUS
ADDRESS: 0x8016DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32790.11RO/LL
Channel Synchronization status for all 1 = Channel synchronization is achieved in all lanes.
lanes0 = Channel synchronization is lost in one or more lanes
Table 2-54. BIT_ORDER
ADDRESS: 0x8017DEFAULT: 0x0005
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32791. 3XGMII RX bit orderRW
4/5.32791. 2XAUI RX bit orderRW
4/5.32791. 1XGMII TX bit orderRW
When high, reverses the order of bits in the parallel data sent from XAUI RX
for each lane. (Default 1’b0)
When high, reverses the order of bits in the parallel data received from
SERDES macros for XAUI RX for each lane. (Default 1’b1)
When high, reverses the order of bits in the parallel data received from the
XGMII interface each lane. (Default 1’b0)
4/5.32796.15:0Idle delete countCounter for number of idle deletionsRO/COR
Table 2-60. DATA_DOWN
ADDRESS: 0x801DDEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32797.3Lane 3 data down
4/5.32797.2Lane 2 data down
4/5.32797.1Lane 1 data down
4/5.32797.0Lane 0 data down
When high, indicates that link for the corresponding lane was inactive (data
did not toggle) for 4095 cycles of recovered clock from serial input data
The recovered clock is generated internally by the PLL from the 156Mhz
Reference clock.
4/5.32798.7When low, sequence columns are not counted as IPG (DefaultRW
4/5.32798.3RX Lane align bypass enableWhen set, enables lane alignment bypass on the RX sideRW
Consider sequence column part
of IPG
When set, disables clock tolerance compensation on the RX
side. (Default 1’b0)
When set, disables the replacement of /A/K/R/ into Idles and
also bypasses end-of-packet error checking. (Default 1’b0)
When set, disables the XAUI 8B/10B decoding for the
corresponding lane. (Default 1’b0)
When high, sequence columns are counted as part of IPG.
1’b0)
RW
Table 2-62. CLOCK_DOWN_STATUS
ADDRESS: 0x801FDEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.32799. 7Lane 3 clock 312 down
4/5.32799. 6Lane 2 clock 312 down
4/5.32799. 5Lane 1 clock 312 down
4/5.32799. 4Lane 0 clock 312 down
4/5.32799. 3Lane 3 clock 156 down
4/5.32799. 2Lane 2 clock 156 down
4/5.32799. 1Lane 1 clock 156 down
4/5.32799. 0Lane 0 clock 156 down
When high, indicates that serial clock generated by SERDES TX
is down on the corresponding lane for 255 or more cycles. TheRO/LH
detection is done on the transmit side.
When high, indicates that 156MHz XGMII clock is down on the
corresponding lane for 255 or more cycles. The detection is doneRO/LH
on the transmit side
Setting this bit high isolates the XGXS core from the XGMII interface.
Inputs are ignored; Outputs are set to high impedance.
1 = Isolate is enabled
0 = Normal operation (Default 1’b0)
Following registers can be addressed directly only through Clause 22 (1G Related Registers). Clause 22
access is valid only when “ST” pin is set to 1. These bits are per channel basis. Channel identification is
based on PHY (Port) address field.
Channel 0 can be accessed by setting 2 LSB’s of PHY address to 00.
Channel 1 can be accessed by setting 2 LSB’s of PHY address to 01.
Channel 2 can be accessed by setting 2 LSB’s of PHY address to 10.
Channel 3 can be accessed by setting 2 LSB’s of PHY address to 11.
Registers 30 (5’h1E) and 31 (5’h1F) are global in 1G mode. These registers contents are same when
accessed through any of the 4 channels mentioned above.
Table 2-74. PHY_CONTROL_1
ADDRESS: 0x00DEFAULT: 0x0140
BIT(s)NAMEDESCRIPTIONACCESS
1 = PHY reset (including all registers and both Tx/Rx datapaths)
(1) After reset bit is set to one, it automatically sets itself back to zero on the next MDC clock cycle.
0 = Normal operation (Default 1’b0)
This is a global bit (not per channel). Asserting this bit is equivalent to
asserting the device primary input RST_N.
Logically OR’ed with PLOOP
1 = Enable loop back mode. In this mode, serial output of the channel is
looped back onto serial input.
0 = Disable loop back mode (Default 1’b0)
This is the least significant bit of the speed selection bits (MSB is 0.6).
This bit always reads 0.
Setting this bit high powers down respective channel, with exception that
MDIO interface stays active. Serdes PLL’s can be shut down by
de-asserting bits 36864.12 and 36864.4. Jitter cleaner PLL can be shut
down by de-asserting 37127.15
1 = Power Down mode is enabled.
0 = Normal operation (Default 1’b0)
Setting this bit high isolates the channel from the parallel interface.
Inputs are ignored; Outputs are set to high impedance.
1 = Isolate is enabled
0 = Normal operation (Default 1’b0)
This is the most significant bit of the speed selection bits (LSB is 0.13).
This bit always reads 1
1. 5AN CompleteAlways reads 0 (AN not supported)RO
1. 4Remote FaultAlways reads 0RO
1. 3AN AbilityRead will return 0, indicating that Auto negotiation is not supportedRO
1. 2Link StatusRO/LL
1.1Jabber DetectAlways reads 0RO
1.0Extended CapabilityRead will return 1 indicating extended register capabilityRO
Read will return 1 indicating extended status information is held in
register 0x0F.
Read will return 0 indicating MDIO doesn’t accept command without
preceding preamble (minimum 32 1’s). Writes will be ignored
Read will return the Link Status and is valid only when device is in
GMII/RGMII mode or when bit 17.7 is set in Non-GMII/RGMII modes.
Note: Link status will always indicate high when in loopback. In remote
loopback mode, the bit represents the normal bit function.
1 = Link UP
0 = Link DOWN
01 = Selects Jitter cleaned clock(Selecting the jitter cleaned clock while
10 = Selects respective channel SERDES RX clock
11 = Reserved
Logically OR’ed with SLOOP
When asserted high the data presented at the serial receive interface is
looped back to the serial transmit interface of the same channel via the
deserializer, the serializer and if enabled the PCS function. If 1GX PCS is
with REFCLK.
Also referred to as remote loopback.
0 = Farend Loopback is disabled. (Default 1’b0)
1 = Farend loopback is enabled.
A logic 1 enables the PRBS (2^7) verifier in the receive datapath.
Logically OR'ed with the PRBSEN pin. (Default 1’b0)
A logic 1 enables the PRBS (2^7) generator in the transmit datapath.
Logically OR'ed with the PRBSEN pin. (Default 1’b0)
Test Pattern Selection
000 = High Frequency Test Pattern (Default 3’b000)
001 = Low Frequency Test Pattern
011 = CRPAT Long
100 = CRPAT Short
Others = Reserved
www.ti.com
ADDRESS: 0x11DEFAULT: 0x3590
BIT(s)NAMEDESCRIPTIONACCESS
17.15Global writeRW/SC
17.14Sync Status OverrideRW
17.13TX PMA Bit OrderSERDES transmits MSB first, and the 1000Base-X standard requiresRW
When written as 1 the settings in 17.14:0 will affect all channels of one
device simultaneously. When written as 0 the settings in 17.14:0 are only
valid for the addressed channel.
This value always reads zero.
1 = Causes an override of the sync state of 1000Base-X synchronization
state machine to reflect a “1” in the sync_status (1.2) bit.
0 = Original (normal operation) sync_status value is represented in bit
1.2. (Default 1’b0)
When asserted, allows the ten bits of data given to the parallel side of
the SERDES TX macro to be flipped. This is normally set since the
LSB to be transmitted first. For standard based operation, the customer
may leave this bit alone. (Default 1’b1)
Submit Documentation Feedback
Product Folder Link(s): TLK3134
TLK3134
www.ti.com
SLLS838F–MAY 2007–REVISED DECEMBER 2009
Table 2-80. PHY_CH_CONTROL_2 (continued)
ADDRESS: 0x11DEFAULT: 0x3590
BIT(s)NAMEDESCRIPTIONACCESS
When asserted, allows the ten bits of data received from the parallel side
17.12RX PMA Bit OrderSERDES receives MSB first, and the 1000Base-X standard requires LSBRW
17.11LOS OverrideSynchronization turned on irrespective of LOS statusRW
17.10CTC enable(Default 1’b1)RW
17.9Full DDR modeRW
17.8RCLK out enable0 = Disables RX_CLK out.RW
17.7Comma enableRW
17.6FC enablechannel mode to allow proper detection of EOF 8B/10B disparityRW
17.5Data mode(data clocked on both rising and falling edge)RW
17.4Nibble order1 = LSB on rising edge followed by MSB on falling edge (Default 1’b1)RW
17.3PCS TX_RX EnableRW
17.2Encode Decode EnableRW
17.1TX Edge Mode1 = Rising edge align mode. Incoming parallel data is aligned to risingRW
17.0RX Edge ModeWhen channel is in SDR modeRW
of the SERDES RX macro to be flipped. This is normally set since the
to be received first. For standard based operation, the customer may
leave this bit alone. (Default 1’b1)
1 = Overrides Loss of signal (LOS) status coming from SERDES.
0 = Synchronization depends on LOS status. (Default 1’b0)
1 = Clock Tolerance Compensation on receive datapath is enabled
0 = Clock Tolerance Compensation on receive datapath is disabled
1 = Sets the device in full DDR mode (NBID/TBID modes)
0 = Disables full DDR mode (Default)
1 = Enables RX_CLK out (Default 1’b1)
RX_CLK will be low when this bit is de-asserted
1 = Enables comma detection (Default 1’b1)
0 = Disables comma detection
1 = Enables FC_PH overlay detection. This is needed in 1x/2x Fiber
0 = Disables FC_PH overlay detection (Default 1’b0)
Valid only when 17.9 (Full DDR mode) is LOW.
1 = Enables DDR data mode on parallel Transmit and Receive directions
0 = Enables SDR data mode on parallel Transmit and Receive directions
(data is clocked only on rising edge or only on falling edge) (Default 1’b0)
Applicable only in non FULL DDR modes
0 = MSB on rising edge followed by LSB on falling edge
1 = Enables 1000Base-X PCS Tx & PCS Rx functions
0 = Disables 1000Base-X PCS Tx Function (Default 1’b0)
0 = 8B/10B encode decode functions are disabled (Default 1’b0)
1 = 8B/10B encode decode functions are enabled
When channel is in DDR mode
1 = Source aligned timing on transmit parallel interface.
0 = Source centered timing on transmit parallel interface. Data is latched
on both rising and falling clock edges.
When channel is in SDR mode
edge of parallel input clock. Internally data is latched at the falling edge
of the clock.
0 = Falling edge align mode. Incoming data is aligned to falling edge of
parallel input clock. Internally data is latched at the rising edge of the
clock
When channel is in DDR mode
1 = Source aligned timing on receive parallel interface. Data changes at
clock edge.
0 = Source centered timing on receive parallel interface.
1 = Rising edge align mode. Outgoing parallel data is aligned to the
rising edge of the parallel output clock
0 = Falling edge align mode. Outgoing parallel data is aligned to the
falling edge of the parallel output clock
24.15:0pattern. Counter increments for each received character that has anCOR
(1) User has to make sure that register 23 is read first and then register 24. If user reads register 24 before reading register 23, then the
count value read through register 24 may not be correct.
CRPAT Error
counter[15:0]
This counter reflects LSW part of error count for CRPAT Frequency test
error. Counter clears upon read.
SLLS838F–MAY 2007–REVISED DECEMBER 2009
(1)
Table 2-88. PHY_TEST_MODE_CONTROL
ADDRESS: 0x1BDEFAULT: 0x7000
BIT(s)NAMEDESCRIPTIONACCESS
When written as 1 the settings in 27.14:12 will affect all channels of one
27.15Global writeWhen written as 0 the settings in 27.14:12 are only valid for theRW/SC
27.14:12Test Mux SelectRW
device simultaneously.
addressed channel.
This value always reads zero.
Mux control to select debug signals onto test mux data pins. For TI test
purposes only
Table 2-89. PHY_CHANNEL_STATUS
ADDRESS: 0x1CDEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
28.15Signal DetectWhen high, indicates that the SERDES detected valid signal.RO/LL
28.13
28:12
Encoder Invalid Code When high, indicates that the 1000Base-X encoder received an invalid
Wordcontrol word.
Decoder Invalid Code When high, indicates that the 1000Base-X decoder received an invalid
Wordcode word.
RO/LH
Table 2-90. PHY_PRBS_HIGH_SPEED_TEST_COUNTER
ADDRESS: 0x1DDEFAULT: 0xFFFD
BIT(s)NAMEDESCRIPTIONACCESS
29.15:0COR
BIT(s)NAMEDESCRIPTIONACCESS
30.15:0Ext address controlwritten/read. Contents of address written in this register can be accessedRW
(1) This register is not per channel basis. This register can be accessed through any of the 4 channels.
BIT(s)NAMEDESCRIPTIONACCESS
31.15:0RW
(1) This register is not per channel basis. This register can be accessed through any of the 4 channels.
PRBS High SpeedCounter increments by one for each received character that has error.
Test CounterThis counter saturates at 16’hffff. When read, it resets to zero and
ADDRESS: 0x1EDEFAULT: 0x0000
ADDRESS: 0x1FDEFAULT: 0x0000
Ext address dataThis register contains the data associated with the register address
registerwritten in Register 30 (0x1E)
This counter reflects errors for PRBS (2^7) test pattern verification .
continues to count.
Table 2-91. PHY_EXT_ADDRESS_CONTROL
This register should be written with the extended register address to be
from Reg 31 (0x1F).
00 = Loss of signal detection disabled
01 = Reserved
85-175 mVdfpp.
11 = Reserved.
Receiver symbol alignment selection
00 = Alignment disabled.
01 = Comma alignment enabled
10 = Symbol alignment will be performed by one bit position when this
mode is selected (i.e ALIGN changes from 00 to 10)
11= Reserved
Receive Termination selection
00 = Common point connected to VDDT (For DC Coupled Systems)
10 = Reserved
11 = Reserved
1 = Enables receiver
0 = Disables receiver
(1)
www.ti.com
Table 2-97. SERDES_RX1_CONFIG
ADDRESS: 0x9004DEFAULT: 0x0001
BIT(s)NAMEDESCRIPTIONACCESS
Adaptive equalization control
4/5.36868.15:12EQUALIZERat maximum gain.RW
4/5.36868.11:9CDRClock data recovery algorithm selectionRW
4/5.36868.8INVPAIR1 = Inverts polarity of RXP and RXNRW
4/5.36868.7:6LOS10 = Loss of signal detection enabled with threshold in the range ofRW
4/5.36868.5:4ALIGNRW
4/5.36868.3:2TERM01 = Common point set to 0.8 VDDT (For AC Coupled Systems)RW
4/5.36868.1ENTEST1= Enables test modes specified in TESTCFG (Register 0x9012)RW
00 = Loss of signal detection disabled
01 = Reserved
85-175 mVdfpp.
11 = Reserved.
Receiver symbol alignment selection
00 = Alignment disabled.
01 = Comma alignment enabled
10 = Symbol alignment will be performed by one bit position when this
mode is selected (i.e ALIGN changes from 00 to 10)
11= Reserved
Receive Termination selection
00 = Common point connected to VDDT (For DC Coupled Systems)
00 = Loss of signal detection disabled
01 = Reserved
85-175 mVdfpp.
11 = Reserved.
Receiver symbol alignment selection
00 = Alignment disabled.
01 = Comma alignment enabled
10 = Symbol alignment will be performed by one bit position when this
mode is selected (i.e ALIGN changes from 00 to 10)
11= Reserved
Receive Termination selection
00 = Common point connected to VDDT (For DC Coupled Systems)
Receiver symbol alignment selection
00 = Alignment disabled.
4/5.36872.5:4ALIGNRW
4/5.36872.3:2TERM01 = Common point set to 0.8 VDDT (For AC Coupled Systems)RW
4/5.36872.1ENTEST1= Enables test modes specified in TESTCFG (Register 0x9012)RW
4/5.36872.0ENRXRW
01 = Comma alignment enabled
10 = Symbol alignment will be performed by one bit position when this
mode is selected (i.e ALIGN changes from 00 to 10)
11= Reserved
Receive Termination selection
00 = Common point connected to VDDT (For DC Coupled Systems)
10 = Reserved
11 = Reserved
1 = Enables receiver
0 = Disables receiver
Table 2-100. SERDES_TX0_CONFIG
ADDRESS: 0x900ADEFAULT: 0x0001
BIT(s)NAMEDESCRIPTIONACCESS
4/5.36874.15:12ReservedAlways reads 0RW
Transmitter Output swing control for SERDES transmitter.
Refer Table 2-105: Output swing Control
4/5.36874.11:9SWINGRW
4/5.36874.8CMRW
4/5.36874.7:4DE-EMPHASISRW
4/5.36874.3INVPAIRconsidered positive dataRW
4/5.36874.2ReservedAlways reads 0RW
4/5.36874.1ENTEST1= Enables test modes specified in TESTCFG (Register 0x9011)RW
4/5.36874.0ENTXRW
(1) These are SERDES transmitter control bits for channel 0.
If swing is set to 750mV or more, CM bit (4/5.36874.8) needs to be set to
1.
If swing is set to 625 mV or less, CM bit (4/5.36874.8) needs to be set to
0.
1 = Applicable for SWING settings 750 mV or more.
0 = Applicable for SWING settings 625 mV or less.
Transmitter Differential output De-emphasis control
Refer Table 2-104: Transmit De-emphasis Control
Transmitter Polarity
1 = Inverted polarity. TXP considered negative data and TXN
0 = Normal polarity. TXP considered positive data and TXN considered
Transmitter Output swing control for SERDES transmitter.
Refer Table 2-105: Output swing Control
If swing is set to 750mV or more, CM bit (4/5.36876.8) needs to be set to
1.
If swing is set to 625 mV or less, CM bit (4/5.36876.8) needs to be set to
0.
1 = Applicable for SWING settings 750 mV or more.
0 = Applicable for SWING settings 625 mV or less.
Submit Documentation Feedback
Product Folder Link(s): TLK3134
(1)
TLK3134
www.ti.com
Table 2-101. SERDES_TX1_CONFIG
ADDRESS: 0x900CDEFAULT: 0x0001
BIT(s)NAMEDESCRIPTIONACCESS
4/5.36876.7:4DE-EMPHASISRW
4/5.36876.3INVPAIRpositive dataRW
4/5.36876.2ReservedAlways reads 0RW
4/5.36876.1ENTEST1= Enables test modes specified in TESTCFG (Register 0x9011)RW
4/5.36876.0ENTXRW
Transmitter Differential output De-emphasis control
Refer Table 2-104: Transmit De-emphasis Control
Transmitter Polarity
1 = Inverted polarity. TXP considered negative data and TXN considered
0 = Normal polarity. TXP considered positive data and TXN considered
negative data
1 = Enables transmitter
0 = Disables transmitter
(1)
Table 2-102. SERDES_TX2_CONFIG
ADDRESS: 0x900EDEFAULT: 0x0001
BIT(s)NAMEDESCRIPTIONACCESS
4/5.36878.15:12ReservedAlways reads 0RW
Transmitter Output swing control for SERDES transmitter
Refer Table 2-105: Output swing Control
4/5.36878.11:9SWINGRW
4/5.36878.8CMRW
4/5.36878.7:4DE-EMPHASISRW
4/5.36878.3INVPAIRpositive dataRW
4/5.36878.2ReservedAlways reads 0RW
4/5.36878.1ENTEST1= Enables test modes specified in TESTCFG (Register 0x9011)RW
4/5.36878.0ENTXRW
(1) These are SERDES transmitter control bits for channel 2.
If swing is set to 750mV or more, CM bit (4/5.36878.8) needs to be set to
1.
If swing is set to 625 mV or less, CM bit (4/5.36878.8) needs to be set to
0.
1 = Applicable for SWING settings 750 mV or more.
0 = Applicable for SWING settings 625 mV or less.
Transmitter Differential output De-emphasis control
Refer Table 2-104: Transmit De-emphasis Control
Transmitter Polarity
1 = Inverted polarity. TXP considered negative data and TXN considered
0 = Normal polarity. TXP considered positive data and TXN considered
negative data
1 = Enables transmitter
0 = Disables transmitter
SLLS838F–MAY 2007–REVISED DECEMBER 2009
(continued)
(1)
ADDRESS: 0x9010DEFAULT: 0x0001
BIT(s)NAMEDESCRIPTIONACCESS
4/5.36880.15:12ReservedAlways reads 0RW
4/5.36880.11:9SWINGRW
4/5.36880.8CMRW
4/5.36880.7:4DE-EMPHASISRW
(1) These are SERDES transmitter control bits for channel 3.
Transmitter Output swing control for SERDES transmitter
Refer Table 2-105: Output swing Control
If swing is set to 750mV or more, CM bit (4/5.36880.8) needs to be set to
1.
If swing is set to 625 mV or less, CM bit (4/5.36880.8) needs to be set to
0.
1 = Applicable for SWING settings 750 mV or more.
0 = Applicable for SWING settings 625 mV or less.
Transmitter Differential output De-emphasis control
Refer Table 2-104: Transmit De-emphasis Control
Submit Documentation Feedback
Product Folder Link(s): TLK3134
(1)
TLK3134
SLLS838F–MAY 2007–REVISED DECEMBER 2009
Table 2-103. SERDES_TX3_CONFIG
ADDRESS: 0x9010DEFAULT: 0x0001
BIT(s)NAMEDESCRIPTIONACCESS
Transmitter Polarity
4/5.36880.3INVPAIRpositive dataRW
4/5.36880.2ReservedAlways reads 0RW
4/5.36880.1ENTEST1= Enables test modes specified in TESTCFG (Register 0x9011)RW
4/5.36880.0ENTXRW
1 = Inverted polarity. TXP considered negative data and TXN considered
0 = Normal polarity. TXP considered positive data and TXN considered
4/5.36882.1:0TESTPATT_RX01 = Clock pattern (Half baud clock pattern with period of 2UI)RW
(1) Above control bits are only for vendor testing only. Customer should leave them at their default values
01 = Pad loopback. For TI purposes only
10 = Inner loopback (CML driver disabled)
11 = Inner loopback (CML driver enabled)
PLL Bypass control in test mode
00 = No bypass
10 = Functional bypass. Macros run using TESCLKR
11 = Refclk observe (Reserved. For TI purposes only)
0 – Disables test pattern verification in SERDES RX macro.
1 – Enables test pattern verification in SERDES RX macro.
0 – Disables test pattern generation in SERDES RX macro.
1 – Enables test pattern generation in SERDES RX macro.
Valid when ENTXPATT_RX, ENRXPATT_RX, ENTEST_RX are set
00 = Reserved (Default)
10 = 27– 1 PRBS pattern
11 = 223– 1 PRBS pattern
Table 2-108. SERDES_RX0_STATUS
(1)
(1)
www.ti.com
ADDRESS: 0x9013DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.36883.3LOSDTCTWhen HIGH indicates Loss of Signal condition is detected for RX CH 0RO
4/5.36883.2ODDCGLOW when SYNC is HIGH. After that toggles every cycle.RO
4/5.36883.1SYNCRO
4/5.36883.0RX CH 0 TESTFAILRO
(1) Above status bits are only for Receive CH 0.
ADDRESS: 0x9014DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.36884.3LOSDTCTWhen HIGH indicates Loss of Signal condition is detected for RX CH 1RO
4/5.36884.2ODDCGLOW when SYNC is HIGH. After that toggles every cycle.RO
4/5.36884.1SYNCRO
4/5.36884.0RX CH 1 TESTFAILRO
(1) Above status bits are only for Receive CH 1.
When comma detection is enabled, this bit is HIGH when an aligned
comma is received.
When HIGH, indicates an error occurred during test pattern verification
for SERDES RX CH 0.
When ST = 0, this bit status is valid when PRBS_EN pin is set or when
SERDES RX test pattern registers bits are set
When ST = 1, this bit status is valid only when SERDES RX test pattern
verification bits are set
Table 2-109. SERDES_RX1_STATUS
When comma detection is enabled, this bit is HIGH when an aligned
comma is received.
When HIGH, indicates an error occurred during test pattern verification
for SERDES RX CH 1.
When ST = 0, this bit status is valid when PRBS_EN pin is set or when
SERDES RX test pattern registers bits are set
When ST = 1, this bit status is valid only when SERDES RX test pattern
verification bits are set
4/5.36885.3LOSDTCTWhen HIGH indicates Loss of Signal condition is detected for RX CH 2RO
4/5.36885.2ODDCGLOW when SYNC is HIGH. After that toggles every cycle.RO
4/5.36885.1SYNCRO
4/5.36885.0RX CH 2 TESTFAILRO
(1) Above status bits are only for Receive CH 2.
When comma detection is enabled, this bit is HIGH when an aligned
comma is received.
When HIGH, indicates an error occurred during test pattern verification
for SERDES RX CH 2.
When ST = 0, this bit status is valid when PRBS_EN pin is set or when
SERDES RX test pattern registers bits are set
When ST = 1, this bit status is valid only when SERDES RX test pattern
verification bits are set
Table 2-111. SERDES_RX3_STATUS
ADDRESS: 0x9016DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.36886.3LOSDTCTWhen HIGH indicates Loss of Signal condition is detected for RX CH 3RO
4/5.36886.2ODDCGLOW when SYNC is HIGH. After that toggles every cycle.RO
4/5.36886.1SYNCRO
4/5.36886.0RX CH 3 TESTFAILRO
(1) Above status bits are only for Receive CH 3.
When comma detection is enabled, this bit is HIGH when an aligned
comma is received.
When HIGH, indicates an error occurred during test pattern verification
for SERDES RX CH 3
When ST = 0, this bit status is valid when PRBS_EN pin is set or when
SERDES RX test pattern registers bits are set
When ST = 1, this bit status is valid only when SERDES RX test pattern
verification bits are set
SLLS838F–MAY 2007–REVISED DECEMBER 2009
(1)
(1)
Table 2-112. SERDES_TX0_STATUS
ADDRESS: 0x9017DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.36887.0TX CH 0 TESTFAILRO
(1) Above status bits are only for Transmit CH 0.
When HIGH, indicates an error occurred during test pattern verification
for SERDES TX CH 0.
Table 2-113. SERDES_TX1_STATUS
ADDRESS: 0x9018DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.36888.0TX CH 1 TESTFAILRO
(1) Above status bits are only for Transmit CH 1.
When HIGH, indicates an error occurred during test pattern verification
for SERDES TX CH 1.
Table 2-114. SERDES_TX2_STATUS
ADDRESS: 0x9019DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.36889.0TX CH 2 TESTFAILRO
(1) Above status bits are only for Transmit CH 2.
When HIGH, indicates an error occurred during test pattern verification
for SERDES TX CH 2.
HSTL Output Divider 1 Value. See Figure 1-3. This value is the divider value for
4/5.37121.14:8HSTL_DIV[6:0]output frequency for the impedance controller clock is 40 Mhz. If the jitterRW
4/5.37121.6:0HSTL_DIV2[6:0]RW
the clock which runs the HSTL impedance compensation controller. The target
cleaner is not enabled, this value is not used.
Legal programmed values are greater than or equal to 6
HSTL Output Divider 2 Value. See Figure 1-3. This value is the divider value for
the HSTL impedance compensation controller. The target output frequency for
this clock is 40 MHz. When the jitter cleaner (HSTL_DIV1) is used, this value
should be provisioned to 6 decimal. When the jitter cleaner (HSTL_DIV1) is not
used, this divider value should be provisioned according to the following
equation:
Value = (Parallel Output Byte Clock Frequency / 40 Mhz)
Legal programmed values are 1, and greater than or equal to 4
Table 2-119. JC_DELAY_STOPWATCH_CLK_DIV_CONTROL
ADDRESS: 0x9102DEFAULT: 0x0600
BIT(s)NAMEDESCRIPTIONACCESS
Delay Measurement Clock Output Divider Value. See Figure 1-3.
4/5.37122.14:8DEL_DIV[6:0]value should be provisioned to decimal 6.This value is only usedRW
Delay stop watch lane00 = Comma monitor enabled on Lane 0
select[1:0]01 = Comma monitor enabled on Lane 1
Delay stop watch clock
enable
Controls the clock divider for the delay stop watch function. This
when the delay calculator circuit is enabled.
Legal programmed values are greater than or equal to 6
Lane select to enable comma monitor. Valid only when 37122:0 is
“1”
10 = Comma monitor enabled on Lane 2
11 = Comma monitor enabled on Lane 3
Table 2-120. JC_DELAY_STOPWATCH_COUNTER
ADDRESS: 0x9103DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.37123.15:0RO
Delay stop watchcycles. This counter resets on read and will return 16’h0000 if its read
counter[15:0]before rx comma is received. If latency is more than 16’hFFFF clock
Delay Counter. This value represents the latency in number of clock
Test bits for TXRX output divider. Should be set to 4’b1010 when JC PLL
is used
(1)
RW
RW
Table 2-127. JC_TEST_CONTROL_2
ADDRESS: 0x9109DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.37129.15:14 DEL_DIV_TST[1:0]Test bits for Delay clock divider
4/5.37129.13:12 HSTL_DIV_TST[1:0]Test bits for HSTL VTP divider
4/5.37129.11:10 HSTL_DIV2_TST[1:0]Test bits for HSTL VTP 2X divider
4/5.37129.9:8PFD_TST[1:0]Test bits for Phase frequency detector
4/5.37129.7:4CP_TST[3:0]Test bits for Charge pump
4/5.37129.3:0CP_BUF_TST[3:0]Test bits for Charge pump Buffer
Table 2-128. JC_TI_TEST_CONTROL_1
ADDRESS: 0x9150DEFAULT:0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.37200.15:8 CML_BIAS_TST[7:0]Test bits for Bias generator for CML divider. For TI purposes only.
4/5.37200.7:4CML_BIAS_CTRL[3:0]Control bits for Bias generator for CML divider. For TI purposes only.
4/5.37200.3DIFFTX_ENTST
4/5.37200.2DIFFRX_ENTST
Enable for TX clock out from SERDES REFCLK MUX. For TI purposes
only.
Enable for RX clock out from SERDES REFCLK MUX. For TI purposes
only.
4/5.37201.15:13 VCO_FILCAP_CTRL[2:0]Control bits for VCO tail current noise filter. For TI purposes only.
4/5.37201.12:10 ANA_MUX_CTRL[2:0]Control bits to select the tested signals. For TI purposes only.
Table 2-130. JC_TRIM_STATUS
ADDRESS: 0x9152DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.37202.9:0JC_TRIM[9:0]Jitter Cleaner Resistor Trim valueRO
Table 2-131. DIE_ID_7
ADDRESS: 0x9200DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.37376.15:0 Die ID [127:112]Bits [127:112] of the Die ID. Unique TI DIE identifier.RO
Table 2-132. DIE_ID_6
ADDRESS: 0x9201DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.37377.15:0 Die ID [111:96]Bits [111:96] of the Die ID. Unique TI DIE identifier.RO
www.ti.com
RW
Table 2-133. DIE_ID_5
ADDRESS: 0x9202DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.37378.15:0 Die ID [95:80]Bits [95:80] of the Die ID. Unique TI DIE identifier.RO
Table 2-134. DIE_ID_4
ADDRESS: 0x9203DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.37379.15:0 Die ID [79:64]Bits [79:64] of the Die ID. Unique TI DIE identifier.RO
Table 2-135. DIE_ID_3
ADDRESS: 0x9204DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.37380.15:0 Die ID [63:48]Bits [63:48] of the Die ID. Unique TI DIE identifier.RO
Table 2-136. DIE_ID_2
ADDRESS: 0x9205DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.37381.15:0 Die ID [47:32]Bits [47:32] of the Die ID. Unique TI DIE identifier.RO
0011 extra delay element is added
0102 extra delay elements are added
0113 extra delay elements are added
100No delay elements are removed
1011 extra delay element is removed
1102 extra delay elements are removed
1113 extra delay elements are removed
This counter reflects error count during PRBS test. Counter increments
4/5.38144.7:0COR
Ch0_Testfail errorWhen ST = 0, counter value is valid when PRBS_EN pin is set or when
counter[7:0]SERDES RX test pattern registers bits are set
for each received character that has an error. Counter clears upon read.
When ST = 1, counter value is valid only when SERDES RX test pattern
verification bits are set
Table 2-164. CH1_TESTFAIL_ERR_COUNTER
ADDRESS: 0x9501DEFAULT: 0x00FD
BIT(s)NAMEDESCRIPTIONACCESS
This counter reflects error count during PRBS test. Counter increments
4/5.38145.7:0COR
Ch1_Testfail errorWhen ST = 0, counter value is valid when PRBS_EN pin is set or when
counter[7:0]SERDES RX test pattern registers bits are set
for each received character that has an error. Counter clears upon read.
When ST = 1, counter value is valid only when SERDES RX test pattern
verification bits are set
Table 2-165. CH2_TESTFAIL_ERR_COUNTER
ADDRESS: 0x9502DEFAULT: 0x00FD
BIT(s)NAMEDESCRIPTIONACCESS
This counter reflects error count during PRBS test. Counter increments
for each received character that has an error. Counter clears upon read.
4/5.38146.7:0Ch2_Testfail error counterCOR
When ST = 0, counter value is valid when PRBS_EN pin is set or when
SERDES RX test pattern registers bits are set
When ST = 1, counter value is valid only when SERDES RX test pattern
verification bits are set
Table 2-166. CH3_TESTFAIL_ERR_COUNTER
ADDRESS: 0x9503DEFAULT: 0x00FD
BIT(s)NAMEDESCRIPTIONACCESS
This counter reflects error count during PRBS test. Counter increments
for each received character that has an error. Counter clears upon read.
4/5.38147.7:0Ch3_Testfail error counterCOR
When ST = 0, counter value is valid when PRBS_EN pin is set or when
SERDES RX test pattern registers bits are set
When ST = 1, counter value is valid only when SERDES RX test pattern
verification bits are set
Table 2-167. STCI_CONTROL_STATUS
ADDRESS: 0x9600DEFAULT: 0x0000
BIT(s)NAMEDESCRIPTIONACCESS
4/5.38400.15STCI_CLKBit to generate STCI clock in functional mode.
4/5.38400.11:10 STCI_CFG[1:0]STCI CFG controlRW
4/5.38400.7STCI_DSTCI data in
4/5.38400.3STCI_QSTCI read dataRO
REFCLK frequency = 156.25 MHz, Serdes Data Rate = Full Rate, Mode = Transceiver, Edge Mode =
Source Centered, RX_CLK out = TXBCLK, Jitter Cleaner PLL Multiplier Ratio = 1X or Off
•Device Pin Setting(s) – Pin settings allow for maximum software configurability.
– Ensure ST input pin is Low.
– Ensure CODE input pin is Low.
– Ensure PLOOP input pin is Low.
– Ensure SLOOP input pin is Low.
– Ensure SPEED [1:0] input pins are both High.
– Ensure ENABLE input pin is High.
– Ensure PRBS_EN input pin is Low.
•Reset Device
– Issue a hard or soft reset (RST_N asserted for at least 10 us -or- Write 1’b1 to 4/5.0.15)
– If Single Ended REFCLK used – Write 2’b01 to 4/5.37120.15:14
– If Differential REFCLK used – Write 2’b00 to 4/5.37120.15:14
•Write 2’b11 to 4/5.37120.13:12 to select differential REFCLKP/N as RXBYTECLK
•Write 4’b0000 to 4/5.37120.11:8 to select jitter cleaned clock for SERDES TX/RX.
•Write 2’b00 to 4/5.37120.5:4 to select jitter cleaned clock for HSTL VTP 2x
•Write 2’b00 to 4/5.32810.15:14 to select SERDES TX clock as RX_CLK output
•Write 16’h0081 to 4/5.37126 to set Charge pump control
•Write 16’h00A0 to 4/5.37128 to set TXRX output divider
•Clock Divide Settings (see Figure A-13)
– Write 7’b1000000 to 4/5.37124.14:8 to set REF_DIV to value of 1
– Write 1’b1 to 4/5.37124.15 REFDIV_EN to enable reference clock divider
– Write 7’h14 to 4/5.37124.6:0 to set FB_DIV to value of 20
– Write 1’b1 to 4/5.37124.7 FBDIV_EN to enable feedback divider
– Write 7’h14 to 4/5.37125.6:0 to set RXTX_DIV to value of 20
– Write 1’b1 to 4/5.37125.7 OUTDIV_EN to enable output divider
– Write 7’h0D to 4/5.37121.14:8 to set HSTL_DIV to value of 13
– Write 7’h06 to 4/5.37121.6:0 to set HSTL_DIV2 to value of 6
– Write 2’b11 to 4/5.36864.14:13 to set RX Loop Bandwidth
– Write 2’b11 to 4/5.36864.6:5 to set TX Loop Bandwidth
– Write 4’b0101 to 4/5.36864.11:8 to set MPY RX multiplier factor to 10
– Write 4’b0101 to 4/5.36864.3:0 to set MPY TX multiplier factor to 10
– Write 16’h0000 to 4/5.36865 SERDES_RATE_CONFIG_TX_RX to set Full Rate
– Write 3'b000 to 4/5.37127.14:12 to set control bits for VCO tail current to 0
– Write 1’b1 to 4/5.37127.15 to enable Jitter Cleaner
– Wait 50 ms in order for JCPLL to lock
– If Single Ended REFCLK used – Write 2’b10 to 4/5.37120.9:8
– If Differential REFCLK used – Write 2’b11 to 4/5.37120.9:8
– Select HSTL_2X_CLK (Default = Differential)
– Write 2’b01 to 4/5.37120.5:4 to select RX SERDES recovered clock as HSTL_2X_CLK
– Write 2’b00 to 4/5.32810.15:14 to select SERDES TX clock as RX_CLK output
– Write 7’h04 to 4/5.37121.6:0 to set HSTL_DIV2 to value of 4.
– Write 16’h0000 to 4/5.36865 SERDES_RATE_CONFIG_TX_RX to set Full Rate
•Mode Control (see Table 2-2)
– Write 1’b1 to 4/5.32809.15 XAUI_ORDER
– Write 1’b0 to 4/5.32808.15 to set source centered data for TX side
– Write 1’b0 to 4/5.32808.11 to set source centered data for RX side
– Write 1’b0 to 4/5.32792.1 to disable XAUI data loop back
– Write 1’b0 to 4/5.32792.0 to disable XGMII data loop back
– Write 1’b0 to 4/5.0.14 to disable loop back mode
– Write 3’b110 to 4/5.36874.11:9 to set lane 0 TX swing setting amplitude to 1250 mVdfpp
– Write 1’b1 to 4/5.36874.8 to set channel 0 TX CM bit
– Write 3’b110 to 4/5.36876.11:9 to set lane 1 TX swing setting amplitude to 1250 mVdfpp
– Write 1’b1 to 4/5.36876.8 to set channel 1 TX CM bit
– Write 3’b110 to 4/5.36878.11:9 to set lane 2 TX swing setting amplitude to 1250 mVdfpp
– Write 1’b1 to 4/5.36878.8 to set channel 2 TX CM bit
– Write 3’b110 to 4/5.36880.11:9 to set lane 3 TX swing setting amplitude to 1250 mVdfpp
– Write 1’b1 to 4/5.36880.8 to set channel 3 TX CM bit
•RX equalization settings
– Write 4’b0001 to 4/5.36866.15:12 to turn on adaptive equalization (4’b0000 is off)
– Write 4’b0001 to 4/5.36868.15:12 to turn on adaptive equalization (4’b0000 is off)
– Write 4’b0001 to 4/5.36870.15:12 to turn on adaptive equalization (4’b0000 is off)
– Write 4’b0001 to 4/5.36872.15:12 to turn on adaptive equalization (4’b0000 is off)
– Write 2’b01 to 4/5.36866.3:2 for AC coupled mode (2’b00 is DC coupled mode)
– Write 2’b01 to 4/5.36868.3:2 for AC coupled mode (2’b00 is DC coupled mode)
– Write 2’b01 to 4/5.36870.3:2 for AC coupled mode (2’b00 is DC coupled mode)
– Write 2’b01 to 4/5.36872.3:2 for AC coupled mode (2’b00 is DC coupled mode)
•TX DLL Offset
– Write 16'h0028 to 4/5.37888 TX0_DLL_CONTROL
– Write 16'h0028 to 4/5.37889 TX1_DLL_CONTROL
– Write 16'h0028 to 4/5.37890 TX2_DLL_CONTROL
– Write 16'h0028 to 4/5.37891 TX3_DLL_CONTROL
•Poll Serdes PLL Status for Locked State
– Read 4/5.36891.4,0 SERDES_PLL_STATUS – PLL_LOCK_TX/RX
– If Single Ended REFCLK used – Write 2’b01 to 4/5.37120.15:14
– If Differential REFCLK used – Write 2’b00 to 4/5.37120.15:14
– Write 2’b11 to 4/5.37120.13:12 to select differential REFCLKP/N as RXBYTECLK
– Write 4’b0000 to 4/5.37120.11:8 to select jitter cleaned clock for SERDES TX/RX.
– Write 2’b11 to 4/5.37120.7:6 to select differential REFCLKP/N as Delay Stopwatch clock
input
– Write 2’b00 to 4/5.37120.5:4 to select jitter cleaned clock for HSTL VTP 2x
– Write 2’b00 to 16.10:9 to select SERDES TX clock as RX_CLK output (per channel)
– Write 16’h0081 to 4/5.37126 to set Charge pump control
– Write 16’h00A0 to 4/5.37128 to set TXRX output divider
•Clock Divide Settings (see Figure A-13)
– Write 7’b1000000 to 4/5.37124.14:8 to set REF_DIV to value of 1
– Write 1’b1 to 4/5.37124.15 REFDIV_EN to enable reference clock divider
– Write 7’h18 to 4/5.37124.6:0 to set FB_DIV to value of 24
– Write 1’b1 to 4/5.37124.7 FBDIV_EN to enable feedback divider
– Write 7’h18 to 4/5.37125.6:0 to set RXTX_DIV to value of 24
– Write 1’b1 to 4/5.37125.7 OUTDIV_EN to enable RXTX_DIV output divider
– Write 7’h0D to 4/5.37121.14:8 to set HSTL_DIV to value of 13
– Write 7’h06 to 4/5.37121.6:0 to set HSTL_DIV2 to value of 6
– Write 2’b11 to 4/5.36864.14:13 to set RX Loop Bandwidth
– Write 2’b11 to 4/5.36864.6:5 to set TX Loop Bandwidth
– Write 4’b0101 to 4/5.36864.11:8 to set MPY RX multiplier factor to 10
– Write 4’b0101 to 4/5.36864.3:0 to set MPY TX multiplier factor to 10
– Write 16’h5555 to 4/5.36865 SERDES_RATE_CONFIG_TX_RX to set Half Rate
– Write 3'b000 to 4/5.37127.14:12 to set control bits for VCO tail current to 0
– Write 1’b1 to 4/5.37127.15 to enable Jitter Cleaner
– Wait 50 ms in order for JCPLL to lock
– If Single Ended REFCLK used – Write 2’b10 to 4/5.37120.9:8
– If Differential REFCLK used – Write 2’b11 to 4/5.37120.9:8
– Select DELAY_CLK (Default = Differential)
– If Single Ended REFCLK used – Write 2’b10 to 4/5.37120.7:6
– If Differential REFCLK used – Write 2’b11 to 4/5.37120.7:6
– Select HSTL_2X_CLK (Default = Differential)
– Write 2’b01 to 4/5.37120.5:4 to select RX SERDES recovered clock as
HSTL_2X_CLK
– Write 2’b00 to 16.10:9 to select SERDES TX clock as RX_CLK output (per channel)
– Write 7’h04 to 4/5.37121.6:0 to set HSTL_DIV2 to value of 4.
– Write 15’h1515 to 4/5.36864.14:0 SERDES_PLL_CONFIG to set MPY RX/TX multiplier
factor to 10
– Write 16’h5555 to 4/5.36865 SERDES_RATE_CONFIG_TX_RX to set Half Rate
– Write 1’b0 to 17.0 for RX source centered mode (per channel)
– Write 1’b0 to 17.1 for TX source centered mode (per channel)
– Write 1’b1 to 17.2 to enable 8B/10B encode decode functions (per channel)
– Write 1’b1 to 17.3 to enable 1000Base-X PCS TX & PCS RX functions (per channel)
– Write 1’b1 to 17.4 to set nibble order, LSB on rising edge, MSB on falling edge (per channel)
– Write 1’b1 to 17.5 to enable DDR data on TX/RX directions (per channel)
– Write 1’b0 to 17.6 to disable FC_PH overlay detection (per channel)
– Write 1’b1 to 17.7 to enable comma detection (per channel)
– Write 1’b0 to 17.9 to disable full DDR mode (per channel)
– Write 1’b0 to 16.8 to disable Farend Loop back (per channel)
– Write 1’b0 to 0.14 to disable loop back mode (per channel)
– Write 3’b111 to 4/5.36874.11:9 to set channel 0 TX swing setting amplitude to 1375 mVdfpp
– Write 1’b1 to 4/5.36874.8 to set channel 0 TX CM bit
– Write 3’b111 to 4/5.36876.11:9 to set channel 1 TX swing setting amplitude to 1375 mVdfpp
– Write 1’b1 to 4/5.36876.8 to set channel 1 TX CM bit
– Write 3’b111 to 4/5.36878.11:9 to set channel 2 TX swing setting amplitude to 1375 mVdfpp
– Write 1’b1 to 4/5.36878.8 to set channel 2 TX CM bit
– Write 3’b111 to 4/5.36880.11:9 to set channel 3 TX swing setting amplitude to 1375 mVdfpp
– Write 1’b1 to 4/5.36880.8 to set channel 3 TX CM bit
– Write 4’b0001 to 4/5.36866.15:12 to turn on adaptive equalization (4’b0000 is off)
– Write 4’b0001 to 4/5.36868.15:12 to turn on adaptive equalization (4’b0000 is off)
– Write 4’b0001 to 4/5.36870.15:12 to turn on adaptive equalization (4’b0000 is off)
– Write 4’b0001 to 4/5.36872.15:12 to turn on adaptive equalization (4’b0000 is off)
– Write 2’b01 to 4/5.36866.3:2 for AC coupled mode (2’b00 is DC coupled mode)
– Write 2’b01 to 4/5.36868.3:2 for AC coupled mode (2’b00 is DC coupled mode)
– Write 2’b01 to 4/5.36870.3:2 for AC coupled mode (2’b00 is DC coupled mode)
– Write 2’b01 to 4/5.36872.3:2 for AC coupled mode (2’b00 is DC coupled mode)
•TX DLL Offset
– Write 16'h0028 to 4/5.37888 TX0_DLL_CONTROL
– Write 16'h0028 to 4/5.37889 TX1_DLL_CONTROL
– Write 16'h0028 to 4/5.37890 TX2_DLL_CONTROL
– Write 16'h0028 to 4/5.37891 TX3_DLL_CONTROL
•Poll Serdes PLL Status for Locked State
– Read 4/5.36891.4,0 SERDES_PLL_STATUS – PLL_LOCK_TX/RX
– Keep polling until both bits are high
•Issue Data path Reset
– Write 1’b1 to 16.11 (per channel)
– Write 1'b0, 1'b1, followed by 1'b0 to 37636.14.
•Clear Latched Registers
– Read 1 PHY_STATUS_1 to clear (per channel)
– Read 18 PHY_RX_CTC_FIFO_STATUS to clear (per channel)
– Read 19 PHY_TX_CTC_FIFO_STATUS to clear (per channel)
– Read 28 PHY_CHANNEL_STATUS to clear (per channel)
– Read 4/5.36891 SERDES_PLL_STATUS to clear
3.3Jitter Test Pattern Generation and Verification Procedures
Use one of the following procedures to generate and verify the respective test patterns. It is assumed that
an appropriate external cable has been connected between serial outputs and serial inputs. No functional
parallel side connections are necessary.
•XAUI Based High Frequency Test Pattern:
– Device Pin Setting(s):
•Ensure ST primary input pin is low.
– Reset Device:
•Issue a hard or soft reset (RST_N asserted –or- Write 1 to 4/5.0.15)
– Select single ended or differential REFCLK input:
•If Single Ended REFCLK used - Write 2’b01 to 4/5.37120.15:14
•If Differential REFCLK used – Write 2’b00 to 4/5.37120.15:14
– Select SERDES TX Reference Clock Input:
•If Single Ended REFCLK used - Write 2’b10 to 4/5.37120.11:10
•If Differential REFCLK used – Write 2’b11 to 4/5.37120.11:10
– Select SERDES RX Reference Clock Input:
•If Single Ended REFCLK used - Write 2’b10 to 4/5.37120.9:8
•If Differential REFCLK used – Write 2’b11 to 4/5.37120.9:8
– Ensure a legal reference clock operation frequency is selected based on Appendix A, and provision
control settings accordingly. It is also possible to use the Jitter Cleaner during these tests, and the
user should consult Appendix A for further Jitter Cleaner provisioning details.
– Issue Datapath Reset:
•Write 1’b1 to 4/5.32800.15
– Verify RX Link Up:
•Read 4/5.8.10, and discard value read.
•Poll 4/5.8.10 deasserted.
– Bypass Lane Alignment Logic:
•Write 1’b1 to 4/5.32798.3
– Select Test Pattern:
•Write 2’b00 to 4/5.25.1:0.
– Enable Pattern Generation/Verification
•Write 1’b1 to 4/5.25.2.
– Clear Error Counters:
•Read 4/5.32774, 4/5.32775, 4/5.32776, 4/5.32777
– The pattern verification is now in progress.
– Verify Error Free Operation (as many times as desired during the duration of the test period):
•Read 4/5.32774, and verify 16’h0000 is read to confirm error free operation.
•Read 4/5.32775, and verify 16’h0000 is read to confirm error free operation.
•Read 4/5.32776, and verify 16’h0000 is read to confirm error free operation.
•Read 4/5.32777, and verify 16’h0000 is read to confirm error free operation.
•XAUI Based Low Frequency Test Pattern:
– Follow the XAUI Based High Frequency Test Pattern procedure above, with the following
exception:
•Write 2’b01 to 4/5.25.1:0 instead of 2’b00.
•XAUI Based Mixed Frequency Test Pattern:
– Follow the XAUI Based High Frequency Test Pattern procedure above, with the following
•XAUI Based Continuous Random Test Pattern (CRPAT):
– Device Pin Setting(s):
•Ensure ST primary input pin is low.
•Ensure CODE primary input pin is low.
– Reset Device:
•Issue a hard or soft reset (RST_N asserted –or- Write 1 to 4/5.0.15)
– Select single ended or differential REFCLK input:
•If Single Ended REFCLK used - Write 2’b01 to 4/5.37120.15:14
•If Differential REFCLK used – Write 2’b00 to 4/5.37120.15:14
– Select SERDES TX Reference Clock Input:
•If Single Ended REFCLK used - Write 2’b10 to 4/5.37120.11:10
•If Differential REFCLK used – Write 2’b11 to 4/5.37120.11:10
– Select SERDES RX Reference Clock Input:
•If Single Ended REFCLK used - Write 2’b10 to 4/5.37120.9:8
•If Differential REFCLK used – Write 2’b11 to 4/5.37120.9:8
– Set XAUI mode:
•Write 1’b1 to 4/5.32809.15
– Ensure a legal reference clock operation frequency is selected based on Appendix A, and provision
control settings accordingly. It is also possible to use the Jitter Cleaner during these tests, and the
user should consult Appendix A for further Jitter Cleaner provisioning details.
– Issue Datapath Reset:
•Write 1’b1 to 4/5.32800.15
– Clear Counters:
•Read the test pattern error counters in the following order
– 4/5.32778
– 4/5.32779
– Enable Pattern Generation:
•Write 1’b1 to 4/5.32768.1
– Enable Pattern Verification:
•Write 1’b1 to 4/5.32769.1
– Poll Lane Align Status Asserted:
•Read 4/5.1.2, and discard value read.
•Poll 4/5.1.2 asserted
– Verify that the test pattern preamble has been received:
•Poll 4/5.32801.15 asserted
– The pattern verification is now in progress.
– Verify Error Free Operation (as many times as desired during the duration of the test period):
•Poll 4/5.1.2 asserted (Lane Align Status)
•Read 4/5.32778, and verify 16’h0000 is read to confirm error free operation.
•Read 4/5.32779, and verify 16’h0000 is read to confirm error free operation.
www.ti.com
•XAUI Based Continuous Jitter Test Pattern (CJPAT):
– Follow the XAUI Based Continuous Random Test Pattern procedure above, with the following
exceptions:
•Write 1’b1 to 4/5.32768.0 instead of 4/5.32768.1.
•Write 1’b1 to 4/5.32769.0 instead of 4/5.32769.1.
•10GFC Based Continuous Jitter Test Pattern (CJPAT):
– Follow the XAUI Based Continuous Random Test Pattern procedure above, with the following
•1000Base-X Based High/Mixed/Low Frequency Test Pattern:
SLLS838F–MAY 2007–REVISED DECEMBER 2009
exceptions:
•Write 1’b1 to 4/5.32768.2 instead of 4/5.32768.1.
•Write 1’b1 to 4/5.32769.2 instead of 4/5.32769.1.
•Write 1’b0 to 4/5.32809.15 instead of 1’b1.
– Device Pin Setting(s):
•Ensure ST primary input pin is high.
•Ensure CODE primary input pin is low.
– Reset Device:
•Issue a hard or soft reset (RST_N asserted –or- Write 1 to 0.15)
– Select single ended or differential REFCLK input:
•If Single Ended REFCLK used - Write 2’b01 to 4/5.37120.15:14
•If Differential REFCLK used – Write 2’b00 to 4/5.37120.15:14
– Select SERDES TX Reference Clock Input:
•If Single Ended REFCLK used - Write 2’b10 to 4/5.37120.11:10
•If Differential REFCLK used – Write 2’b11 to 4/5.37120.11:10
– Select SERDES RX Reference Clock Input:
•If Single Ended REFCLK used - Write 2’b10 to 4/5.37120.9:8
•If Differential REFCLK used – Write 2’b11 to 4/5.37120.9:8
– Disable Comma Detection:
•Write 1’b0 to 17.7
– Ensure a legal reference clock operation frequency is selected based on Appendix A, and provision
control settings accordingly. It is also possible to use the Jitter Cleaner during these tests, and the
user should consult Appendix A for further Jitter Cleaner provisioning details.
– Issue Datapath Reset:
•Write 1’b1 to 16.11
•Write 1'b0, 1'b1, followed by 1'b0 to 37636.14.
– Select Test Pattern:
•If High Frequency Pattern is desired:
– Write 3’b000 to 16.2:0
•If Low Frequency Pattern is desired:
– Write 3’b001 to 16.2:0
•If Mixed Frequency Pattern is desired:
– Write 3’b010 to 16.2:0
– Enable Test Pattern Generation:
•Write 1’b1 to 16.4
– Clear Counters:
•Read 22.15:0 and discard the value.
– Enable Test Pattern Verification:
•Write 1’b1 to 16.3
– Verify Test In Progress:
•Poll 21.1 asserted.
– The pattern verification is now in progress.
– Verify Error Free Operation (as many times as desired during the duration of the test period):
•Read 22.15:0, and verify 16’h0000 is read to confirm error free operation.
•1000Base-X Based Continuous Random Pattern (CRPAT) Long/Short Test Pattern:
– Device Pin Setting(s):
•Issue a hard or soft reset (RST_N asserted –or- Write 1 to 0.15)
– Select single ended or differential REFCLK input:
•If Single Ended REFCLK used - Write 2’b01 to 4/5.37120.15:14
•If Differential REFCLK used – Write 2’b00 to 4/5.37120.15:14
– Select SERDES TX Reference Clock Input:
•If Single Ended REFCLK used - Write 2’b10 to 4/5.37120.11:10
•If Differential REFCLK used – Write 2’b11 to 4/5.37120.11:10
– Select SERDES RX Reference Clock Input:
•If Single Ended REFCLK used - Write 2’b10 to 4/5.37120.9:8
•If Differential REFCLK used – Write 2’b11 to 4/5.37120.9:8
– Ensure a legal reference clock operation frequency is selected based on Appendix A, and provision
control settings accordingly. It is also possible to use the Jitter Cleaner during these tests, and the
user should consult Appendix A for further Jitter Cleaner provisioning details.
– Enable Encoder/Decoder
•Write 1’b1 to 17.2
– Issue Datapath Reset:
•Write 1’b1 to 16.11
•Write 1'b0, 1'b1, followed by 1'b0 to 37636.14.
– Select Test Pattern:
•If CRPAT Long Pattern is desired:
– Write 3’b011 to 16.2:0
•If CRPAT Short Pattern is desired:
– Write 3’b100 to 16.2:0
– Enable Test Pattern Generation:
•Write 1’b1 to 16.4
– Clear Counters:
•Read 23.15:0 and 24.15:0 and discard the values.
– Enable Test Pattern Verification:
•Write 1’b1 to 16.3
– Verify Test In Progress:
•Poll 21.0 asserted.
– The pattern verification is now in progress.
– Verify Error Free Operation (as many times as desired during the duration of the test period):
•Read 23.15:0, and verify 16’h0000 is read to confirm error free operation.
•Read 24.15:0, and verify 16’h0000 is read to confirm error free operation.
www.ti.com
If more than one test is specified results are unpredictable.
If another test type is desired, begin at the first step of that procedure.