§ 32-bit or 128-bit crystal-less jitter attenuator
requires only a 2.048MHz master clock for
both E1 and T1 with option to use 1.544MHz
for T1
§ Generates the appropriate line build-outs,
with and without return loss, for E1 and
DSX-1 and CSU line build-outs for T1
§ AMI, HDB3, and B8ZS, encoding/decoding
§ 16.384MHz, 8.192MHz, 4.096MHz, or
2.048MHz clock output synthesized to
recovered clock
§ Programmable monitor mode for receiver
§ Loopbacks and PRBS pattern generation/
detection with output for received errors
§ Generates/detects in-band loop codes, 1 to 16
bits including CSU loop codes
§ 8-bit parallel or serial interface with optional
hardware mode
§ Muxed and nonmuxed parallel bus supports
Intel or Motorola
§ Detects/generates blue (AIS) alarms
§ NRZ/bipolar interface for TX/RX data I/O
§ Transmit open-circuit detection
§ Receive Carrier Loss (RCL) indication
(G.775)
§ High-Z State for TTIP and TRING
§ 50mA (rms) current limiter
PIN DESCRIPTION
44
1
44 TQFP
7 mm
CABGA
ORDERING INFORMATION
DS21348TN 44-Pin TQFP(-40°C to +85°C)
DS21348T44-Pin TQFP (0o C to +70oC)
DS21348GN 7mm CABGA(-40°C to +85°C)
DS21348G7mm CABGA (0o C to +70oC)
DS21Q348N (Quad) BGA (-40°C to +85°C)
DS21Q348(Quad) BGA (0o C to +70o C)
1 of 73111501
Page 2
DS21348/Q348
DESCRIPTION
The DS21348 is a complete selectable E1 or T1 LIU for short-haul and long-haul applications.
Throughout the data sheet, J1 is represented wherever T1 exists. Receive sensitivity adjusts automatically
to the incoming signal and can be programmed for 0dB to 12 dB or 0dB to 43dB for E1 applications and
0dB to 30dB or 0dB to 36dB for T1 applications. The device can generate the necessary G.703 E1
waveshapes in 75Ω or 120Ω applications and DSX-1 line build outs or CSU line build outs of 0dB,
-7.5dB, -15dB, and -22.5dB for T1 applications. The crystal-less onboard jitter attenuator requires only a
2.048MHz MCLK for both E1 and T1 applications (with the option of using a 1.544MHz MCLK in T1
applications). The jitter attenuator FIFO is selectable to either 32 bits or 128 bits in depth and can be
placed in either the transmit or receive data paths. An X 2.048MHz output clock synthesized to RCLK is
available for use as a backplane system clock (where n = 1, 2, 4, or 8). The DS21348 has diagnostic
capabilities such as loopbacks and PRBS pattern generation/detection. 16-bit loop-up and loop-down
codes can be generated and detected. The device can be controlled via an 8-bit parallel muxed or
nonmuxed port, serial port, or used in hardware mode. The device fully meets all of the latest E1 and T1
specifications including ANSI T1.403-1999, ANSI T1.408, AT&T TR 62411, ITU G.703, G.704, G.706,
G.736, G.775, G.823, I.431, O.151, O.161, ETSI ETS 300 166, JTG.703, JTI.431, JJ-20.1, TBR12,
TBR13, and CTR4.
2 of 73
Page 3
DS21348/Q348
TABLE OF CONTENTS
1.LIST OF FIGURES............................................................................................................................... 4
2.LIST OF TABLES ................................................................................................................................ 5
Figure 5-1 SERIAL PORT OPERATION FOR READ ACCESS (R=1) MODE 1.................................. 25
Figure 5-2 SERIAL PORT OPERATION FOR READ ACCESS MODE 2 ............................................. 25
Figure 5-3 SERIAL PORT OPERATION FOR READ ACCESS MODE 3 ............................................. 26
Figure 5-4 SERIAL PORT OPERATION FOR READ ACCESS MODE 4 ............................................. 26
Figure 5-5 SERIAL PORT OPERATION FOR WRITE ACCESS (R=0) MODES 1&2 ...……………27
Figure 5-6 SERIAL PORT OPERATION FOR WRITE ACCESS MODES 3& 4 …………...…………27
Figure 9-1 BASIC INTERFACE…………………………………………………………………………49
Figure 9-2 PROTECTED INTERFACE USING INTERNAL RECEIVE TERMINATION.................... 50
Figure 9-3 PROTECTED INTERFACE USING EXTERNAL RECEIVE TERMINATION................... 51
The analog AMI/HDB3 waveform off of the E1 line or the AMI/B8ZS waveform off of the T1 line is
transformer coupled into the RTIP and RRING pins of the DS21348. The user has the option to use
internal termination, software selectable for 75Ω/100Ω/120W applications, or external termination. The
device recovers clock and data from the analog signal and passes it through the jitter attenuation MUX
outputting the received line clock at RCLK and bipolar or NRZ data at RPOS and RNEG. The DS21348
contains an active filter that reconstructs the analog received signal for the nonlinear losses that occur in
transmission. The receive circuitry is also configurable for various monitor applications. The device has a
usable receive sensitivity of 0dB to -43dB for E1 and 0dB to -36dB for T1, which allows the device to
operate on 0.63mm (22AWG) cables up to 2.5km (E1) and 6k feet (T1) in length. Data input at TPOS and
TNEG is sent via the jitter attenuation mux to the waveshaping circuitry and line driver. The DS21348
will drive the E1 or T1 line from the TTIP and TRING pins via a coupling transformer. The line driver
can handle both CEPT 30/ISDN-PRI lines for E1 and long haul (CSU) or short haul (DSX-1) lines for T1.
3.1 DOCUMENT REVISION HISTORY
1) Datasheet for 3.3V only, 011801.
2) Added supply current measurements; added thermal characteristics of quad package, 092101.
6 of 73
Page 7
DS21348 BLOCK DIAGRAM Figure 3-1
S
D
S
D
V
2
w
e
o
P
R
N
R
G
I
R
T
P
I
T
N
R
G
I
T
T
P
I
Optional
Termination
VSM
V
2
s
n
o
i
t
c
e
n
n
C
o
r
t
c
e
t
r
e
e
t
D
l
i
k
F
a
e
P
k
c
a
b
p
o
o
L
g
o
l
a
n
A
Unframed
All Ones
Insertion
s
r
e
v
i
r
D
e
n
i
L
s
r
e
t
l
i
F
U
S
C
JACLK
L
L
P
C
/
O
V
a
t
y
a
r
e
D
v
/
o
k
c
c
e
o
l
R
C
g
n
i
p
a
h
S
e
v
a
W
Remote Loopback (Dual Mode)
Jitter
Attenuator
MUX
DS21348/Q348
K
L
C
M
2.048MHz to
1.544MHz PLL
)
h
t
a
p
e
v
i
e
c
e
r
r
o
t
n
i
o
i
t
m
s
a
n
u
a
n
r
t
e
t
t
r
e
A
h
r
k
c
a
b
p
o
o
L
l
a
c
o
L
t
i
e
t
e
t
i
n
J
i
d
e
c
a
l
p
e
b
n
a
c
(
MUX
k
c
a
b
p
o
o
L
e
t
o
m
e
R
16.384MHz or
8.1 92MHz or
4.0 96MHz or
2.048MHz
Synthesizer
See Figure 3-2
MUXRCL/LOTC
See Figure 3-3
BPCLK
RPOS
RCLK
RNEG
PBEO
TPOS
TCLK
TNEG
S
I
B
1
S
I
B
0
U
X
M
r
e
t
r
e
n
I
i
S
l
a
I
K
D
L
S
C
S
l
a
r
e
i
S
e
h
t
(
e
c
a
f
O
S
D
T
S
B
P
n
a
,
l
e
l
l
a
P
,
r
a
r
a
a
P
)
*
W
/
R
(
*
R
W
e
r
H
a
r
w
a
d
d
c
e
l
l
e
r
e
t
a
n
f
I
l
)
)
*
S
S
A
D
(
(
E
*
L
D
A
R
s
r
e
c
t
n
I
5
4
A
o
t
0
A
r
a
f
a
h
s
e
e
C
o
n
I
8
7
/
D
7
A
D
o
o
t
t
0
0
D
D
A
)
i
s
n
v
c
e
d
p
i
e
r
H
a
r
w
a
d
r
t
n
l
o
d
n
a
r
e
t
r
t
p
u
*
*
T
S
N
C
I
e
r
e
c
t
a
n
f
I
e
1
2
r
t
n
l
C
o
o
a
t
d
e
t
u
o
(
r
r
s
o
t
P
t
T
d
e
n
s
c
o
)
k
l
b
l
l
a
o
HRST*
TEST
7 of 73
Page 8
RECEIVE LOGIC Figure 3-2
DS21348/Q348
From
Remote
Loopback
Routed to
All Blocks
4 or 8 Zero Detect
16 Zero Detect
RIR1.7RIR1.6
Clock
Invert
CCR2.0
CCR2.3
CCR6.2/
CCR6.0/
CCR6.1
B8ZS/HDB3
Decoder
RIR1.5
All Ones
Detector
NRZ Data
BPV/CV/EXZ
Loop Code
Detector
SR.6SR.7SR.4 RIR1.3
PRBS
Detector
SR.0
CCR1.4
mux
16-Bit Error
Counter (ECR)
RCLK
RPOS
mux
RNEG
CCR1.6
PBEO
CCR6.0
rx bd
8 of 73
Page 9
TRANSMIT LOGIC Figure 3-3
DS21348/Q348
To
Remote
Loopback
CCR3.1
BPV
Insert
Routed to
All Blocks
CCR1.6
OR
Gate
mux
mux
CCR3.4
PRBS Generator
Loop Code Generator
JACLK
(derived
from
MCLK)
OR
Gate
Clock
Invert
CCR2.1
TPOS
TNEG
TCLK
CCR3.3
CCR2.2
CCR3.0
1
0
mux
B8ZS/
HDB3
Coder
0
1
RCLK
mux
OR
Gate
0
1
Logic
Error
Insert
CCR1.1
CCR1.2
AND
Gate
CCR1.0
To LOTC Output Pin
Loss Of Transmit
Clock Detect
tx bd
SR.5
4. PIN DESCRIPTION
The DS21348 can be controlled in a parallel port mode, a serial port mode, or a hardware mode (Table
4-1, 4-2, and 4-3). The parallel and serial port modes are described in Section 3, and the Hardware Mode
is described below.
PIN DESCRIPTIONS IN PARALLEL PORT MODE (Sorted by Pin Name,
DS21348T Pin Numbering) Table 4-2b
ACRONYMPINI/ODESCRIPTION
DS21348/Q348
A0 to A411
to
7
IAddress Bus. In nonmultiplexed bus operation (BIS1 = 0, BIS0 =
1), serves as the address bus. In multiplexed bus operation (BIS1 =
0, BIS0 = 0), these pins are not used and should be tied low.
ALE(AS)4IAddress Latch Enable (Address Strobe). When using the parallel
port (BIS1 = 0) in multiplexed bus mode (BIS0 = 0), serves to
demultiplex the bus on a positive-going edge. In nonmultiplexed bus
mode (BIS0 = 1), should be tied low.
BIS0/BIS132/33IBus Interface Select Bits 0 & 1. Used to select bus interface option.
See Table 4-1 for details.
BPCLK31OBack Plane Clock. A 16.384MHz, 8.192MHz, 4.096MHz, or
2.048MHz clock output that is referenced to RCLK selectable via
CCR5.7 and CCR5.6. In hardware mode, defaults to 16.384MHz
output.
CS*1IChip Select. Must be low to read or write to the device. CS* is an
active low signal.
D0 / AD0
to
D7 / AD7
19
to
12
I/OData Bus/Address/Data Bus. In nonmultiplexed bus operation
(BIS1 = 0, BIS0 = 1), serves as the data bus. In multiplexed bus
operation (BIS1 = 0, BIS0 = 0), serves as an 8-bit multiplexed
address/data bus.
HRST*29IHardware Reset. Bringing HRST* low will reset the DS21348
setting all control bits to their default state of all zeros.
INT*23OInterrupt [INT*] Pin 23. Flags host controller during conditions
and change of conditions defined in the Status Register. Active low,
open drain output.
MCLK30IMaster Clock. A 2.048MHz (±50ppm) clock source with TTL
levels is applied at this pin. This clock is used internally for both
clock/data recovery and for jitter attenuation. Use of a T1 1.544
MHz clock source is optional.
See Note 2.
NA
-INot Assigned. Should be tied low.
PBEO24OPRBS Bit Error Output. The receiver will constantly search for a
15
-1 or a 220-1 PRBS depending on the ETS bit setting (CCR1.7).
2
Remains high if out of synchronization with the PRBS pattern. Goes
low when synchronized to the PRBS pattern. Any errors in the
received pattern after synchronization will cause a positive going
pulse (with same period as E1 or T1 clock) synchronous with
RCLK. PRBS bit errors can also be reported to the ECR1 and ECR2
registers by setting CCR6.2 to a logic 1.
PBTS44IParallel Bus Type Select. When using the parallel port (BIS1 = 0),
set high to select Motorola bus timing, set low to select Intel bus
timing. This pin controls the function of the RD*(DS*), ALE(AS),
and WR*(R/W*) pins. If PBTS = 1 and BIS1 = 0, then these pins
assume the Motorola function listed in parenthesis (). In serial port
mode, this pin should be tied low.
11 of 73
Page 12
ACRONYMPINI/ODESCRIPTION
DS21348/Q348
RCLK
40OReceive Clock. Buffered recovered clock from the line.
Synchronous to MCLK in absence of signal at RTIP and RRING.
RD*
(DS*)
2IRead Input (Data Strobe). RD* and DS* are active low signals.
DS active low when in nonmultiplexed, Motorola mode. See the BusTiming Diagrams in Section 12.
RCL/
LOTC
25OReceive Carrier Loss/Loss of Transmit Clock. An output which
will toggle high during a receive carrier loss (CCR2.7 = 0) or will
toggle high if the TCLK pin has not been toggled for 5 msec ± 2msec (CCR2.7 = 1). CCR2.7 defaults to logic 0 when in hardware
mode.
RNEG
39OReceive Negative Data. Updated on the rising edge (CCR2.0 = 0)
or the falling edge (CCR2.0 = 1) of RCLK with the bipolar data out
of the line interface. Set NRZE (CCR1.6) to a one for NRZ
applications. In NRZ mode, data will be output on RPOS while a
received error will cause a positive-going pulse synchronous with
RCLK at RNEG. See Section 8.4 for details.
RPOS38OReceive Positive Data. Updated on the rising edge (CCR2.0 = 0) or
the falling edge (CCR2.0 = 1) of RCLK with bipolar data out of the
line interface. Set NRZE (CCR1.6) to a one for NRZ applications. In
NRZ mode, data will be output on RPOS while a received error will
cause a positive-going pulse synchronous with RCLK at RNEG. See
Section 8.4 for details.
RTIP/
RRING
27/
28
IReceive Tip and Ring. Analog inputs for clock recovery circuitry.
These pins connect via a 1:1 transformer to the line. See Section 7
for details.
TCLK43ITransmit Clock. A 2.048MHz or 1.544MHz primary clock. Used to
clock data through the transmit side formatter. Can be sourced
internally by MCLK or RCLK. See Common Control Register 1 and
Figure 3-3.
TEST26I3-State Control. Set high to 3-state all outputs and I/O pins
(including the parallel control port). Set low for normal operation.
Useful in board level testing.
TNEG42ITransmit Negative Data. Sampled on the falling edge (CCR2.1 =
0) or the rising edge (CCR2.1 = 1) of TCLK for data to be
transmitted out onto the line.
TPOS41ITransmit Positive Data. Sampled on the falling edge (CCR2.1 = 0)
or the rising edge (CCR2.1 = 1) of TCLK for data to be transmitted
out onto the line.
TTIP/
TRING
34/
37
OTransmit Tip and Ring [TTIP & TRING]. Analog line driver
outputs. These pins connect via a step-up transformer to the line. See
Section 7 for details.
V
DD
21/
-Positive Supply. 5.0V ±5%
36
VSM20IVoltage Supply Mode. Should be tied high for 5V operation.
V
SS
22/
-
Signal Ground.
35
12 of 73
Page 13
ACRONYMPINI/ODESCRIPTION
DS21348/Q348
WR*
(R/W*)
3IWrite Input (Read/Write). WR* is an active low signal. See the
PIN DESCRIPTIONS IN SERIAL PORT MODE (Sorted by Pin Name, DS21348T
Pin Numbering)
ACRONYMPINI/ODESCRIPTION
Table 4-3b
BIS0/
BIS1
32/
33
IBus Interface Select Bits 0 & 1. Used to select bus interface option.
See Table 4-1 for details.
BPCLK31OBack Plane Clock. A 16.384MHz, 8.192MHz, 4.096MHz, or
2.048MHz clock output that is referenced to RCLK selectable via
CCR5.7 and CCR5.6. In hardware mode, defaults to 16.384 MHz
output.
CS*1IChip Select. Must be low to read or write to the device. CS* is an
active low signal.
HRST*29IHardware Reset. Bringing HRST* low will reset the DS21348
setting all control bits to their default state of all zeros.
ICES
8IInput Clock Edge Select. Selects whether the serial port data input
(SDI) is sampled on rising (ICES =0) or falling edge (ICES = 1) of
SCLK.
INT*23OInterrupt [INT*] Pin 23. Flags host controller during conditions
and change of conditions defined in the Status Register. Active low,
open drain output.
MCLK30IMaster Clock. A 2.048MHz (±50ppm) clock source with TTL
levels is applied at this pin. This clock is used internally for both
clock/data recovery and for jitter attenuation. Use of a T1 1.544
MHz clock source is optional.
See Note 2.
NA
-INot Assigned. Should be tied low.
OCES9IOutput Clock Edge Select. Selects whether the serial port data
output (SDO) is valid on the rising (OCES = 1) or falling edge
(OCES = 0) of SCLK.
PBEO24OPRBS Bit Error Output. The receiver will constantly search for a
15
-1 or a 220-1 PRBS depending on the ETS bit setting (CCR1.7).
2
Remains high if out of synchronization with the PRBS pattern. Goes
low when synchronized to the PRBS pattern. Any errors in the
received pattern after synchronization will cause a positive going
pulse (with same period as E1 or T1 clock) synchronous with
RCLK. PRBS bit errors can also be reported to the ECR1 and ECR2
registers by setting CCR6.2 to a logic 1.
RCLK
40OReceive Clock. Buffered recovered clock from the line.
Synchronous to MCLK in absence of signal at RTIP and RRING.
14 of 73
Page 15
ACRONYMPINI/ODESCRIPTION
DS21348/Q348
RCL/
LOTC
25OReceive Carrier Loss/Loss of Transmit Clock. An output which
will toggle high during a receive carrier loss (CCR2.7 = 0) or will
toggle high if the TCLK pin has not been toggled for 5 msec ± 2msec (CCR2.7 = 1). CCR2.7 defaults to logic 0 when in hardware
mode.
RNEG
39OReceive Negative Data. Updated on the rising edge (CCR2.0 = 0)
or the falling edge (CCR2.0 = 1) of RCLK with the bipolar data out
of the line interface. Set NRZE (CCR1.6) to a one for NRZ
applications. In NRZ mode, data will be output on RPOS while a
received error will cause a positive-going pulse synchronous with
RCLK at RNEG. See section 8.4 for details.
RPOS38OReceive Positive Data. Updated on the rising edge (CCR2.0 = 0) or
the falling edge (CCR2.0 = 1) of RCLK with bipolar data out of the
line interface. Set NRZE (CCR1.6) to a one for NRZ applications. In
NRZ mode, data will be output on RPOS while a received error will
cause a positive-going pulse synchronous with RCLK at RNEG. See
section 8.4 for details.
RTIP/
RRING
27/
28
IReceive Tip and Ring. Analog inputs for clock recovery circuitry.
These pins connect via a 1:1 transformer to the line. See Section 7
for details.
SCLK
5ISerial Clock. Serial bus clock input.
SDI6ISerial Data Input. Sampled on rising edge (ICES = 0) or the falling
edge (ICES = 1) of SCLK.
SDO7OSerial Data Output. Valid on the falling edge (OCES = 0) or the
rising edge (OCES = 1) of SCLK.
TCLK43ITransmit Clock. A 2.048MHz or 1.544MHz primary clock. Used to
clock data through the transmit side formatter. Can be sourced
internally by MCLK or RCLK. See Common Control Register 1 and
Figure 3-3.
TEST26I3-State Control. Set high to 3-state all outputs and I/O pins
(including the parallel control port). Set low for normal operation.
Useful in board level testing.
TNEG42ITransmit Negative Data. Sampled on the falling edge (CCR2.1 =
0) or the rising edge (CCR2.1 = 1) of TCLK for data to be
transmitted out onto the line.
TPOS41ITransmit Positive Data. Sampled on the falling edge (CCR2.1 = 0)
or the rising edge (CCR2.1 = 1) of TCLK for data to be transmitted
out onto the line.
TTIP/
TRING
34/
37
OTransmit Tip and Ring [TTIP & TRING]. Analog line driver
outputs. These pins connect via a step-up transformer to the line.
See Section 7 for details.
V
DD
21/
-Positive Supply. 5.0V ±5%
36
VSM20IVoltage Supply Mode. Should be tied high for 5V operation.
IBus Interface Select Bits 0 & 1. Used to select bus interface option.
See Table 4-1 for details.
2.048MHz clock output that is referenced to RCLK selectable via
CCR5.7 and CCR5.6. In hardware mode, defaults to 16.384MHz
output.
edge to update RPOS and RNEG and which TCLK edge to sample
TPOS and TNEG. CES combines TCES (CCR2.1) and RCES
(CCR2.0).
0 = update RNEG/RPOS on rising edge of RCLK; sample
TPOS/TNEG on falling edge of TCLK
1 = update RNEG/RPOS on falling edge of RCLK; sample
TPOS/TNEG on rising edge of TCLK
MCLK30IMaster Clock. A 2.048MHz (±50ppm) clock source with TTL
levels is applied at this pin. This clock is used internally for both
clock/data recovery and for jitter attenuation. Use of a T1 1.544MHz
clock source is optional.
See Note 2.
determine if the receive equalizer is in a monitor mode.
See Table 4-8.
NA
NRZE
-INot Assigned. Should be tied low.
3I
NRZ Enable [H/W Mode].
0 = Bipolar data at RPOS/RNEG and TPOS/TNEG
1 = NRZ data at RPOS and TPOS or TNEG; RNEG outputs a
positive going pulse when device receives a BPV, CV, or EXZ.
PBEO24OPRBS Bit Error Output. The receiver will constantly search for a
215-1 or a 220-1 PRBS depending on the ETS bit setting (CCR1.7).
Remains high if out of synchronization with the PRBS pattern.
Goes low when synchronized to the PRBS pattern. Any errors in the
received pattern after synchronization will cause a positive going
pulse (with same period as E1 or T1 clock) synchronous with
RCLK. PRBS bit errors can also be reported to the ECR1 and
ECR2 registers by setting CCR6.2 to a logic 1.
RCLK
40OReceive Clock. Buffered recovered clock from the line.
Synchronous to MCLK in absence of signal at RTIP and RRING.
RCL25OReceive Carrier Loss. An output which will toggle high during a
receive carrier loss (CCR2.7 = 0) or will toggle high if the TCLK
pin has not been toggled for 5 msec ± 2 msec (CCR2.7 = 1). CCR2.7
defaults to logic 0 when in hardware mode.
RNEG
39OReceive Negative Data. Updated on the rising edge (CCR2.0 = 0)
or the falling edge (CCR2.0 = 1) of RCLK with the bipolar data out
of the line interface. Set NRZE (CCR1.6) to a one for NRZ
applications. In NRZ mode, data will be output on RPOS while a
received error will cause a positive-going pulse synchronous with
RCLK at RNEG. See section 8.4 for details.
RPOS38OReceive Positive Data. Updated on the rising edge (CCR2.0 = 0) or
the falling edge (CCR2.0 = 1) of RCLK with bipolar data out of the
line interface. Set NRZE (CCR1.6) to a one for NRZ applications.
In NRZ mode, data will be output on RPOS while a received error
will cause a positive-going pulse synchronous with RCLK at RNEG.
See section 8.4 for details.
RT0/
RT1
RTIP/
RRING
44/
23
27/
28
IReceive LIU Termination Select Bits 0 & 1 [H/W Mode]. These
inputs determine the receive termination. See Table 4-9.
IReceive Tip and Ring. Analog inputs for clock recovery circuitry.
These pins connect via a 1:1 transformer to the line. See Section 7
for details.
In hardware mode (BIS1 = 1, BIS0 = 1), pins 1-19, 23, 25, 31, and 44 are redefined to be used for
initializing the DS21348. BPCLK (pin 31) defaults to a 16.384MHz output when in hardware mode. The
RCL/LOTC (pin 25) is designated to RCL when in hardware mode. JABDS (CCR4.2) defaults to logic 0.
The RHBE (CCR2.3) and THBE (CCR2.2) control bits are combined and controlled by HBE at pin 11
while the RSCLKE (CCR5.3) and TSCLKE (CCR5.2) bits are combined and controlled by SCLKE at
pin 4. TCES (CCR2.1) and RCES (CCR2.0) are combined and controlled by CES at pin 12. The
transmitter functions are combined and controlled by TX1 (pin 15) and TX0 (pin 14). The loopback
functions are controlled by LOOP1 (pin 17) and LOOP0 (pin 16). All other control bits default to the
logic 0 setting.
22 of 73
Page 23
DS21348/Q348
5.1 Register Map
Table 5-1 REGISTER MAP
PARALLEL
ACRONYMREGISTER NAMER/W
CCR1Common Control Register 1R/W00hB000 000A
CCR2Common Control Register 2R/W01hB000 001A
CCR3Common Control Register 3R/W02hB000 010A
CCR4Common Control Register 4R/W03hB000 011A
CCR5Common Control Register 5R/W04hB000 100A
CCR6Common Control Register 6R/W05hB000 101A
SRStatus RegisterR06hB000 110A
IMRInterrupt Mask RegisterR/W07hB000 111A
RIR1Receive Information Register 1R08hB001 000A
RIR2Receive Information Register 2R09hB001 001A
2) In the Serial Port Mode, the LSB is on the right hand side.
3) In the Serial Port Mode, data is read and written LSB first.
4) In the Serial Port Mode, the A bit (the LSB) determines whether the access is a read (A = 1) or a write
(A = 0).
5) In the Serial Port Mode, the B bit (the MSB) determines whether the access is a burst access (B = 1)
or a single register access (B = 0).
23 of 73
Page 24
DS21348/Q348
5.2 Parallel Port Operation
When using the parallel interface on the DS21348 (BIS1 = 0) the user has the option for either
multiplexed bus operation (BIS1 = 0, BIS0 = 0) or non-multiplexed bus operation (BIS1 = 0, BIS0 = 1).
The DS21348 can operate with either Intel or Motorola bus timing configurations. If the PBTS 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 Section 12 for more details.
5.3 Serial Port Operation
Setting BIS1 = 1 and BIS0 = 0 enables the serial bus interface on the DS21348. Port read/write timing is
unrelated to the system transmit and receive timing, allowing asynchronous reads or writes by the host.
See Section 12 for the AC timing of the serial port. All serial port accesses are LSB first. See Figure 5-1,
Figure 5-2, Figure 5-3, and Figure 5-4 for more details.
Reading or writing to the internal registers requires writing one address/command byte prior to
transferring register data. The first bit written (LSB) of the address/command byte specifies whether the
access is a read (1) or a write (0). The next 5 bits identify the register address. Bit 7 is reserved and must
be set to 0 for proper operation.
The last bit (MSB) of the address/command byte is the burst mode bit. When the burst bit is enabled
(B = 0) and a READ operation is performed, addresses 0 through 15h are read sequentially, starting at
address 0h. And when the burst bit is enabled and a WRITE operation is performed, addresses 0 through
16h are written sequentially, starting at address 0h. Burst operation is stopped once address 15h is read.
See Figure 5-5 and Figure 5-6 for more details.
All data transfers are initiated by driving the CS* input low. When Input Clock-Edge Select (ICES) is
low, input data is latched on the rising edge of SCLK and when ICES is high, input data is latched on the
falling edge of SCLK. When Output Clock-Edge Select (OCES) is low, data is output on the falling edge
of SCLK and when OCES is high, data is output on the rising edge of SCLK. Data is held until the next
falling or rising edge. All data transfers are terminated if the CS* input transitions high. Port control logic
is disabled and SDO is 3-stated when CS* is high.
24 of 73
Page 25
DS21348/Q348
SERIAL PORT OPERATION FOR READ ACCESS (R=1) MODE 1 Figure 5-1
ICES = 1 (sample SDI on the falling edge of SCLK)
OCES = 1 (update SDO on rising edge of SCLK)
SCLK
CS*
SDI
1 2 3 4 5 6 7 8 9 10111213141516
A0A1A2A3A40B
1
(lsb)(msb)
READ ACCESS ENABLED
SDO
D1D2D3D4D5D6
D0
(lsb)
SERIAL PORT OPERATION FOR READ ACCESS MODE 2 Figure 5-2
ICES = 1 (sample SDI on the falling edge of SCLK)
OCES = 0 (update SDO on falling edge of SCLK)
SCLK
CS*
SDI
SDO
123456 78910111213141516
A0A1A2A3A40B
1
(lsb)(msb)
D1D2D3D4D5D6
D0
(lsb)
D7
(msb)
D7
(msb)
25 of 73
Page 26
SERIAL PORT OPERATION FOR READ ACCESS MODE 3 Figure 5-3
ICES = 0 (sample SDI on the rising edge of SCLK)
OCES = 0 (update SDO on falling edge of SCLK)
DS21348/Q348
SCLK
CS*
SDI
SDO
1 2 3 4 5 6 7 8 9 10111213141516
A0A1A2A3A40B
1
(lsb)(msb)
D1D2D3D4D5D6
D0
(lsb)
D7
(msb)
SERIAL PORT OPERATION FOR READ ACCESS MODE 4 Figure 5-4
ICES = 0 (sample SDI on the rising edge of SCLK)
OCES = 1 (update SDO on rising edge of SCLK)
SERIAL PORT OPERATION FOR WRITE ACCESS (R=0) MODES 1 & 2 Figure
5-5
ICES = 1 (sample SDI on the falling edge of SCLK)
1 2 3 4 5 6 7 8 9 10111213141516SCLK
CS*
SDI
(lsb)
WRITE ACCESS ENABLED
SDO
A0A1A2A3A40B
0
(msb)
DO D6
D1D2D3 D4 D5D7
(lsb)(msb)
SERIAL PORT OPERATION FOR WRITE ACCESS (R=0) MODES 3 & 4
Figure 5-6
ICES = 0 (sample SDI on the rising edge of SCLK)
12345678910111213141516SCLK
CS*
SDI
A0A1A2A3A40B
0
(lsb)
WRITE ACCESS EN ABLED
SDO
(msb)
DO D6
D1D2D3 D4 D5D7
(lsb)(msb)
27 of 73
Page 28
DS21348/Q348
6. CONTROL REGISTERS
CCR1 (00H): COMMON CONTROL REGISTER 1
(MSB)(LSB)
ETSNRZERCLAECUEJAMUXTTOJTTORLOTCMC
SYMBOLPOSITIONDESCRIPTION
ETSCCR1.7
NRZECCR1.6
RCLACCR1.5
ECUECCR1.4Error Counter Update Enable. A 0 to 1 transition forces the
JAMUXCCR1.3Jitter Attenuator MUX. Controls the source for JACLK. See .
TTOJCCR1.2TCLK to JACLK. Internally connects TCLK to JACLK. See .
TTORCCR1.1TCLK to RCLK. Internally connects TCLK to RCLK. See .
LOTCMCCCR1.0Loss Of Transmit Clock Mux Control. Determines whether
E1/T1 Select.
0 = E1
1 = T1
NRZ Enable.
0 = Bipolar data at RPOS/RNEG and TPOS/TNEG
1 = NRZ data at RPOS and TPOS or TNEG; RNEG outputs a
positive going pulse when device receives a BPV, CV, or EXZ.
Receive Carrier Loss Alternate Criteria.
0 = RCL declared upon 255 (E1) or 192 (T1) consecutive zeros
1 = RCL declared upon 2048 (E1) or 1544 (T1) consecutive
zeros
next clock cycle to load the error counter registers with the
latest counts and reset the counters. The user must wait a
minimum of two clocks cycles (976ns for E1 and 1296ns for
T1) before reading the error count registers to allow for a proper
update. See Section 6 for details.
0 = JACLK sourced from MCLK (2.048MHz or 1.544MHz at
MCLK)
1 = JACLK sourced from internal PLL (2.048MHz at MCLK)
0 = disabled
1 = enabled
0 = disabled
1 = enabled
the transmit logic should switch to JACLK if the TCLK input
should fail to transition. See .
0 = do not switch to JACLK if TCLK stops
1 = switch to JACLK if TCLK stops
28 of 73
Page 29
DS21348/Q348
MCLK SELECTION Table 6-1
MCLKJAMUX
(CCR1.3)
2.048MHz00
2.048MHz11
1.544MHz01
ETS
(CCR1.7)
CCR2 (01H): COMMON CONTROL REGISTER 2
(MSB)(LSB)
P25Sn/aSCLDCLDSRHBETHBETCESRCES
SYMBOLPOSITIONDESCRIPTION
P25SCCR2.7Pin 25 Select. Forced to logic 0 in hardware mode.
0 = toggles high during a Receive Carrier Loss condition
1 = toggles high if TCLK does not transition for at least 5ms
-CCR2.6
SCLDCCR2.5Short Circuit Limit Disable (ETS = 0). Controls the 50 mA
CLDSCCR2.4Custom Line Driver Select. Setting this bit to a one will
RHBECCR2.3
THBECCR2.2
TCESCCR2.1Transmit Clock Edge Select. Selects which TCLK edge to
RCESCCR2.0Receive Clock Edge Select. Selects which RCLK edge to
Not Assigned. Should be set to zero when written to.
(rms) current limiter.
0 = enable 50 mA current limiter
1 = disable 50 mA current limiter
redefine the operation of the transmit line driver. When this bit
is set to a one and CCR4.5 = CCR4.6 = CCR4.7 = 0, then the
device will generate a square wave at the TTIP and TRING
outputs instead of a normal waveform. When this bit is set to a
one and CCR4.5 = CCR4.6 = CCR4.7 ¹ 0, then the device will
force TTIP and TRING outputs to become open drain drivers
instead of their normal push-pull operation. This bit should beset to zero for normal operation of the device. Contact the
factory for more details on how to use this bit.
sample TPOS and TNEG.
0 = sample TPOS and TNEG on falling edge of TCLK
1 = sample TPOS and TNEG on rising edge of TCLK
update RPOS and RNEG.
0 = update RPOS and RNEG on rising edge of RCLK
1 = update RPOS and RNEG on falling edge of RCLK
29 of 73
Page 30
DS21348/Q348
1
CCR3 (02H): COMMON CONTROL REGISTER 3
(MSB)(LSB)
TUA1ATUA1TAOZTPRBSETLCELIRSTIBPVIBE
SYMBOLPOSITIONDESCRIPTION
TUA1CCR3.7Transmit Unframed All Ones. The polarity of this bit is set
such that the device will transmit an all ones pattern on powerup or device reset. This bit must be set to a one to allow the
device to transmit data. The transmission of this data pattern is
always timed off of the JACLK (See Figure 3-1).
0 = transmit all ones at TTIP and TRING
1 = transmit data normally
ATUA1CCR3.6Automatic Transmit Unframed All Ones. Automatically
transmit an unframed all ones pattern at TTIP and TRING
during a receive carrier loss (RCL) condition or receive all ones
condition.
0 = disabled
1 = enabled
TAOZCCR3.5Transmit Alternate Ones and Zeros. Transmit a …101010…
pattern at TTIP and TRING. The transmission of this data
pattern is always timed off of TCLK (See Figure 3-1).
0 = disabled
1 = enabled
TPRBSECCR3.4Transmit PRBS Enable. Transmit a 2
(T1) PRBS at TTIP and TRING.
0 = disabled
1 = enabled
TLCECCR3.3Transmit Loop Code Enable. Enables the transmit side to
transmit the loop up code in the Transmit Code Definition
registers (TCD1 and TCD2). See Section 6 for details.
0 = disabled
1 = enabled
LIRSTCCR3.2Line Interface Reset. Setting this bit from a zero to a one will
initiate an internal reset that resets the clock recovery state
machine and re-centers the jitter attenuator. Normally this bit is
only toggled on power-up. Must be cleared and set again for a
subsequent reset.
IBPVCCR3.1Insert BPV. A 0 to 1 transition on this bit will cause a single
BiPolar Violation (BPV) to be inserted into the transmit data
stream. Once this bit has been toggled from a 0 to a 1, the
device waits for the next occurrence of three consecutive ones
to insert the BPV. This bit must be cleared and set again for a
subsequent error to be inserted. See .
IBECCR3.0Insert Bit Error. A 0 to 1 transition on this bit will cause a
single logic error to be inserted into the transmit data stream.
This bit must be cleared and set again for a subsequent error to
be inserted. See Figure 3-3.
5
- 1 (E1) or a 220 - 1
30 of 73
Page 31
DS21348/Q348
6.1 Device Power-Up and Reset
The DS21348 will reset itself upon power-up setting all writeable registers to 00h and clear the status and
information registers. CCR3.7 (TUA1) = 0 results in the LIU transmitting unframed all ones. After the
power supplies have settled following power-up, initialize all control registers to the desired settings, then
toggle the LIRST bit (CCR3.2). At anytime, the DS21348 can be reset to the default settings by bringing
HRST* (pin 29) low (level triggered) or by powering down and powering up again.
CCR4 (03H): COMMON CONTROL REGISTER 4
(MSB)(LSB)
L2L1L0EGLJASJABDSDJATPD
SYMBOLPOSITIONDESCRIPTION
L2CCR4.7Line Build Out Select Bit 2. Sets the transmitter build out; see
Table 9-1 for E1 and Table 9-2 for T1.
L1CCR4.6Line Build Out Select Bit 1. Sets the transmitter build out; see
Table 9-1 for E1 and Table 9-2 for T1.
L0CCR4.5Line Build Out Select Bit 0. Sets the transmitter build out; see
Table 9-1 for E1 and Table 9-2 for T1.
EGLCCR4.4Receive Equalizer Gain Limit. This bit controls the sensitivity
of the receive equalizer. See Table 6-2.
JASCCR4.3
JABDSCCR4.2
DJACCR4.1
TPDCCR4.0
Jitter Attenuator Select.
0 = place the jitter attenuator on the receive side
1 = place the jitter attenuator on the transmit side
LLBCCR6.7Local Loopback. In Local Loopback (LLB), transmit data will
be looped back to the receive path passing through the jitter
attenuator if it is enabled. Data in the transmit path will act as
normal. See for details.
0 = loopback disabled
1 = loopback enabled
RLBCCR6.6Remote Loopback. In Remote Loopback (RLB), data output
from the clock/data recovery circuitry will be looped back to the
transmit path passing through the jitter attenuator if it is
enabled. Data in the receive path will act as normal while data
presented at TPOS and TNEG will be ignored. See for details.
0 = loopback disabled
1 = loopback enabled
ARLBECCR6.5Automatic Remote Loopback Enable & Reset. When this bit
is set high, the device will automatically go into remote
loopback when it detects loop up code programmed into the
Receive Loop Up Code Definition Registers (RUPCD1 and
RUPCD2) for a minimum of 5 seconds and it will also set the
RIR2.1 status bit. Once in a RLB state, it will remain in this
state until it has detected the loop code programmed into the
Receive Loop Down Code Definition Registers (RDNCD1 and
RDNCD2) for a minimum of 5 seconds at which point it will
force the device out of RLB and clear RIR2.1. The automatic
RLB circuitry can be reset by toggling this bit from a 1 to a 0.
The action of the automatic remote loopback circuitry is
logically OR’ed with the RLB (CCR6.6) control bit (i.e. either
one can cause a RLB to occur).
ALBCCR6.4Analog Loopback. In Analog Loopback (ALB), signals at
TTIP and TRING will be internally connected to RTIP and
RRING. The incoming signals, from the line, at RTIP and
RRING will be ignored. The signals at TTIP and TRING will
be transmitted as normal. See for more details.
0 = loopback disabled
1 = loopback enabled
RJABCCR6.3RCLK Jitter Attenuator Bypass. This control bit allows the
33 of 73
Page 34
DS21348/Q348
SYMBOLPOSITIONDESCRIPTION
receive recovered clock and data to bypass the jitter attenuation
while still allowing the BPCLK output to use the jitter
attenuator. See for details.
0 = disabled
1 = enabled
ECRS2CCR6.2Error Count Register Select 2. See Section 8.4 for details.
ECRS1CCR6.1Error Count Register Select 1. See Section 8.4 for details.
ECRS0CCR6.0Error Count Register Select 0. See Section 8.4 for details.
7. STATUS REGISTERS
There are three registers that contain information on the current real time status of the device, Status
Register (SR) and Receive Information Registers 1 and 2 (RIR1/RIR2). When a particular event has
occurred (or is occurring), the appropriate bit in one of these three registers will be set to a one. Some of
the bits in SR, RIR1, and RIR2 are latched bits and some are real time bits. The register descriptions
below list which status bits are latched and which are real time bits. For latched status bits, when an event
or an alarm occurs the bit is set to a one and will remain set until the user reads that bit. The bit will be
cleared when it is read and it will not be set again until the event has occurred again. Two of the latched
status bits (RUA1 and RCL) will remain set after reading if the alarm is still present.
The user will always precede a read of any of the three status registers with a write. The byte written to
the register will inform the DS21348 which bits the user wishes to read and have cleared. The user will
write a byte to one of these registers with a one in the bit positions to be read and a zero in the other bit
positions. When a one is written to a bit location, that location will be updated with the latest information.
When a zero is written to a bit position, that bit position will not be updated and the previous value will
be held. A write to the status and information registers will be immediately followed by a read of the
same register. The read result should be logically AND’ed with the mask byte that was just written and
this value should be written back into the same register to insure that bit does indeed clear. This second
write step is necessary because the alarms and events in the status registers occur asynchronously with
respect to their access via the parallel port. This write-read-write scheme allows an external
microcontroller or microprocessor to individually poll certain bits without disturbing the other bits in the
register. This operation is key in controlling the DS21348 with higher-order software languages.
The bits in the SR register have the unique ability to initiate a hardware interrupt via the INT* output pin.
Each of the alarms and events in the SR can be either masked or unmasked from the interrupt pin via the
Interrupt Mask Register (IMR). The interrupts caused by the RCL, RUA1, and LOTC bits in SR act
differently than the interrupts caused by the other status bits in SR. The RCL, RUA1 and LOTC bits will
force the INT* pin low whenever they change state (i.e., go active or inactive). The INT* pin will be
allowed to return high (if no other interrupts are present) when the user reads the alarm bit that caused the
interrupt to occur even if the alarm is still present. The other status bits in SR can force the INT* pin low
when they are set. The INT* pin will be allowed to return high (if no other interrupts are present) when
the user reads the event bit that caused the interrupt to occur.
34 of 73
Page 35
DS21348/Q348
RECEIVED ALARM CRITERIA Table 7-1
ALARME1/T1SET CRITERIACLEAR CRITERIA
RUA1E1Less than 2 zeros in two frames
(512 bits)
RUA1T1Over a 3ms window, five or
fewer zeros are received
1
RCL
E1255 (or 2048)2 consecutive zeros
received (G.775)
1
RCL
T1192 (or 1544)2 consecutive zeros
are received
More than 2 zeros in two frames
(512 bits)
Over a 3ms window, six or more
zeros are received
In 255 bit times, at least 32 ones
are received
14 or more ones out of 112
possible bit positions are
received starting with the first
one received
NOTES:
1) Receive carrier loss (RCL) is also known as loss of signal (LOS) or Red Alarm in T1.
2) See CCR1.5 for details.
SR (06H): STATUS REGISTER
(MSB)(LSB)
LUPLDNLOTCRUA1RCLTCLETOCDPRBSD
SYMBOLPOSITIONDESCRIPTION
LUP
(latched)
SR.7Loop Up Code Detected. Set when the loop up code defined in
registers RUPCD1 and RUPCD2 is being received. See Section
6 for details.
LDN
(latched)
SR.6Loop Down Code Detected. Set when the loop down code
defined in registers RDNCD1 and RDNCD2 is being received.
See Section 6 for details.
LOTC
(real time)
RUA1
(latched)
RCL
(latched)
TCLE
(real time)
SR.5Loss of Transmit Clock. Set when the TCLK pin has not
transitioned for 5msec (±2msec). Will force the LOTC pin high.
SR.4Receive Unframed All Ones. Set when an unframed all ones
code is received at RRING and RTIP. See Table 7-1for details.
SR.3Receive Carrier Loss. Set when a receive carrier loss condition
exists at RRING and RTIP. See Table 7-1for details.
SR.2Transmit Current Limit Exceeded. Set when the 50 mA (rms)
current limiter is activated whether the current limiter is enabled
or not.
TOCD
(real time)
PRBSD
(real time)
SR.1Transmit Open Circuit Detect. Set when the device detects
that the TTIP and TRING outputs are open circuited.
SR.0PRBS Detect. Set when the receive-side detects a 2
20
or a 2
- 1 (T1) Pseudo Random Bit Sequence (PRBS).
15
- 1 (E1)
35 of 73
Page 36
DS21348/Q348
IMR (07H): INTERRUPT MASK REGISTER
(MSB)(LSB)
LUPLDNLOTCRUA1RCLTCLETOCDPRBSD
SYMBOLPOSITIONDESCRIPTION
LUPIMR.7
LDNIMR.6
LOTCIMR.5
RUA1IMR.4
RCLIMR.3
TCLEIMR.2
TOCDIMR.1
PRBSDIMR.0
Loop Up Code Detected.
0 = interrupt masked
1 = interrupt enabled
Loop Down Code Detected.
0 = interrupt masked
1 = interrupt enabled
Loss of Transmit Clock.
0 = interrupt masked
1 = interrupt enabled
Receive Unframed All Ones.
0 = interrupt masked
1 = interrupt enabled
Receive Carrier Loss.
0 = interrupt masked
1 = interrupt enabled
Transmit Current Limiter Exceeded.
0 = interrupt masked
1 = interrupt enabled
Transmit Open Circuit Detect.
0 = interrupt masked
1 = interrupt enabled
PRBS Detection.
0 = interrupt masked
1 = interrupt enabled
36 of 73
Page 37
DS21348/Q348
RIR1 (08H): RECEIVE INFORMATION REGISTER 1
(MSB)(LSB)
ZD16ZDHBDRCLCRUA1CJALTn/an/a
SYMBOLPOSITIONDESCRIPTION
ZD
(latched)
RIR1.7Zero Detect. Set when a string of at least four (ETS = 0) or
eight (ETS = 1) consecutive zeros (regardless of the length of
the string) have been received. Will be cleared when read.
16ZD
(latched)
RIR1.6Sixteen Zero Detect. Set when at least 16 consecutive zeros
(regardless of the length of the string) have been received. Will
be cleared when read.
HBD
(latched)
RIR1.5HDB3/B8ZS Word Detect. Set when an HDB3 (ETS = 0) or
B8ZS (ETS = 1) code word is detected independent of whether
the receive HDB3/B8ZS mode (CCR4.6) is enabled. Will be
cleared when read. Useful for automatically setting the line
coding.
RCLC
(latched)
RIR1.4Receive Carrier Loss Clear. Set when the RCL alarm has met
the clear criteria defined in Table 7-1. Will be cleared when
read.
RUA1C
(latched)
RIR1.3Receive Unframed All Ones Clear. Set when the unframed all
ones signal is no longer detected. Will be cleared when read.
See Table 7-1.
JALT
(latched)
RIR1.2Jitter Attenuator Limit Trip. Set when the jitter attenuator
FIFO reaches to within 4 bits of its useful limit. Will be cleared
when read. Useful for debugging jitter attenuation operation.
N/ARIR1.1Not Assigned. Could be any value when read.
N/ARIR1.0Not Assigned. Could be any value when read.
37 of 73
Page 38
DS21348/Q348
RIR2 (09H): RECEIVE INFORMAION REGISTER 2
(MSB)(LSB)
RL3RL2RL1RL0N/AN/AARLBSEC
SYMBOLPOSITIONDESCRIPTION
RL3
(real time)
RL2
(real time)
RL1
(real time)
RL0
(real time)
N/ARIR2.3Not Assigned. Could be any value when read.
N/ARIR2.2Not Assigned. Could be any value when read.
ARLB
(real time)
SEC
(latched)
RIR2.7Receive Level Bit 3. See Table 7-2.
RIR2.6Receive Level Bit 2. See Table 7-2.
RIR2.5Receive Level Bit 1. See Table 7-2.
RIR2.4Receive Level Bit 0. See Table 7-2.
RIR2.1Automatic Remote LoopBack Detected. This bit will be set to
a one when the automatic Remote Loopback (RLB) circuitry
has detected the presence of a loop up code for 5 seconds. It
will remain set until the automatic RLB circuitry has detected
the loop down code for 5 seconds. See Section 6 for more
details. This bit will be forced low when the automatic RLB
circuitry is disabled (CCR6.5 = 0).
RIR2.0One-Second Timer. This bit will be set to a one on one-second
boundaries as timed by the device based on the RCLK. It will
be cleared when read.
RECEIVE LEVEL INDICATION Table 7-2
RL3RL2RL1RL0Receive Level
0000Greater than -2.5
0001-2.5 to -5.0
0010-5.0 to -7.5
0011-7.5 to -10.0
0100-10.0 to -12.5
0101-12.5 to -15.0
0110-15.0 to -17.5
0111-20.0 to -22.5
1000-22.5 to -25.0
1001-25.0 to -27.5
1010-27.5 to -30.0
1011-30.0 to -32.5
1100-32.5 to -35.0
1101-35.0 to -37.5
1110-37.5 to -40.0
1111-40.0 to -42.5
38 of 73
(dB)
Page 39
DS21348/Q348
8. DIAGNOSTICS
8.1 In-Band Loop Code Generation and Detection
The DS21348 has the ability to generate and detect a repeating bit pattern that is from one to eight or
sixteen bits in length. To transmit a pattern, the user will load the pattern to be sent into the Transmit
Code Definition (TCD1 and TCD2) registers and select the proper length of the pattern by setting the
TC0 and TC1 bits in the In-Band Code Control (IBCC) register. When generating a 1, 2, 4, 8, or 16 bit
pattern both the transmit code registers (TCD1 and TCD2) must be filled with the proper code.
Generation of a 1, 3, 5, or 7-bit pattern only requires TCD1 to be filled. Once this is accomplished, the
pattern will be transmitted as long as the TLCE control bit (CCR3.3) is enabled. As an example, if the
user wished to transmit the standard “loop up” code for Channel Service Units which is a repeating
pattern of ...10000100001... then 80h would be loaded into TCD1 and the length would set using TC1 and
TC0 in the IBCC register to 5 bits.
The DS21348 can detect two separate repeating patterns to allow for both a “loop up” code and a “loop
down” code to be detected. The user will program the codes to be detected in the Receive Up Code
Definition (RUPCD1 and RUPCD2) registers and the Receive Down Code Definition (RDNCD1 and
RDNCD2) registers and the length of each pattern will be selected via the IBCC register. The DS21348
will detect repeating pattern codes with bit error rates as high as 1x10-2. The code detector has a nominal
integration period of 48ms, hence, after about 48ms of receiving either code, the proper status bit (LUP at
SR.7 and LDN at SR.6) will be set to a one. Normally codes are sent for a period of 5 seconds. It is
recommended that the software poll the DS21348 every 100ms to 1000ms until 5 seconds has elapsed to
insure that the code is continuously present.
IBCC (0AH): IN-BAND CODE CONTROL REGISTER
(MSB)(LSB)
TC1TC0RUP2RUP1RUP0RDN2RDN1RDN0
SYMBOLPOSITIONDESCRIPTION
TC1IBCC.7Transmit Code Length Definition Bit 1. See Table 8-1
TC0IBCC.6Transmit Code Length Definition Bit 0. See Table 8-1
RUP2IBCC.5Receive Up Code Length Definition Bit 2. See Table 8-2
RUP1IBCC.4Receive Up Code Length Definition Bit 1. See Table 8-2
RUP0IBCC.3Receive Up Code Length Definition Bit 0. See Table 8-2
RDN2IBCC.2Receive Down Code Length Definition Bit 2. See Table 8-2
RDN1IBCC.1Receive Down Code Length Definition Bit 1. See Table 8-2
RDN0IBCC.0Receive Down Code Length Definition Bit 0. See Table 8-2
C7TCD1.7Transmit Code Definition Bit 7. First bit of the repeating
pattern.
C6TCD1.6
C5TCD1.5
C4TCD1.4
C3TCD1.3
C2TCD1.2Transmit Code Definition Bit 2. A Don’t Care if a 5-bit
C1TCD1.1Transmit Code Definition Bit 1. A Don’t Care if a 5-bit or 6-
C0TCD1.0Transmit Code Definition Bit 0. A Don’t Care if a 5-bit, 6-
Transmit Code Definition Bit 6.
Transmit Code Definition Bit 5.
Transmit Code Definition Bit 4.
Transmit Code Definition Bit 3.
length is selected.
bit length is selected.
bit, or 7-bit length is selected.
40 of 73
Page 41
DS21348/Q348
TCD2 (0CH): TRANSMIT CODE DEFINITION REGISTER 2
(MSB)(LSB)
C15C14C13C12C11C10C9C8
SYMBOLPOSITIONDESCRIPTION
C15TCD2.7
C14TCD2.6
C13TCD2.5
C12TCD2.4
C11TCD2.3
C10TCD2.2
C9TCD2.1
C8TCD2.0
Transmit Code Definition Bit 15
Transmit Code Definition Bit 14
Transmit Code Definition Bit 13
Transmit Code Definition Bit 12
Transmit Code Definition Bit 11
Transmit Code Definition Bit 10
Transmit Code Definition Bit 9
Transmit Code Definition Bit 8
RUPCD1 (0DH): RECEIVE UP CODE DEFINITION REGISTER 1
(MSB)(LSB)
C7C6C5C4C3C2C1C0
SYMBOLPOSITIONDESCRIPTION
C7RUPCD1.7Receive Up Code Definition Bit 7. First bit of the repeating
pattern.
C6RUPCD1.6Receive Up Code Definition Bit 6. A Don’t Care if a 1-bit
length is selected.
C5RUPCD1.5Receive Up Code Definition Bit 5. A Don’t Care if a 1-bit or
2-bit length is selected.
C4RUPCD1.4Receive Up Code Definition Bit 4. A Don’t Care if a 1-bit to
3-bit length is selected.
C3RUPCD1.3Receive Up Code Definition Bit 3. A Don’t Care if a 1-bit to
4-bit length is selected.
C2RUPCD1.2Receive Up Code Definition Bit 2. A Don’t Care if a 1-bit to
5-bit length is selected.
C1RUPCD1.1Receive Up Code Definition Bit 1. A Don’t Care if a 1-bit to
6-bit length is selected.
C0RUPCD1.0Receive Up Code Definition Bit 0. A Don’t Care if a 1-bit to
7-bit length is selected.
41 of 73
Page 42
DS21348/Q348
RUPCD2 (0EH): RECEIVE UP CODE DEFINITION REGISTER 2
(MSB)(LSB)
C15C14C13C12C11C10C9C8
SYMBOLPOSITIONDESCRIPTION
C15RUPCD2.7
C14RUPCD2.6
C13RUPCD2.5
C12RUPCD2.4
C11RUPCD2.3
C10RUPCD2.2
C9RUPCD2.1
C8RUPCD2.0
Receive Up Code Definition Bit 15
Receive Up Code Definition Bit 14
Receive Up Code Definition Bit 13
Receive Up Code Definition Bit 12
Receive Up Code Definition Bit 11
Receive Up Code Definition Bit 10
Receive Up Code Definition Bit 9
Receive Up Code Definition Bit 8
RDNCD1 (0FH): RECEIVE DOWN CODE DEFINITION REGISTER 1
(MSB)(LSB)
C7C6C5C4C3C2C1C0
SYMBOLPOSITIONDESCRIPTION
C7RDNCD1.7Receive Down Code Definition Bit 7. First bit of the
repeating pattern.
C6RDNCD1.6Receive Down Code Definition Bit 6. A Don’t Care if a 1-bit
length is selected.
C5RDNCD1.5Receive Down Code Definition Bit 5. A Don’t Care if a 1-bit
or 2-bit length is selected.
C4RDNCD1.4Receive Down Code Definition Bit 4. A Don’t Care if a 1-bit
to 3-bit length is selected.
C3RDNCD1.3Receive Down Code Definition Bit 3. A Don’t Care if a 1-bit
to 4-bit length is selected.
C2RDNCD1.2Receive Down Code Definition Bit 2. A Don’t Care if a 1-bit
to 5-bit length is selected.
C1RDNCD1.1Receive Down Code Definition Bit 1. A Don’t Care if a 1-bit
to 6-bit length is selected.
C0RDNCD1.0Receive Down Code Definition Bit 0. A Don’t Care if a 1-bit
to 7-bit length is selected.
42 of 73
Page 43
DS21348/Q348
RDNCD2 (10H): RECEIVE DOWN CODE DEFINITION REGISTER 2
(MSB)(LSB)
C15C14C13C12C11C10C9C8
SYMBOLPOSITIONDESCRIPTION
C15RDNCD2.7
C14RDNCD2.6
C13RDNCD2.5
C12RDNCD2.4
C11RDNCD2.3
C10RDNCD2.2
C9RDNCD2.1
C8RDNCD2.0
Receive Down Code Definition Bit 15
Receive Down Code Definition Bit 14
Receive Down Code Definition Bit 13
Receive Down Code Definition Bit 12
Receive Down Code Definition Bit 11
Receive Down Code Definition Bit 10
Receive Down Code Definition Bit 9
Receive Down Code Definition Bit 8
8.2 Loopbacks
8.2.1 Remote Loopback (RLB)
When RLB (CCR6.6) is enabled, the DS21348 is placed into remote loopback. In this loopback, data
from the clock/data recovery state machine will be looped back to the transmit path passing through the
jitter attenuator if it is enabled. The data at the RPOS and RNEG pins will be valid while data presented
at TPOS and TNEG will be ignored. See for details.
If the Automatic Remote Loop Back Enable (CCR6.5) is set to a one, the DS21348 will automatically go
into remote loop back when it detects the loop up code programmed in the Receive Up Code Definition
Registers (RUPCD1 and RUPCD2) for a minimum of 5 seconds. When the DS21348 detects the loop
down code programmed in the Receive Loop Down Code Definition registers (RDNCD1 and RDNCD2)
for a minimum of 5 seconds, the DS21348 will come out of remote loop back. The ARLB can also be
disabled by setting ARLBE to a zero.
8.2.2 Local Loopback (LLB)
When LLB (CCR6.7) is set to a one, the DS21348 is placed into Local Loopback. In this loopback, data
on the transmit-side will continue to be transmitted as normal. TCLK and TPOS/TNEG will pass through
the jitter attenuator (if enabled) and be output at RCLK and RPOS/RNEG. Incoming data from the line at
RTIP and RRING will be ignored. If Transmit Unframed All Ones (CCR3.7) is set to a one while in LLB,
TTIP and TRING will transmit all ones while TCLK and TPOS/TNEG will be looped back to RCLK and
RPOS/RNEG. See for more details.
43 of 73
Page 44
DS21348/Q348
8.2.3 Analog Loopback (LLB)
Setting ALB (CCR6.4) to a one puts the DS21348 in Analog Loopback. Signals at TTIP and TRING will
be internally connected to RTIP and RRING. The incoming signals at RTIP and RRING will be ignored.
The signals at TTIP and TRING will be transmitted as normal. See for more details.
8.2.4 Dual Loopback (DLB)
Setting both CCR6.7 and CCR6.6 to a one, LLB and RLB respectively, puts the DS21348 into Dual
Loopback operation. The TCLK and TPOS/TNEG signals will be looped back through the jitter
attenuator (if enabled) and output at RCLK and RPOS/RNEG. Clock and data recovered from RTIP and
RRING will be looped back to the transmit-side and output at TTIP and TRING. This mode of operation
is not available when implementing hardware operation. See for more details.
8.3 PRBS Generation and Detection
Setting TPRBSE (CCR3.4) = 1 enables the DS21348 to transmit a 215 - 1 (E1) or a 220 - 1 (T1) Pseudo
Random Bit Sequence (PRBS) depending on the ETS bit setting in CCR1.7. The receive-side of the
DS21348 will always search for these PRBS patterns independent of CCR3.4. The PRBS Bit Error
Output (PBEO) will remain high until the receiver has synchronized to one of the two patterns (64 bits
received without an error) at which time PBEO will go low and the PRBSD bit in the Status Register
(SR) will be set. Once synchronized, any bit errors received will cause a positive going pulse at PBEO,
synchronous with RCLK. This output can be used with external circuitry to keep track of bit error rates
during the PRBS testing. Setting CCR6.0 (ECRS) = 1 will allow the PRBS errors to be accumulated in
the 16-bit counter in registers ECR1 and ECR2. The PRBS synchronizer will remain in sync until it
experiences 6 bit errors or more within a 64 bit span. Both PRBS patterns comply with the ITU-T O.151
specifications.
8.4 Error Counter
Error Count Register 1 (ECR1) is the most significant word and ECR2 is the least significant word of a
user selectable 16-bit counter that records incoming errors including BiPolar Violations (BPV), Code
Violations (CV), Excessive Zero violations (EXZ) and/or PRBS Errors. See Table 8-3 and Table 8-4 and
Figure 3-2 for details.
DEFINITION OF RECEIVED ERRORS Table 8-3
ERRORE1 OR T1DEFINITION OF RECEIVED ERRORS
BPVE1/T1Two consecutive marks with the same polarity. Will ignore BPVs due to
HDB3 and B8ZS zero suppression when CCR2.3 = 0. Typically used with
AMI coding (CCR2.3 = 1). ITU-T O.161.
CVE1When HDB3 is enabled (CCR2.3 = 0) and the receiver detects two
consecutive BPVs with the same polarity. ITU-T O.161.
EXZE1When four or more consecutive zeros are detected.
EXZT1When receiving AMI coded signals (CCR2.3 = 1), detection of 16 or more
zeros or a BPV. ANSI T1.403 1999.
When receiving B8ZS coded signals (CCR2.3 = 0), detection of 8 or more
zeros or a BPV. ANSI T1.403 1999.
PRBSE1/T1A bit error in a received PRBS pattern. See section 8.3 for details.
ITU-T O.151.
44 of 73
Page 45
DS21348/Q348
FUNCTION OF ECRS BITS AND RNEG PIN Table 8-4
E1 or T1
(CCR1.7)
0000XCVs
0001XBPVs (HDB3 code words not counted)
0010XCVs + EXZs
0011XBPVs + EXZs
10X00BPVs (B8ZS code words not counted)
10X10BPVs + 8 EXZs
10X01BPVs
10X11BPVs + 16 EXZs
X1XXXPRBS Errors
ECRS2
(CCR6.2)
ECRS1
(CCR6.1)
ECRS0
(CCR6.0)
RHBE
(CCR2.3)
FUNCTION OF ECR
COUNTERS/RNEG
2
1
NOTES:
1. RNEG outputs error data only when in NRZ mode (CCR1.6 = 1)
2. PRBS errors will always be output at PBEO independent of ECR control bits and NRZ mode and will
not be present at RNEG.
8.4.1 Error Counter Update
A transition of the ECUE (CCR1.4) control bit from 0 to 1 will update the ECR registers with the current
values and reset the counters. ECUE must be set back to zero and another 0 to 1 transition must occur for
subsequent reads/resets of the ECR registers. Note that the DS21348 can report errors at RNEG when in
NRZ mode (CCR1.6 = 1) by outputting a pulse for each error occurrence. The counter saturates at 65,535
and will not rollover.
When IBPV (CCR3.1) is transitioned from a zero to a one, the device waits for the next occurrence of
three consecutive ones to insert a BPV. IBPV must be cleared and set again for another BPV error
insertion. See for details on the insertion of the BPV into the datastream.
When IBE (CCR3.0) is transitioned from a zero to a one, the device will insert a logic error. IBE must be
cleared and set again for another logic error insertion. See for details on the insertion of the logic error
into the datasteam.
45 of 73
Page 46
DS21348/Q348
9. ANALOG INTERFACE
9.1 Receiver
The DS21348 contains a digital clock recovery system. The DS21348 couples to the receive E1 or T1
twisted pair (or coaxial cable in 75Ω E1 applications) via a 1:1 transformer. See Table 9-3 for transformer
details. Figure 9-1, Figure 9-2, and Figure 9-3 along with Table 9-1 and Table 9-2 show the receive
termination requirements. The DS21348 has the option of using internal termination resistors.
The DS21348 is designed to be fully software-selectable for E1 and T1 without the need to change any
external resistors for the receive-side. The receive-side will allow the user to configure the DS21348 for
75Ω, 100Ω, or 120Ω receive termination by setting the RT1 (CCR5.1) and RT0 (CCR5.0) bits. When
using the internal termination feature, the Rr resistors should be 60Ω each. See Figure 9-1 for details. If
external termination is required, RT1 and RT0 should be set to 0 and both Rr resistors in Figure 9-1 will
need to be 37.5Ω, 50Ω, or 60Ω each depending on the line impedance.
The resultant E1 or T1 clock derived from the 2.048/1.544 PLL (JACLK in ) is internally multiplied by
16 via another internal PLL and fed to the clock recovery system. The clock recovery system uses the
clock from the PLL circuit to form a 16 times oversampler which is used to recover the clock and data.
This oversampling technique offers outstanding performance to meet jitter tolerance specifications shown
in Figure 9-.
Normally, the clock that is output at the RCLK pin is the recovered clock from the E1 AMI/HDB3 or T1
AMI/B8ZS waveform presented at the RTIP and RRING inputs. When no signal is present at RTIP and
RRING, a Receive Carrier Loss (RCL) condition will occur and the RCLK will be derived from the
JACLK source. See . If the jitter attenuator is placed in the receive path (as is the case in most
applications), the jitter attenuator restores the RCLK to an approximate 50% duty cycle. If the jitter
attenuator is either placed in the transmit path or is disabled, the RCLK output can exhibit slightly shorter
high cycles of the clock. This is due to the highly oversampled digital clock recovery circuitry. See the
Receive AC Timing Characteristics in Section 12 for more details.
The receive-side circuitry also contains a clock synthesizer which outputs a user configurable clock (up to
16.384MHz) synthesized to RCLK at BPCLK (pin 31). See Table 6-3 for details on output clock
frequencies at BPCLK. In hardware mode, BPCLK defaults to a 16.384MHz output.
The DS21348 has a bypass mode for the receive side clock and data. This allows the BPCLK to be
derived from RCLK after the jitter attenuator while the clock and data presented at RCLK, RPOS, and
RNEG go unaltered. This is intended for applications where the receive side jitter attenuation will be
done after the LIU. Setting RJAB (CCR6.3) to a logic 1 will enable the bypass. Be sure that the jitter
attenuator is in the receive path (CCR4.3 = 0). See for details.
The DS21348 will report the signal strength at RTIP and RRING in 2.5dB increments via RL3-RL0
located in the Receive Information Register 2. This feature is helpful when trouble shooting line
performance problems. See Table 7-2 for details.
Monitor applications in both E1 and T1 require various flat gain settings for the receive-side circuitry.
The DS21348 can be programmed to support these applications via the Monitor Mode control bits MM1
and MM0. When the monitor modes are enabled, the receiver will tolerate normal line loss up to -6dB.
See Table 6-4 for details.
46 of 73
Page 47
DS21348/Q348
9.2 Transmitter
The DS21348 uses a set of laser-trimmed delay lines along with a precision Digital-to-Analog Converter
(DAC) to create the waveforms that are transmitted onto the E1 or T1 line. The waveforms created by the
DS21348 meet the latest ETSI, ITU, ANSI, and AT&T specifications. The user will select which
waveform is to be generated by setting the ETS bit (CCR1.7) for E1 or T1 operation, then programming
the L2/L1/L0 bits in Common Control Register 4 for the appropriate application. See Table 9-1 and Table
9-2 for the proper L2/L1/L0 settings.
A 2.048MHz or 1.544MHz TTL clock is required at TCLK for transmitting data at TPOS and TNEG.
ITU specification G.703 requires an accuracy of ±50ppm for both T1 and E1. TR62411 and ANSI specs
require an accuracy of ±32ppm for T1 interfaces. The clock can be sourced internally by RCLK or
JACLK. See CCR1.2, CCR1.1, CCR1.0, and for details. Due to the nature of the design of the
transmitter in the DS21348, very little jitter (less than 0.005 UIpp broadband from 10Hz to 100kHz) is
added to the jitter present on TCLK. Also, the waveforms created are independent of the duty cycle of
TCLK. The transmitter in the DS21348 couples to the E1 or T1 transmit twisted pair (or coaxial cable in
some E1 applications) via a 1:2 step-up transformer. In order for the device to create the proper
waveforms, the transformer used must meet the specifications listed in Table 9-3.
The DS21348 has automatic short-circuit limiter which limits the source current to 50mA (rms) into a 1Ω
load. This feature can be disabled by setting the SCLD bit (CCR2.5) = 1. When the current limiter is
activated, TCLE (SR.2) will be set even if short circuit limiter is disabled. The TPD bit (CCR4.0) will
power-down the transmit line driver and 3-state the TTIP and TRING pins. The DS21348 can also detect
when the TTIP or TRING outputs are open circuited. When an open circuit is detected, TOCD (SR.1)
will be set.
9.3 Jitter Attenuator
The DS21348 contains an onboard jitter attenuator that can be set to a depth of either 32 or 128 bits via
the JABDS bit (CCR4.2). The 128-bit mode is used in applications where large excursions of wander are
expected. The 32-bit mode is used in delay sensitive applications. The characteristics of the attenuation
are shown in . The jitter attenuator can be placed in either the receive path or the transmit path by
appropriately setting or clearing the JAS bit (CCR4.3). Also, the jitter attenuator can be disabled (in
effect, removed) by setting the DJA bit (CCR4.1). In order for the jitter attenuator to operate properly, a
2.048MHz or 1.544MHz clock must be applied at MCLK. ITU specification G.703 requires an accuracy
of ±50ppm for both T1 and E1. TR62411 and ANSI specs require an accuracy of ±32ppm for T1
interfaces. There is an onboard PLL for the jitter attenuator, which will convert the 2.048MHz clock to a
1.544 MHz rate for T1 applications. Setting JAMUX (CCR1.3) to a logic 0 bypasses this PLL. Onboard
circuitry adjusts either the recovered clock from the clock/data recovery block or the clock applied at the
TCLK pin to create a smooth jitter free clock which is used to clock data out of the jitter attenuator FIFO.
It is acceptable to provide a gapped/bursty clock at the TCLK pin if the jitter attenuator is placed on the
transmit side. If the incoming jitter exceeds either 120 UIpp (buffer depth is 128 bits) or 28 UIpp (buffer
depth is 32 bits), then the DS21348 will divide the internal nominal 32.768MHz (E1) or 24.704MHz (T1)
clock by either 15 or 17 instead of the normal 16 to keep the buffer from overflowing. When the device
divides by either 15 or 17, it also sets the Jitter Attenuator Limit Trip (JALT) bit in the Receive
Information Register 1 (RIR1).
47 of 73
Page 48
DS21348/Q348
9.4 G.703 Synchronization Signal
The DS21348 is capable of receiving a 2.048MHz square-wave synchronization clock as specified in
section 10 of ITU G.703. In order to use the DS21348 in this mode, set the Receive Synchronization
Clock Enable (CCR5.3) = 1. The DS21348 can also transmit the 2.048MHz square-wave synchronization
clock as specified in section 10 of G.703. In order to transmit the 2.048 MHz clock, set the Transmit
Synchronization Clock Enable (CCR5.2) = 1.
LINE BUILD OUT SELECT FOR E1 IN REGISTER CCR4 (ETS = 0) Table 9-1
L2L1L0V
DD
0003.3V
0013.3V
1003.3V
1013.3V
Note: See Figure 9-1, Figure 9-2, and Figure 9-3.
APPLICATIONNRETURN LOSSRt
75W normal
120W normal
75W w/ high return loss
120W w/ high return loss
1:2NM
1:2NM
1:221dB
1:221dB
0W
0W
6.2W
11.6W
LINE BUILD OUT SELECT FOR T1 IN REGISTER CCR4 (ETS = 1) Table 9-2
L2L1L0V
DD
0003.3VDSX-1 (0 to 133 feet) /
0013.3VDSX-1 (133 to 266 feet)1:2NM
0103.3VDSX-1 (266 to 399 feet)1:2NM
0113.3VDSX-1 (399 to 533 feet)1:2NM
1003.3VDSX-1 (533 to 655 feet)1:2NM
1013.3V-7.5dB CSU1:2NM
1103.3V-15dB CSU1:2NM
1113.3V-22.5dB CSU1:2NM
APPLICATIONNRETURN LOSSRt
1:2NM
0W
0 DB CSU
0W
0W
0W
0W
0W
0W
0W
Note: See Figure 9-1, Figure 9-2, and Figure 9-3.
TRANSFORMER SPECIFICATIONS FOR 3.3V OPERATION Table 9-3
SPECIFICATIONRECOMMENDED VALUE
Turns Ratio 3.3V Applications1:1 (receive) and 1:2 (transmit) ±2%
Primary Inductance
Leakage Inductance
Intertwining Capacitance40pF maximum
Transmit Transformer DC Resistance
Primary (Device Side)
Secondary
Receive Transformer DC Resistance
Primary (Device Side)
Secondary
600mH minimum
1.0mH maximum
1.0W maximum
2.0W maximum
1.2W maximum
1.2W maximum
48 of 73
Page 49
BASIC INTERFACE Figure 9-1
Rt
Rt
1.0µF
(non-
polarized)
Transmit
Line
N:1
(larger winding
toward the network)
DS21348
TTIP
TRING
VDD (21)
VSS (22)
VDD (36)
VSS (35)
0.1µF
0.01µF
0.1µF
DS21348/Q348
+VDD
10µF
10µF
2.048MHz
(this clock can also
be 1.544MHz for T1
only applications)
Receive
Line
1:1
RrRr
0.1µF
RTIP
RRING
MCLK
NOTES:
1) All resistor values are ±1%.
2) In E1 applications, the Rt resistors are used to increase the transmitter return loss (Table 9-1). No
return loss is required for T1 applications.
3) The Rr resistors should be set to 60W each if the internal receive-side termination feature is enabled.
When this feature is disabled, Rr = 37.5W for 75W or 60W for 120W E1 systems, or 50W for 100W
T1 lines.
4) See Table 9-1 and Table 9-2 for the appropriate transmit transformer turns ratio (N).
49 of 73
Page 50
Figure 9-2 PROTECTED INTERFACE USING INTERNAL RECEIVE
TERMINATION
+VDD
Transmit
Line
(optional)
Fuse
Fuse
Rp
Rp
N:1
(larger winding
toward the network)
D1
Rt
S
1.0µF
polarized)
Rt
(non-
D3D4
C1
+VDD
D2
TTIP
TRING
DS21348
VDD (21)
VSS (22)
VDD (36)
VSS (35)
0.1µF
0.01µF
0.1µF
+VDD
10µF
10µF
DS21348/Q348
68µF
C2
D6
D8
RTIP
RRING
MCLK
2.048MHz
(this clock can also
be 1.544MHz for T1
only applications)
Receive
Line
Fuse
Fuse
(optional)
D5
Rp
S
Rp
1:1
6060
0.1µF
D7
NOTES:
1. All resistor values are ±1%.
2. C1 = C2 = 0.1µF.
3. S is a 6V transient suppresser.
4. D1 to D8 are Schottky diodes.
5. The fuses are optional to prevent AC power line crosses from compromising the transformers.
6. Rp resistors exist to keep the Fuses from opening during a surge. If they are used, then the 60W
receive termination resistance must be adjusted to match the line impedance.
7. The Rt resistors are used to increase the transmitter return loss (Table 9-1). No return loss is required
for T1 applications.
8. The transmit transformer turns ratio (N) would be 1:2 for 3.3V operation.
9. The 68mF is used to keep the local power plane potential within tolerance during a surge.
50 of 73
Page 51
DS21348/Q348
PROTECTED INTERFACE USING EXTERNAL RECEIVE TERMINATION
Figure 9-3
+VDD
Transmit
Line
(optional)
Fuse
Fuse
Rp
Rp
N:1
(larger winding
toward the network)
D1
Rt
Rt
1.0µF
(non-
polarized)
D3D4
S
C1
D2
DS21348
TTIP
TRING
VDD (21)
VSS (22)
VDD (36)
VSS (35)
0.1µF
0.01µF
0.1µF
10µF
10µF
+VDD
68µF
(optional)
Rp
Rp
1:1
RrRr
0.1µF
470
470
RTIP
RRING
MCLK
2.048MHz
(this clock can also
be 1.544MHz for T1
only applications)
Fuse
Receive
Line
Fuse
NOTES:
1. All resistor values are ±1%.
2. C1 = 0.1µF.
3. S is a 6V transient suppresser.
4. D1 to D4 are Schottky diodes.
5. The fuses are optional to prevent AC power line crosses from compromising the transformers.
6. Rp resistors exist to keep the Fuses from opening during a surge. If they are used, then Rr must be
adjusted to match the line impedance.
7. Rr = 37.5W for 75W or 60W for 120W E1 systems, or 50W for 100W T1 lines.
8. The Rt resistors are used to increase the transmitter return loss (Table 9-1). No return loss is required
for T1 applications.
9. The transmit transformer turns ratio (N) would be 1:2 for 3.3V operation.
10. The 68mF is used to keep the local power plane potential within tolerance during a surge.
The DS21Q348 is a quad version of the DS21348G utilizing CABGA on carrier packaging technology.
The four LIUs are controlled via the parallel port mode. Serial and hardware modes are unavailable in
this package.
1) Shaded areas are signals common to all four devices
2) Connect to V
SS
.
4
BIS0BPCLK4HRST*VSS4RCLK4TCLK
4
58 of 73
Page 59
DS21348/Q348
11. DC CHARACTERISTICS
ABSOLUTE MAXIMUM RATINGS*
Voltage Range on Any Pin Relative to Ground-1.0V to +6.0V
Operating Temperature Range for DS21348TN
-40°C to +85°C
Storage Temperature RangeSee J-STD-020A specification
* This is a stress rating only and functional operation of the device at these or any other conditions
beyond those indicated in the operation sections of this specification is not implied. Exposure to
absolute maximum rating conditions for extended periods of time can affect reliability.
RECOMMENDED DC OPERATING CONDITIONS(-40°C to +85°C)
PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Logic 1V
Logic 0V
Supply for 3.3V OperationV
IH
IL
DD
2.05.5V
–0.3+0.8V
3.1353.33.465V1
CAPACITANCE
= +25°C)
(T
A
PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Input CapacitanceC
Output CapacitanceC
DC CHARACTERISTICS
IN
OUT
5pF
7pF
(-40°C to +85°C; V
= 3.3V ± 5%)
DD
PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Input LeakageI
Output LeakageI
Output Current (2.4V)I
Output Current (0.4V)I
Supply CurrentI
IL
LO
OH
OL
DD
-1.0+1.0
1.0
mA
mA
–1.0mA
+4.0mA
-66100mA2, 5
NOTES:
1. Applies to VDD.
2. TCLK = MCLK = 2.048MHz.
3. 0.0V < V
4. Applied to INT* when 3-stated.
5. Power dissipation with TTIP and TRING driving a 30W load, for an all one’s data density.
< VDD.
IN
3
4
59 of 73
Page 60
DS21348/Q348
THERMAL CHARACTERISTICS OF DS21Q48 BGA PACKAGE
PARAMETERMINTYPMAXNOTES
Ambient Temperature-40ºC-+85ºC1
Junction Temperature--+125ºC
Theta-JA (θJA) in Still Air-+24ºC/W-2
Theta-JC (θJC) in Still Air-+4.1ºC/W-3
NOTES:
1) The package is mounted on a four-layer JEDEC-standard test board.
2) Theta-JA (θJA) is the junction to ambient thermal resistance, when the package is mounted on a four-
layer JEDEC-standard test board.
3) While Theta-JC (θJC) is commonly used as the thermal parameter that provides a correlation between the
junction temperature (Tj) and the average temperature on top center of four of the chip-scale BGA
packages (TC), the proper term is Psi-JT. It is defined by:
(TJ - TC) / overall package power
The method of measurement of the thermal parameters is defined in EIA/JEDEC-standard document
EIA-JESD51-2.
THETA-JA (θJA) VERSUS AIRFLOW
FORCED AIR (m/s)
024ºC/W
121ºC/W
2.519ºC/W
THETA-JA (θJA)
60 of 73
Page 61
12. AC CHARACTERISTICS
AC CHARACTERISTICS—MULTIPLEXED PARALLEL PORT
DS21348/Q348
(BIS1 = 0, BIS0 = 0) (-40°C to +85°C; V
-40°C to +85°C; V
= 3.3V ± 5%;
DD
= 5.0V ± 5%)
DD
PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Cycle Timet
Pulse Width, DS Low or
CYC
PW
EL
200ns
100ns
RD* High
Pulse Width, DS High
PW
EH
100ns
or RD* Low
Input Rise/Fall TimestR , t
R/W* Hold Timet
R/W* Setup Time
RWH
t
RWS
F
10ns
50ns
20ns
Before DS High
CS* Setup Time Before
t
CS
20ns
DS, WR* or RD*
Active
CS* Hold Timet
Read Data Hold Timet
Write Data Hold Timet
Muxed Address Valid to
CH
DHR
DHW
t
ASL
0ns
1050ns
0ns
15ns
AS or ALE Fall
Muxed Address Hold
t
AHL
10ns
Time
Delay Time DS, WR*
t
ASD
20ns
or RD* to AS or ALE
Rise
Pulse Width AS or ALE
Setup Time CS* to SCLKt
Setup Time SDI to SCLKt
Hold Time SCLK to SDIt
SCLK High/Low Timet
SCLK Rise/Fall Timet
SCLK to CS* Inactivet
CS* Inactive Timet
SCLK to SDO Validt
SCLK to SDO 3-Statet
CS* Inactive to SDO 3-Statet
CSS
SSS
SSH
SLH
SRF
LSC
CM
SSV
SSH
CSH
50ns
50ns
50ns
200ns
50ns
50ns
250ns
50ns
100ns
100ns
See
SERIAL BUS TIMING (BIS1 = 1, BIS0 = 0) Figure 12-8
t
CM
CS*
t
LSC
SCLK
t
t
SRF
t
1
CSS
SLH
= 3.3V ± 5%)
DD
2
SCLK
SDI
SDO
t
SSS
LSBMSB
NOTES:
1) OCES =1 and ICES = 0.
2) OCES = 0 and ICES = 1.
t
SSH
HIGH Z
MSB
LSB
LSB
t
CSH
t
SSV
MSB
t
SSH
HIGH Z
67 of 73
Page 68
DS21348/Q348
AC CHARACTERISTICS—RECEIVE SIDE(-40°C to +85°C; VDD = 3.3V ± 5%
PARAMETERSYMBOLMINTYPMAXUNITSNOTES
RCLK Periodt
RCLK Pulse Widtht
RCLK Pulse Widtht
Delay RCLK to RPOS, RNEG,
t
t
t
CP
CH
CL
CH
CL
DD
200
200
150
150
488
648
ns
ns
ns
ns
ns
ns
50ns
1
2
3
3
4
4
PBEO, RBPV Valid
See Figure 12-9
NOTES:
1) E1 Mode.
2) T1 or J1 Mode.
3) Jitter attenuator enabled in the receive path.
4) Jitter attenuator disabled or enabled in the transmit path.
Figure 12-9 RECEIVE SIDE TIMING
1
RCLK
2
RCLK
t
DD
RPOS, RNEG
t
bit
error
DD
BPV/
EXZ/
CV
PBEO
RNEG
3
NOTES:
1) RCES = 1 (CCR2.0) or CES = 1.
2) RCES = 0 (CCR2.0) or CES = 0.
3) RNEG is in NRZ mode (CCR1.6 = 1).
t
CL
PRBS Detector Out of Sync
BPV/
EXZ/
CV
t
CP
t
CH
68 of 73
Page 69
DS21348/Q348
AC CHARACTERISTICS—TRANSMIT SIDE (-40°C to +85°C; VDD = 3.3V ± 5%)
PARAMETERSYMBOLMINTYPMAXUNITSNOTES
TCLK Periodt
TCLK Pulse Widtht
TPOS/TNEG Setup to TCLK
CP
CH
t
CL
t
SU
75
75
20ns
488
648
ns
ns
ns
ns
1
2
Falling or Rising
TPOS/TNEG Hold from TCLK
t
HD
20ns
Falling or Rising
TCLK Rise and Fall TimestR, t
F
25ns
See
NOTES:
1) E1 Mode.
2) T1 or J1 Mode.
TRANSMIT SIDE TIMING Figure 12-10
1
TCLK
2
TCLK
TPOS, TNEG
t
R
t
F
NOTES:
1) TCES = 0 (CCR2.1) or CES = 0.
2) TCES = 1 (CCR2.1) or CES = 1.
t
SU
t
HD
t
CL
t
CP
t
CH
69 of 73
Page 70
13. MECHANICAL DIMENSIONS
DS21348/Q348
SUGGESTED PAD LAYOUT
44 PIN TQFP, 10*10*1.0
SEE DETAIL "A"
DIMENSIONS ARE IN MILLIMETERS
70 of 73
Page 71
DS21348/Q348
71 of 73
Page 72
13.1 Mechanical Dimensions—Quad Version
DS21348/Q348
17.0
A1
17.0
A1
12 11 10 9 8 7 6 5 4 3 2
A B C D E F G H I J K
1.27
13.97
0.20
1.52
4
1.52
DETAIL A
1.27
13.97
TOP VIEW (DIE SIDE) BOTTOM VIEW (BALL SIDE)
0.05
2.60
REF
Z
DETAIL B
0.76
0.61
0.59
1.99
SIDE VIEW
72 of 73
Page 73
/
/
f
f
SOLDER BALL
DS21348/Q348
2.60
REF
0.76
REF
f 0.76 REF
0.05 LABEL THICKNESS
DETAIL A
SEATING PLANE
0.76
0.76
X
Z
YZ
0.24Z
/
0.17Z
0.10
Z
L
L
/
DETAIL B
73 of 73
Loading...
+ 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.