analyzing, evaluating and troubleshooting
digital communications systems
Operates at speeds from DC to 52 MHz
Programmable polynomial length and
feedback taps for generation of any other
pseudorandom pattern up to 32 bits in length
including: 26-1, 29-1, 211-1, 215-1, 220-1, 223-1,
and 232-1
Programmable user-defined pattern and
length for generation of any repetitive pattern
up to 32 bits in length
Large 32-bit error count and bit count
registers
Software programmable bit error insertion
Fully independent transmit and receive
sections
8-bit parallel control port
Detects test patterns with bit error rates up to
-2
10
PIN ASSIGNMENT
TDATA
TDIS
TCLK
VSS
VDD
RCLK
RDIS
RDATA
TL
AD0
AD1
TEST
VSS
AD2
AD3
AD4
32 31 30 29 28 27 26 25
1
2
3
4
DS2172
32-Pin TQFP
5
6
7
8
9 10 11 12 13 14 15 16
AD5
AD6
AD7
BTS
VSS
VDD
24
23
22
21
20
19
18
17
RD(DS)
RL
RLOS
LC
VSS
VDD
INT
WR(R/W)
LE(AS)
CS
ORDERING INFORMATION
DS2172T(00 C to 700 C)
DS2172TN(-400 C to + 850 C)
DESCRIPTION
The DS2172 Bit Error Rate Tester (BERT) is a software programmable test pattern generator, receiver,
and analyzer capable of meeting the most stringent error performance requirements of digital
transmission facilities. Two categories of test pattern generation (Pseudo-random and Repetitive)
conform to CCITT/ITU O.151, O.152, O.153, and O.161 standards. The DS2172 operates at clock rates
ranging from DC to 52 MHz. This wide range of operating frequenc y allows the DS2172 to be used in
existing and future test equipment, transmission facilities, switching equipment, multiplexers, DACs,
Routers, Bridges, CSUs, DSUs, and CPE equipment.
The DS2172 user-programmable pattern registers provide the unique ability to generate loopback patterns
required for T1, Fractional-T1, Smart Jack, and other test procedures. Hence the DS2172 can initiate the
loopback, run the test, check for errors, and finally deactivate the loopback.
The DS2172 consists of four functional blocks: the pattern generator, pattern detector, error counter, and
control interface. The DS2172 can be programmed to generate an y pseudorandom pattern with length up
32
-1 bits (see Table 5, Note 9) or any user programmable bit pattern from 1 to 32 bits in length. Logic
to 2
inputs can be used to configure the DS2172 for applications requiring gap clocking such as Fractional-T1,
Switched-56, DDS, normal framing requirements, and per-channel test procedures. In addition, the
DS2172 can insert single or 10-1 to 10-7 bit errors to verify equipment operation and connectivity.
1 of 21051700
DS2172
1.0 GENERAL OPERATION
1.1 PATTERN GENERATION
The DS2172 is programmed to generate a particular test pattern by programming the following registers:
- Pattern Set Registers (PSR)
- Pattern Length Register (PLR)
- Polynomial Tap Register (PTR)
- Pattern Control Register (PCR)
- Error Insertion Register (EIR)
Please see Tables 4 and 5 for examples of how to program these registers in order to generate some
standard test patterns. Once these registers are programmed, the user will then toggle the TL (Transmit
Load) bit or pin to load the pattern into the onboard pattern generation circuitry and the pattern will begin
appearing at the TDATA pin.
1.2 PATTERN SYNCHRONIZATION
The DS2172 expects to receive the same pattern that it transmitted. The synchronizer examines the data at
RDATA and looks for characteristics of the transmitted pattern. The user can control the onboard
synchronizer with the Sync Enable and Resync bits in the Pattern Control Register.
In pseudorandom mode, the received pattern is tested to see if it fits the polynomial generator as defined
in the transmit side. For pseudorandom patterns, only the original pattern and an all ones pattern or an all
0s pattern will satisfy this test. Synchronization in pseudorandom pattern mode should be qualified by
using the RA1 and RA0 indicators in the Status Register. Synchronization is declared after 34 + n bits are
received without error, where n is the exponent in the polynomial from table 4. Once in synchronization
(SR0. = 1) any deviation from this pattern will be counted by the Bit Error Count Register.
In repetitive pattern mode a received pattern of the same length as being transmitted will satisfy this test.
Synchronization in repetitive pattern mode should be qualified by using the RA1 and RA0 indicators in
the Status Register and examining the Pattern Receive Register (PRR0--3). See section 10 for an
explanation of the Pattern Receive Register. Once in synchronization (SR.0 = 1) an y deviation from this
pattern will be counted by the Bit Error Count Register.
1.3 BER CALCULATION
Users can calculate the actual Bit Error Rate (BER) of the digital communications channel by reading the
bit error count out of the Bit Error Count Register (BECR) and reading the bit count out of the Bit Count
Register (BCR) and then dividing the BECR value with the BCR value. The user has total control over
the integration period of the measurement. The LC (Load Count) bit or pin is used to set the integration
period.
1.4 GENERATING ERRORS
Via the Error Insertion Register (EIR), the user can intentionally inject a particular error rate into the
transmitted data stream. Injecting errors allows users to stress communication links and to check the
functionality of error monitoring equipment along the path.
1.5 POWER-UP SEQUENCE
On power-up, the registers in the DS2172 will be in a random state. The user must program all the
internal registers to a known state before proper operation can be insured.
2 of 21
DS2172 FUNCTIONAL BLOCK DIAGRAM Figure 1
DS2172
DS2172 PATTERN GENERATION BLOCK DIAGRAM Figure 2
NOTES:
1. Tap A always equals length (N-1) of pseudorandom or repetitive pattern.
2. Tab B can be programmed to any feedback tap for pseudorandom pattern generation.
3 of 21
DETAILED PIN DESCRIPTION Table 1
PINSYMBOLTYPEDESCRIPTION
DS2172
1TL I
Transmit Load. A positive-going edge loads the pattern generator with
the contents of the Pattern Set Registers. The MSB of the repetitive or
pseudorandom pattern appears at TDATA after the third positive edge of
TCLK from asserting TL. TL is logically OR’ed with PCR.7 and should
be tied to VSS if not used. See Figure 8 for timing information.
2AD0I/OData Bus. An 8-bit multiplexed address/data bus.
3AD1I/OData Bus. An 8-bit multiplexed address/data bus.
4TESTI
Test. Set high to 3-state all output pins ( INT , ADx, TDATA, RLOS).
Should be tied to VSS to enable all outputs.
5VSS-Signal Ground. 0.0V. Should be tied to local ground plane.
6AD2I/OData Bus. An 8-bit multiplexed address/data bus.
7AD3I/OData Bus. An 8-bit multiplexed address/data bus.
8AD4I/OData Bus. An 8-bit multiplexed address/data bus.
9AD5I/OData Bus. An 8-bit multiplexed address/data bus.
10AD6I/OData Bus. An 8-bit multiplexed address/data bus.
11AD7I/OData Bus. An 8-bit multiplexed address/data bus.
12V
13V
SS
DD
-Signal Ground. 0.0V. Should be tied to local ground plane.
-Positive Supply. 5.0V.
14BTSIBus Type Select. Strap high to select Motorola bus timing; strap low to
select Intel bus timing. This pin controls the function of the RD (DS),
ALE(AS), and WR (R/W ) pins. If BTS = 1, then these pins assume the
function listed in parenthesis ().
15
16
RD (DS)
CS
I
Read Input (Data Strobe).
IChip Select. Must be low to read or write the port.
17ALE(AS)IAddress Latch Enable (Address Strobe). A positive going edge serves
to demultiplex the bus.
18
19
WR (R/W )
INT
I
Write Input (Read/Write).
OAlarm Interrupt. Flags host controller during conditions defined in
Status Register. Active low, open drain output.
20V
21V
DD
SS
-Positive Supply. 5.0V.
-Signal Ground. 0.0V. Should be tied to local ground plane.
22LCILoad Count. A positive-going edge latches the current bit and bit error
count into the user accessible BCR and BECR registers and clears the
internal count registers. LC is logically OR’ed with control bit PCR.4.
Should be tied to VSS if not used.
23RLOSO
Receive Loss Of Sync. Indicates the real time status of the receive
synchronizer. Active high output.
4 of 21
DS2172
PINSYMBOLTYPEDESCRIPTION
24RLIReceive Load. A positive-going edge loads the previous 32 bits of data
received at RDATA into the Pattern Receive Registers. RL is logicall y
OR’ed with control bit PCR.3. Should be tied to VSS if not used.
25RDATAIReceive Data. Received NRZ serial data, s ampled on the rising edge of
RCLK.
26RDISIReceive Disable. Set high to prevent the data at RDATA from being
sampled. Set low to allow bits at RDATA to be sampled. Should be tied
to VSS if not used. See Figure 6 for timing information. All receive side
operations are disabled when RDIS is high.
27RCLKIReceive Clock. Input clock from transmission link. 0 to 52 MHz. Can be
a gapped clock. Fully independent from TCLK.
28V
29V
DD
SS
-Positive Supply. 5.0V.
-Signal Ground. 0.0V. Should be tied to local ground plane.
30TCLKITransmit Clock. Transmit demand clock. 0 to 52 MHz. Can be a gapped
clock. Fully independent of RCLK.
31TDISI
Transmit Disable. Set high to hold the current bit being transmitted at
TDATA. Set low to allow the next bit to appear at TD ATA. Should be
tied to VSS if not used. See Figure 7 for timing information. All transmit
side operations are disabled when TDIS is high.
32TDATAOTransmit Data. Transmit NRZ serial data, updated on the rising ed ge of
1. The Test Register must be set to 00 hex to insure proper operation of the DS2172.
5 of 21
DS2172
2.0 PARALLEL CONTROL INTERFACE
The DS2172 is controlled via a multiplexed bi-directional address/data bus by an external microcontroller
or microprocessor. The DS2172 can operate with either Intel or Motorola bus timin g configurations. If
the BTS pin is tied low, Intel timing will be selected; if tied high, Motorola timing will be selected. All
Motorola bus signals are listed in parenthesis (). See the timing diagrams in the A.C. Electrical
Characteristics for more details. The multiplexed bus on the DS2172 saves pins because the address
information and data information share the same signal paths. The addresses are presented to the pins in
the first portion of the bus cycle and data will be transferred on the pins durin g second portion of the bus
cycle. Addresses must be valid prior to the falling edge of ALE(AS), at which time the DS2172 latches
the address from the AD0 to AD7 pins. Valid write data must be present and held stable during the later
portion of the DS or WR pulses. In a read cycle, the DS2172 outputs a byte of data during the latter
portion of the DS or RD pulses. The read cycle is terminated and the bus returns to a high impedance
state as RD transitions high in Intel timing or as DS transitions low in Motorola timing. The DS2172 can
also be easily connected to non-multiplexed buses. RCLK and TCLK are used to update counters and
load transmit and receive pattern registers. At slow clock rates, sufficient time must be allowed for these
port operations.
3.0 PATTERN SET REGISTERS
The Pattern Set Registers (PSR) are loaded each time a new pattern (whether it be pseudorandom or
repetitive) is to be generated. When a pseudorandom pattern is generated, all four PSRs must be loaded
with FF Hex. When a repetitive pattern is to be created, the four PSRs are loaded with the pattern that is
to be repeated. Please see Tables 4 and 5 for some programming examples.
Length Bits LB4 to LB0 determine the length of the pseudorandom polynomial or programmable
repetitive pattern that is generated and detected. With the pseudorandom patterns, the “Tap A” feedback
position of the pattern generator is always equal to the value in the Pattern Length Register (PLR). Please
refer to Figure 2 for a block diagram of the pattern generator and to Tables 4 and 5 for some
programming examples.
6 of 21
DS2172
PLR: PATTERN LENGTH REGISTER (Address=04 Hex)
(MSB) (LSB)
---LB4LB3LB2LB1LB0
SYMBOLPOSITIONNAME AND DESCRIPTION
-PLR1.7Not Assigned. Should be set to 0 when written to.
-PLR1.6Not Assigned. Should be set to 0 when written to.
-PLR1.5Not Assigned. Should be set to 0 when written to.
LB4PLR1.4
LB3PLR1.3
LB2PLR1.2
LB1PLR1.1
LB0PLR1.0
Length Bit 4.
Length Bit 3.
Length Bit 2.
Length Bit 1.
Length Bit 0.
5.0 POLYNOMIAL TAP REGISTER
Polynomial Tap Bits PT4 - PT0 determine the feedback position of Tap B connected to the XOR input of
the pattern generator. Feedback Tap B provides one of two feedback paths within the pattern generator.
Please refer to Figure 2 for a block diagram of the pattern generator and to Tables 4 and 5 for register
programming examples.
PTR: POLYNOMIAL TAP REGISTER (Address=05 Hex)
(MSB) (LSB)
---PT4PT3PT2PT1PT0
SYMBOLPOSITIONNAME AND DESCRIPTION
-PTR.7Not Assigned. Should be set to 0 when written to.
-PTR.6Not Assigned. Should be set to 0 when written to.
-PTR.5Not Assigned. Should be set to 0 when written to.
PT4PTR.4
PT3PTR.3
PT2PTR.2
PT1PTR.1
PT0PTR.0
Polynomial Tap Bit 4.
Polynomial Tap Bit 3.
Polynomial Tap Bit 2.
Polynomial Tap Bit 1.
Polynomial Tap Bit 0.
7 of 21
Loading...
+ 14 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.