3. Serial RapidIO Electrical Interface > Bit Error Rate Testing (BERT)
83
Tsi578 User Manual
June 6, 2016
Integrated Device Technology
www.idt.com
3.9.3.1
Fixed Pattern-based BERT
—
Transmitter Configuration
To configure a Tsi578 transmitter for fixed-pattern BERT operation:
•
Write the bit stream to be transmitted into the PAT0 field in the
“SerDes Lane 0 Pattern Generator
•
Set MODE to the desired fixed pattern mode (MODE=011:100).
•
Setting this field causes the software defined pattern to transmit.
3.9.3.2
Fixed Pattern-based BERT
—
Receiver Configuration
The Pattern Matcher can only match fixed-pattern mode of {PAT0,PAT0} and {PAT0, ~PAT0}. The
error counting method is the same as described in
“BERT Pattern Matcher and Error Counter”
•
Tell the transmitter to stop sending PRBS pattern.
•
Re-enable the receiver's framer by writing to the RX_ALIGN_EN bit in the
SMACx_CFG_CH{0..3} register.
3.9.4
Using PRBS Scripts for the Transmitters and Receivers
IDT provides PRBS scripts in
. All of the PRBS scripts affect all of the ports, therefore
editing the files to comment out the respective transmitting and receiving ports where testing is not
desired is required.
The following sequence must be followed when using the PRBS scripts:
•
Turn on the desired PRBS transmitter with Tsi578_start_prbs_all.txt.
•
In the receiving port, turn off the framer using the Tsi578_framer_disable.txt script.
•
In the receiving port sync the pattern matcher with the incoming PRBS stream using the
Tsi578_sync_prbs_all.txt script
•
Read the error count registers. These registers have the following characteristics:
— Two reads are required in order to obtain the count because the registers are pipelined.
— The registers must be cleared before use. The registers must be cleared because errors that
may have occurred on the port are counted and the registers can contain non-zero values at the
start of PRBS testing.