DS3171/DS3172/DS3173/DS3174
Single/Dual/Triple/Quad
DS3/E3 Single-Chip Transceivers
www.maxim-ic.com
GENERAL DESCRIPTION
The DS3171, DS3172, DS3173, and DS3174
(DS317x) combine a DS3/E3 framer(s) and LIU(s) to
interface to as many as four DS3/E3 physical copper
lines.
FUNCTIONAL DIAGRAM
APPLICATIONS
Access Concentrators
SONET/SDH ADM
and Muxes
PBXs
Digital Cross Connect
Test Equipment
Routers and Switches
Multiservice Access
Platform (MSAP)
Multiservice Protocol
Platform (MSPP)
PDH Multiplexer/
Demultiplexer
Integrated Access Device
(IAD)
DS3/E3
PORTS
DS3/
E3
LIU
DS3/E3
FRAMER/
FORMATTER
SYSTEM
BACKPLANE
DS317x
ORDERING INFORMATION
PART
DS3171
DS3171N
DS3172
DS3172N
DS3173
DS3173N
DS3174
DS3174N
TEMP RANGE
0°C to +70°C
-40°C to +85°C
0°C to +70°C
-40°C to +85°C
0°C to +70°C
-40°C to +85°C
0°C to +70°C
-40°C to +85°C
PIN-PACKAGE
400 TE-PBGA (27mm x
27mm, 1.27mm pitch)
400 TE-PBGA (27mm x
27mm, 1.27mm pitch)
400 TE-PBGA (27mm x
27mm, 1.27mm pitch)
400 TE-PBGA (27mm x
27mm, 1.27mm pitch)
400 TE-PBGA (27mm x
27mm, 1.27mm pitch)
400 TE-PBGA (27mm x
27mm, 1.27mm pitch)
400 TE-PBGA (27mm x
27mm, 1.27mm pitch)
400 TE-PBGA (27mm x
27mm, 1.27mm pitch)
FEATURES
Single (DS3171), Dual (DS3172), Triple
(DS3173), or Quad (DS3174) Single-Chip
Transceiver for DS3 and E3
All Four Devices are Pin Compatible for Ease of
Port Density Migration in the Same Printed
Circuit Board Platform
Each Port Independently Configurable
Performs Receive Clock/Data Recovery and
Transmit Waveshaping for DS3 and E3
Jitter Attenuator can be Placed Either in the
Receive or Transmit Paths
Interfaces to 75Ω Coaxial Cable at Lengths Up to
380 meters, or 1246 feet (DS3) or 440 meters, or
1443 feet (E3)
Uses 1:2 Transformers on Both Tx and Rx
On-Chip DS3 (M23 or C-Bit) and E3 (G.751 or
G.832) Framer(s)
Ports Independently Configurable for DS3, E3
Built-In HDLC Controllers with 256-Byte FIFOs
for the Insertion/Extraction of DS3 PMDL, G.751
Sn Bit, and G.832 NR/GC Bytes
On-Chip BERTs for PRBS and Repetitive Pattern
Generation, Detection, and Analysis
Large Performance-Monitoring Counters for
Accumulation Intervals of at Least 1 Second
Flexible Overhead Insertion/Extraction Ports for
DS3, E3 Framers
Note:
Add the “+” suffix for the lead-free package option.
Note:
Some revisions of this device may incorporate deviations from published specifications known as errata. Multiple revisions of any device
may be simultaneously available through various sales channels. For information about device errata, click here:
www.maxim-ic.com/errata.
1
REV: 110206
DS3171/DS3172/DS3173/DS3174
FEATURES (CONTINUED
)
Loopbacks Include Line, Diagnostic, Framer,
Payload, and Analog with Capabilities to Insert
AIS in the Directions Away from Loopback
Directions
Ports can be Disabled to Reduce Power
Integrated Clock Rate Adapter to Generate the
Remaining Internally Required 44.736MHz (DS3)
and 34.368MHz (E3) from a Single Clock
Reference Source at One of Three Standard
Frequencies (DS3, E3, STS-1)
Pin Compatible with the DS318x Family of
Devices and the DS316x Family of Devices
8-/16-Bit Generic Microprocessor Interface
Low-Power (~1.73W) 3.3V Operation (5V
Tolerant I/O)
Small High-Density Thermally Enhanced Plastic
BGA Packaging (TE-PBGA) with 1.27mm Pitch
Industrial Temperature Operation:
-40°C to +85°C
IEEE1149.1 JTAG Test Port
DETAILED DESCRIPTION
The DS3171 (single), DS3172 (dual), DS3173 (triple), and DS3174 (quad) perform framing, formatting, and line
transmission and reception. These devices contain integrated LIU(s), framer/formatter for M23 DS3, C-bit DS3,
G.751 E3, G.832 E3, or a combination of the above signal formats.
Each LIU has independent receive and transmit paths. The receiver LIU block performs clock and data recovery
from a B3ZS- or HDB3-coded AMI signal and monitors for loss of the incoming signal, or can be bypassed for
direct clock and data inputs. The receiver LIU block optionally performs B3ZS/HDB3 decoding. The transmitter LIU
drives standard pulse-shape waveforms onto 75Ω coaxial cable or can be bypassed for direct clock and data
outputs. The jitter attenuator can be placed in either transmit or receive data path when the LIU is enabled. The
DS3/E3 framers transmit and receive serial data in properly formatted M23 DS3, C-bit DS3, G.751 E3, or G.832 E3
data streams. Unused functions can be powered down to reduce device power. The DS317x DS3/E3 SCTs
conform to the telecommunications standards listed in Section
4.
2
DS3171/DS3172/DS3173/DS3174
1 BLOCK DIAGRAMS
Figure 1-1
shows the external components required at each LIU interface for proper operation.
Figure 1-2
shows
the functional block diagram of one channel DS3/E3 LIU.
Figure 1-1. LIU External Connections for a DS3/E3 Port of a DS317x Device
Transmit
Each DS3/E3 LIU Interface
TXP
330Ω
(1%)
VDD
VDD
0.01uF
0.1uF
1uF
0.01uF
0.1uF
1uF
3.3V
Power
Plane
TXN
1:2ct
VDD
0.01uF
0.1uF
1uF
Receive
RXP
330Ω
(1%)
VSS
VSS
Ground
Plane
RXN
1:2ct
VSS
Figure 1-2. DS317x Functional Block Diagram
TCLKOn/TGCLKn
TSOFOn/TDENn
TAIS
TOHENn
TOHn
TOHCLKn
TOHSOFn
TPOSn/TDATn
TNEGn
TLCLKn
TXPn
TXNn
DS3/E3
Transmit
LIU
TUA1
DS317x
DS3 / E3
Transmit
Formatter
TCLKIn
TSERn
TSOFIn
B3ZS/
HDB3
Encoder
RDATn
RNEGn/ RLCVn
RLCLKn
RXPn
RXNn
DS3/E3
Receive
LIU
LLB
DLB
Trail
FEAC Trace
Buffer
ALB
TX BERT
HDLC
PLB
RX BERT
B3ZS/
HDB3
Decoder
DS3 / E3
Receive
Framer
RSERn
RCLKOn/RGCLKn
RSOFOn/RDENn
Clock Rate
Adapter
Microprocessor
Interface
UA1
GEN
IEEE P1149.1
JTAG Test
Access Port
n = port # (1-4)
ALE
CS
RD/DS
WR/
R/W
RDY
MODE
WIDTH
INT
GPIO[8:1]
ROHn
ROHCLKn
ROHSOFn
D[15:0]
A[10:1]
A[0]/BSWAP
CLKA
CLKC
3
JTRST
JTCLK
JTMS
JTDI
JTDO
CLKB
RST
DS3171/DS3172/DS3173/DS3174
TABLE OF CONTENTS
1
2
3
BLOCK DIAGRAMS
APPLICATIONS
FEATURE DETAILS
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
3.11
3.12
3.13
3.14
3
12
13
G
LOBAL
F
EATURES
........................................................................................................................................ 13
R
ECEIVE
DS3/E3 LIU F
EATURES
.................................................................................................................. 13
R
ECEIVE
DS3/E3 F
RAMER
F
EATURES
............................................................................................................ 13
T
RANSMIT
DS3/E3 F
ORMATTER
F
EATURES
.................................................................................................... 13
T
RANSMIT
DS3/E3 LIU F
EATURES
................................................................................................................ 14
J
ITTER
A
TTENUATOR
F
EATURES
..................................................................................................................... 14
C
LOCK
R
ATE
A
DAPTER
F
EATURES
................................................................................................................. 14
HDLC O
VERHEAD
C
ONTROLLER
F
EATURES
................................................................................................... 14
FEAC C
ONTROLLER
F
EATURES
..................................................................................................................... 14
T
RAIL
T
RACE
B
UFFER
F
EATURES
................................................................................................................... 15
B
IT
E
RROR
R
ATE
T
ESTER
(BERT) F
EATURES
................................................................................................ 15
L
OOPBACK
F
EATURES
................................................................................................................................... 15
M
ICROPROCESSOR
I
NTERFACE
F
EATURES
...................................................................................................... 15
T
EST
F
EATURES
............................................................................................................................................ 15
4
5
6
STANDARDS COMPLIANCE
ACRONYMS AND GLOSSARY
MAJOR OPERATIONAL MODES
6.1
6.2
16
17
18
DS3/E3 SCT M
ODE
..................................................................................................................................... 18
DS3/E3 C
LEAR
C
HANNEL
M
ODE
................................................................................................................... 20
7
MAJOR LINE INTERFACE OPERATING MODES
7.1
7.2
7.3
21
DS3HDB3/B3ZS/AMI LIU M
ODE
................................................................................................................. 21
HDB3/B3ZS/AMI N
ON
-LIU L
INE
I
NTERFACE
M
ODE
....................................................................................... 23
UNI L
INE
I
NTERFACE
M
ODE
........................................................................................................................... 24
8
PIN DESCRIPTIONS
25
8.1 S
HORT
P
IN
D
ESCRIPTIONS
............................................................................................................................. 25
8.2 D
ETAILED
P
IN
D
ESCRIPTIONS
......................................................................................................................... 28
8.3 P
IN
F
UNCTIONAL
T
IMING
................................................................................................................................ 36
8.3.1 Line IO.................................................................................................................................................. 36
8.3.2 DS3/E3 Framing Overhead Functional Timing .................................................................................... 39
8.3.3 DS3/E3 Serial Data Interface............................................................................................................... 40
8.3.4 Microprocessor Interface Functional Timing ........................................................................................ 42
8.3.5 JTAG Functional Timing....................................................................................................................... 47
9
10
INITIALIZATION AND CONFIGURATION
9.1
48
50
M
ONITORING AND
D
EBUGGING
....................................................................................................................... 49
FUNCTIONAL DESCRIPTION
10.1 P
ROCESSOR
B
US
I
NTERFACE
......................................................................................................................... 50
10.1.1 8/16 Bit Bus Widths.............................................................................................................................. 50
10.1.2 Ready Signal (
RDY
) ............................................................................................................................. 50
10.1.3 Byte Swap Modes ................................................................................................................................ 50
10.1.4 Read-Write / Data Strobe Modes......................................................................................................... 50
10.1.5 Clear on Read / Clear on Write Modes ................................................................................................ 50
10.1.6 Global Write Method ............................................................................................................................ 51
10.1.7 Interrupt and Pin Modes....................................................................................................................... 51
10.1.8 Interrupt Structure ................................................................................................................................ 51
10.2 C
LOCKS
........................................................................................................................................................ 52
10.2.1 Line Clock Modes................................................................................................................................. 52
4
DS3171/DS3172/DS3173/DS3174
10.2.2 Sources of Clock Output Pin Signals ................................................................................................... 54
10.2.3 Line IO Pin Timing Source Selection ................................................................................................... 57
10.2.4 Clock Structures On Signal IO Pins ..................................................................................................... 59
10.2.5 Gapped Clocks..................................................................................................................................... 60
10.3 R
ESET AND
P
OWER
-D
OWN
............................................................................................................................ 60
10.4 G
LOBAL
R
ESOURCES
..................................................................................................................................... 63
10.4.1 Clock Rate Adapter (CLAD)................................................................................................................. 63
10.4.2 8 kHz Reference Generation ............................................................................................................... 64
10.4.3 One Second Reference Generation..................................................................................................... 66
10.4.4 General-Purpose IO Pins ..................................................................................................................... 66
10.4.5 Performance Monitor Counter Update Details ..................................................................................... 67
10.4.6 Transmit Manual Error Insertion .......................................................................................................... 68
10.5 P
ER
P
ORT
R
ESOURCES
................................................................................................................................. 69
10.5.1 Loopbacks............................................................................................................................................ 69
10.5.2 Loss Of Signal Propagation ................................................................................................................. 71
10.5.3 AIS Logic.............................................................................................................................................. 71
10.5.4 Loop Timing Mode ............................................................................................................................... 74
10.5.5 HDLC Overhead Controller .................................................................................................................. 74
10.5.6 Trail Trace ............................................................................................................................................ 74
10.5.7 BERT.................................................................................................................................................... 74
10.5.8 SCT port pins ....................................................................................................................................... 74
10.5.9 Framing Modes .................................................................................................................................... 76
10.5.10 Line Interface Modes............................................................................................................................ 76
10.6 DS3/E3 F
RAMER
/ F
ORMATTER
..................................................................................................................... 78
10.6.1 General Description ............................................................................................................................. 78
10.6.2 Features ............................................................................................................................................... 78
10.6.3 Transmit Formatter............................................................................................................................... 79
10.6.4 Receive Framer.................................................................................................................................... 79
10.6.5 C-Bit DS3 Framer/Formatter ................................................................................................................ 83
10.6.6 M23 DS3 Framer/Formatter ................................................................................................................. 86
10.6.7 G.751 E3 Framer/Formatter................................................................................................................. 88
10.6.8 G.832 E3 Framer/Formatter................................................................................................................. 90
10.7 HDLC O
VERHEAD
C
ONTROLLER
.................................................................................................................... 96
10.7.1 General Description ............................................................................................................................. 96
10.7.2 Features ............................................................................................................................................... 96
10.7.3 Transmit FIFO ...................................................................................................................................... 97
10.7.4 Transmit HDLC Overhead Processor .................................................................................................. 97
10.7.5 Receive HDLC Overhead Processor ................................................................................................... 98
10.7.6 Receive FIFO ....................................................................................................................................... 98
10.8 T
RAIL
T
RACE
C
ONTROLLER
............................................................................................................................ 99
10.8.1 General Description ............................................................................................................................. 99
10.8.2 Features ............................................................................................................................................... 99
10.8.3 Functional Description........................................................................................................................ 100
10.8.4 Transmit Data Storage ....................................................................................................................... 100
10.8.5 Transmit Trace ID Processor ............................................................................................................. 100
10.8.6 Transmit Trail Trace Processing ........................................................................................................ 100
10.8.7 Receive Trace ID Processor .............................................................................................................. 100
10.8.8 Receive Trail Trace Processing ......................................................................................................... 101
10.8.9 Receive Data Storage ........................................................................................................................ 101
10.9 FEAC C
ONTROLLER
................................................................................................................................... 102
10.9.1 General Description ........................................................................................................................... 102
10.9.2 Features ............................................................................................................................................. 102
10.9.3 Functional Description........................................................................................................................ 102
10.10 L
INE
E
NCODER
/D
ECODER
............................................................................................................................ 104
10.10.1 General Description ........................................................................................................................... 104
10.10.2 Features ............................................................................................................................................. 104
10.10.3 B3ZS/HDB3 Encoder ......................................................................................................................... 104
5