The DS21448 is a quad-port E1 or T1 line interface
unit (LIU) for short-haul and long-haul applications. It
incorporates four independent transmitters and four
independent receivers in a single 144-pin PBGA or
128-pin LQFP package.
The transmit drivers generate the necessary G.703
E1 waveshapes in 75W or 120W applications and the
DSX-1 or CSU line build-outs of 0dB, -7.5dB, -15dB,
and -22.5dB for T1 applications.
The DS21448 has a usable receiver sensitivity of
0 to -43dB for E1 applications and 0 to -36dB for T1
that allows it to operate on 0.63mm (22AWG) cables
up to 2.5km (E1) and 6000ft (T1) in length. The user
has the option to use internal receive termination,
software selectable for 75W, 100W, and 120W
applications, or external termination.
The on-board crystal-less jitter attenuator can be
placed in either the transmit or the receive data path,
and 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 DS21448 has diagnostic capabilities such as
loopbacks and PRBS pattern generation and
detection. 16-bit loop-up and loop-down codes can
be generated and detected. A single input pin can
power down all transmitters to allow the
implementation of hitless protection switching (HPS)
for 1+1 redundancy without the use of relays.
The device can be controlled through an 8-bit parallel
port (muxed or nonmuxed) or a serial port, and it can
be used in hardware mode. A standard boundary
scan interface supports board-level testing.
APPLICATIONS
Integrated Multiservice Access Platforms
T1/E1 Cross-Connects, Multiplexers, and Channel
Banks
Central-Office Switches and PBX Interfaces
T1/E1 LAN/WAN Routers
Wireless Base Stations
DS21448
FEATURES
§ Four Complete E1, T1, or J1 LIUs
§ Supports Long- and Short-Haul Trunks
§ Internal Software-Selectable Receive-Side
Termination for 75W/100W/120W
§ 3.3V Power Supply
§ 32-Bit or 128-Bit Crystal-Less Jitter Attenuator
Requires Only a 2.048MHz Master Clock for E1
and T1, with the 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
§ JTAG Boundary Scan Test Port per IEEE 1149.1
§ Meets Latest E1 and T1 Specifications Including
ANSI.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, TBR12, TBR13, and CTR4
ORDERING INFORMATION
PART TEMP RANGE
DS21448 0°C to +70°C 3.3 144 BGA
DS21448N -40°C to +85°C 3.3 144 BGA
DS21448L 0°C to +70°C 3.3 128 LQFP
DS21448LN -40°C to +85°C 3.3 128 LQFP
Pin Configurations appear in Section 11.
Transmit Current Limiter
RMS
VOLTAGE
(V)
PINPACKAGE
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
4.3.3 Control Registers ..................................................................................................................................19
5. STATUS REGISTERS..................................................................................................................23
6.2.2 Local Loopback (LLB) ...........................................................................................................................31
6.2.3 Analog Loopback (LLB) ........................................................................................................................31
Table 13-D. Theta-JA (qJA) vs. Airflow—LQFP........................................................................................60
4 of 60
1. BLOCK DIAGRAMS
H
K
T
K
SDI
WR
(R/
W
)
RD(DS
)
(
S)
A0 TO A4
(
)
K
RECEIVE PATH)
K
Figure 1-1. Block Diagram
DS21448 3.3V T1/E1/J1 Quad Line Interface
RRING
RTIP
TRING
TTIP
CHANNEL 4
CHANNEL 3
CHANNEL 2
CHANNEL 1
2
OPTIONAL
TERMINANATION
DD
SS
V
V
2
POWER
CONNECTIONS
ANALOG LOOPBACK
VSM
FILTER
UNFRAMED
ALL-ONES
INSERTION
LINE DRIVERS
PEAK DETECT
CSU FILERS
VCO/PLL
RECOVERY
CLOCK/DATA
WAVESHAPING
JACLK
TYPICAL OF ALL FOUR CHANNELS
MCLK
MUX
JITTER
ATTENUATOR
DUAL MODE
n
2.048MHz TO
1.544MHz PLL
16.384MHz OR
8.192MHz OR
4.096MHz OR
2.048MHz
SYNTHESIZER
MUX
See Figure 1-2
REMOTE LOOPBAC
BPCLK
RPOS
RCLK
RNEG
PBEO
REMOTE LOOPBACK
JITTER ATTENUATION
LOCAL LOOPBAC
(CAN BE PLACED IN EITHER TRANSM IT OR
MUX
See Figure 1-3
RCL/LOTC
TPOS
TCLK
TNEG
Dallas
RST
TXDIS/TEST
BIS0
MUX (THE SERIAL, PARALLEL, AND HARDWARE INTERFACES
SERIAL
INTERFACE
SHARE DEVICE PINS)
PARALLEL INTERFACE
8
5
SCL
SDO
PBTS
A
ALE
CONTROL AND
(ROUTED TO
ALL BLOCKS)
CS
IN
CONTROL AND TEST
PORT (ROUTED TO
ALL BLOCKS)
JTAG PORT
JTMS
JRST
JTDI
JTCL
JTDO
Semiconductor
DS21448
D0 TO D7/AD0
TO AD7
5 of 60
Figure 1-2. Receive Logic Detail
A
K
A
A
DS21448 3.3V T1/E1/J1 Quad Line Interface
CLOCK
INVERT
FROM
REMOTE
LOOPBACK
ROUTED TO
LL BLOCKS
4 OR 8 ZERO DETECT
16 ZERO DETECT
RIR1.7 RIR1.6
CCR2.0
B8ZS/HDB3
DECODER
CCR2.3
CCR6.2/
CCR6.0/
CCR6.1
Figure 1-3. Transmit Logic Detail
CCR1.6
RIR1.5
ALL-ONES
DETECTOR
NRZ DATA
BPV/CV/EXZ
LOOP CODE
DETECTOR
SR.6 SR.7SR.4 RIR1.3
CCR3.3
PRBS
DETECTOR
SR.0
CCR1.4
CCR3.4
MUX
16-BIT ERROR
COUNTER (ECR)
MUX
CCR1.6
CCR6.0
RCLK
RPOS
RNEG
PBEO
TO REMOTE
LOOPBAC
CCR3.1
BPV
INSERT
ROUTED TO
LL BLOCKS
OR
GATE
MUX
MUX
CCR1.1
CCR2.2
CCR3.0
PRBS
GENERATOR
MUX
1
B8ZS/
HDB3
CODER
LOGIC
ERROR
INSERT
0
0
1
RCLK
MUX
OR
GATE
CCR1.2
0
1
ND
GATE
CCR1.0
TO LOTC OUTPUT PIN
JACLK
(FROM MCLK)
LOSS-OF-TRANSMIT
CLOCK DETECT
LOOP CODE
GENERATOR
SR.5
OR
GATE
CLOCK
INVERT
CCR2.1
TPOS
TNEG
TCLK
6 of 60
DS21448 3.3V T1/E1/J1 Quad Line Interface
2. PIN DESCRIPTION
The DS21448 can be controlled in parallel port mode, serial port mode, or hardware mode. The bus interface select
bits 0 and 1 (BIS0, BIS1) determine the device mode and pin assignments (Table 2-A
Table 2-A. Bus Interface Selection
BIS1 BIS0 BUS INTERFACE TYPE
0 0 Parallel Port Mode (multiplexed)
0 1 Parallel Port Mode (nonmultiplexed)
1 0 Serial Port Mode
1 1 Hardware Mode
Table 2-B. Pin Assignments
PIN
BGA LQFP
J3 18 I
D3 57 I
D10 84 I
K10 114 I
J2 91 I
H1 92 I
K2 95 I ALE (AS) N/A SCLKE
J1 35 I N/A SCLK L2
K3 36 I N/A SDI L1
K1 62 I/O A4 SDO L0
L1 63 I A3 ICES DJA
B3 9 O TRING1 TRING1 TRING1
B6 41 O TRING2 TRING2 TRING2
B9 74 O TRING3 TRING3 TRING3
B12 105 O TRING4 TRING4 TRING4
K4 10 O RPOS1 RPOS1 RPOS1
E1 12 O RPOS2 RPOS2 RPOS2
D11 14 O RPOS3 RPOS3 RPOS3
K11 16 O RPOS4 RPOS4 RPOS4
G2 11 O RNEG1 RNEG1 RNEG1
E2 13 O RNEG2 RNEG2 RNEG2
F11 15 O RNEG3 RNEG3 RNEG3
M10 25 O RNEG4 RNEG4 RNEG4
H3 127 O RCLK1 RCLK1 RCLK1
F1 31 O RCLK2 RCLK2 RCLK2
E11 58 O RCLK3 RCLK3 RCLK3
L11 96 O RCLK4 RCLK4 RCLK4
G1 26 I TPOS1 TPOS1 TPOS1
F2 30 I TPOS2 TPOS2 TPOS2
E12 33 I TPOS3 TPOS3 TPOS3
M11 55 I TPOS4 TPOS4 TPOS4
H2 27 I TNEG1 TNEG1 TNEG1
M1 32 I TNEG2 TNEG2 TNEG2
D12 34 I TNEG3 TNEG3 TNEG3
K12 59 I TNEG4 TNEG4 TNEG4
M2 17 I TCLK1 TCLK1 TCLK1
L2 43 I TCLK2 TCLK2 TCLK2
F12 83 I TCLK3 TCLK3 TCLK3
L12 113 I TCLK4 TCLK4 TCLK4
M12 108 I PBTS N/A RT0
L3 42 I JTRST JTRST JTRST
M3 48 I JTMS JTMS JTMS
M5 44 I JTCLK JTCLK JTCLK
M6 45 I JTDI JTDI JTDI
M7 46 O JTDO JTDO JTDO
Note 1: The VSM signal is not available with the BGA package option.
Note 2: The LQFP no-connect pin numbers are 4, 5, 37, 67, 69, 70, and 99–101.
Note 3: The BGA no-connect pin numbers are A3, A6, A9, A12, B1, B4, B7, B10, C1–C12, E5–E8, F5–F8, G4–G8, G10, H5–H8, J11, J12, K6,
and L4.
I/O PARALLEL PORT MODE SERIAL PORT MODE HARDWARE MODE
Read Input (Data Strobe). RD and DS are active-low signals. DS is active low when in
RD (DS)
WR (R/W)
ALE (AS) I
A4–A0 I
D7/AD7–D0/AD0 I/O
INT
TXDIS/TEST I
HRST
MCLK I
BIS0/BIS1 I Bus Interface Select Bit 0 and 1. Used to select bus interface option. See Table 2-A for details.
PBTS I
CS1–CS4
PBEO1–PBEO4 O
RCL1/LOTC1–
RCL4/LOTC4
RTIP1–RTIP4 I
RRING1–RRING4 I
BPCLK1–BPCLK4 O
TTIP1–TTIP4 O
TRING1–TRING4 O
RPOS1–RPOS4 O
RNEG1–RNEG4 O
I
nonmultiplexed, Motorola mode. See the bus timing diagrams in Section 10
I
Write Input (Read/Write). WR is an active-low signal. See the bus timing diagrams in Section 10.
Address Latch Enable (Address Strobe). When using multiplexed bus mode (BIS0 = 0), this pin
serves to demultiplex the bus on a positive-going edge. In nonmultiplexed bus mode (BIS0 = 1),
ALE should be wired low.
Address Bus. In nonmultiplexed bus operation (BIS0 = 1), these pins serve as the address bus.
In multiplexed bus operation (BIS0 = 0), these pins are not used and should be wired low.
Data Bus/Address/Data Bus. In nonmultiplexed bus operation (BIS0 = 1), these pins serve as the
data bus. In multiplexed bus operation (BIS0 = 0), these pins serve as an 8-bit multiplexed
address/data bus.
Interrupt (INT). The interrupt flags the host controller during conditions and change of conditions
O
defined in the status register. It is an active-low, open-drain output.
Tri-State Control, Multifunctional. Set this pin high, with all CS1–CS4 inputs inactive, to tri-state
TTIP1–TTIP4 and TRING1–TRING4. Set this pin high with any of the CS1–CS4 inputs active to
tri-state all outputs and I/O pins (including the parallel control port). Set low for normal operation.
Hardware Reset. Bringing HRST low resets the DS21448, setting all control bits to the all-zeros
I
default state.
Master 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 (Note 1).
Parallel Bus Type Select. When using the parallel port, set PBTS 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.
Chip Select 1. Must be low to read or write to channel 1 of the device. CS1 is an active-low
signal.
Chip Select 2. Must be low to read or write to channel 2 of the device. CS2 is an active-low
signal.
I
Chip Select 3. Must be low to read or write to channel 3 of the device. CS3 is an active-low
signal.
Chip Select 4. Must be low to read or write to channel 4 of the device. CS4 is an active-low
signal.
PRBS Bit-Error Output. The receiver constantly searches for a 215 - 1 (E1) or a QRSS (T1)
PRBS, depending on the ETS bit setting (CCR1.7). It remains high if it is out of synchronization
with the PRBS pattern. It goes low when synchronized to the PRBS pattern. Any errors in the
received pattern after synchronization 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 logic 1.
Receive Carrier Loss/Loss-of-Transmit Clock. An output that toggles high during a receive carrier
O
loss (CCR2.7 = 0) or toggles high if the TCLK pin has not been toggled for 5ms ± 2ms (CCR2.7 =
1). CCR2.7 defaults to logic 0 when in hardware mode.
Receive Tip and Ring. Analog inputs for clock recovery circuitry. These pins connect through a
1:1 transformer to the line. See Section 7 for details.
Backplane Clock. A 16.384MHz, 8.192MHz, 4.096MHz, or 2.048MHz clock output that is
referenced to RCLK selectable through CCR5.7 and CCR5.6.
Transmit Tip and Ring. Analog line-driver outputs. These pins connect through a step-up
transformer to the line. See Section 7 for details.
Receive Positive Data. These bits are 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 1
for NRZ applications. In NRZ mode, data is output on RPOS, and a received error (BPV, CV, or
EXZ) causes a positive-going pulse synchronous with RCLK at RNEG.
Receive 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 1 for NRZ
applications. In NRZ mode, data is output on RPOS, and a received error (BPV, CV, or EXZ)
causes a positive-going pulse synchronous with RCLK at RNEG.
.
9 of 60
DS21448 3.3V T1/E1/J1 Quad Line Interface
PIN I/O FUNCTION
RCLK1–RCLK4 O
TPOS1–TPOS4 I
TNEG1–TNEG4 I
TCLK1–TCLK4 I
JTRST I JTAG Reset
JTMS I JTAG Mode Select
JTCLK I JTAG Clock
JTDI I JTAG Data In
JTDO O JTAG Data Out
VSM I Voltage Supply Mode (LQFP only). Should be wired low for correct operation.
Receive Clock. Buffered recovered clock from the line. Synchronous to MCLK in absence of
signal at RTIP and RRING.
Transmit 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.
Transmit 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.
Transmit Clock. A 2.048MHz or 1.544MHz primary clock. It is used to clock data through the
transmit-side formatter. It can be sourced internally by MCLK or RCLK. See Common Control
Register 1 and Figure 1-3
.
Table 2-D. Serial Interface Mode Pin Description
PIN I/O FUNCTION
Interrupt (INT). Flags host controller during conditions and change of conditions defined in the
INT
TXDIS/TEST I
HRST
MCLK I
BIS0/BIS1 I Bus Interface Select Bit 0 and 1. Used to select bus interface option. See Table 2-A for details.
CS1
CS2
CS3
CS4
ICES I
OCES I
SCLK I Serial Clock. Serial interface clock.
SDI I Serial Data Input. Serial interface data input.
SDO O Serial Data Output. Serial interface data output.
PBEO1–PBEO4 O
RCL1/LOTC1–
RCL4/LOTC4
RTIP1–RTIP4
RRING1–RRING4
I/O
status register. Active-low, open-drain output.
Tri-State Control, Multifunctional. Set this pin high with all CS1–CS4 inputs inactive to tri-state
TTIP1–TTIP4 and TRING1–TRING4. Set this pin high with any of the CS1–CS4 inputs active to
tri-state all outputs and I/O pins (including the parallel control port). Set low for normal operation.
Hardware Reset. Bringing HRST low resets the DS21448, setting all control bits to the all-zeros
I
default state.
Master 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. A T1 1.544MHz
clock source is optional (Note 1).
Chip Select 1. Must be low to read or write to channel 1 of the device. CS1 is an active-low
I
signal.
Chip Select 2. Must be low to read or write to channel 2 of the device. CS2 is an active-low
I
signal.
Chip Select 3. Must be low to read or write to channel 3 of the device. CS3 is an active-low
I
signal.
Chip Select 4. Must be low to read or write to channel 4 of the device. CS4 is an active-low
I
signal.
Input Clock-Edge Select. Selects whether the serial interface data input (SDI) is sampled on the
rising (ICES = 0) or falling edge (ICES = 1) of SCLK.
Output Clock-Edge Select. Selects whether the serial interface data output (SDO) changes on
the rising (OCES = 1) or falling edge (OCES = 0) of SCLK.
PRBS Bit-Error Output. The receiver constantly searches for a 215 - 1 (E1) or a QRSS (T1)
PRBS, depending on the ETS bit setting (CCR1.7). It remains high if it is out of synchronization
with the PRBS pattern. It goes low when synchronized to the PRBS pattern. Any errors in the
received pattern after synchronization 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 logic 1.
Receive Carrier Loss/Loss-of-Transmit Clock. An output that toggles high during a receive carrier
O
loss (CCR2.7 = 0) or toggles high if the TCLK pin has not been toggled for 5ms ± 2ms
(CCR2.7 = 1). CCR2.7 defaults to logic 0 when in hardware mode.
Receive Tip and Ring. Analog inputs for clock recovery circuitry. These pins connect through a
I
1:1 transformer to the line. See Section 7
for details.
10 of 60
PIN I/O FUNCTION
BPCLK1–BPCLK4 O
TTIP1–TTIP4 O
TRING–TRING4 O
RPOS1–RPOS4 O
RNEG1–RNEG4 O
RCLK1–RCLK4 O
TPOS1–TPOS4 I
TNEG1–TNEG4 I
TCLK1–TCLK4 I
JTRST I JTAG Reset
JTMS I JTAG Mode Select
JTCLK I JTAG Clock
JTDI I JTAG Data In
JTDO O JTAG Data Out
VSM I Voltage Supply Mode (LQFP only). VSM should be wired low for correct operation.
TVSS1–TVSS4 — Transmitter Signal Ground for Transmitter Outputs
VSS1–VSS4 — Signal Ground
Backplane Clock. A 16.384MHz, 8.192MHz, 4.096MHz, or 2.048MHz clock output that is
referenced to RCLK selectable through CCR5.7 and CCR5.6.
Transmit Tip and Ring. Analog line-driver outputs. These pins connect through a step-up
transformer to the line. See Section 7
Receive 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 1 for NRZ applications.
In NRZ mode, data is output on RPOS, and a received error (BPV, CV, or EXZ) causes a
positive-going pulse synchronous with RCLK at RNEG.
Receive 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 1 for NRZ
applications. In NRZ mode, data is output on RPOS, and a received error (BPV, CV, or EXZ)
causes a positive-going pulse synchronous with RCLK at RNEG.
Receive Clock. Buffered recovered clock from the line. Synchronous to MCLK in absence of
signal at RTIP and RRING.
Transmit 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.
Transmit 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.
Transmit Clock. A 2.048MHz or 1.544MHz primary clock used to clock data through the transmit
side formatter. They can be sourced internally by MCLK or RCLK. See Common Control Register
1 and Figure 1-3.
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 the
device receives a BPV, CV, or EXZ.
Receive and Transmit Synchronization Clock Enable. SCLKE combines RSCLKE (CCR5.3) and
TSCLKE (CCR5.2).
0 = disable 2.048MHz synchronization transmit and receive mode
1 = enable 2.048MHz synchronization transmit and receive mode
Disable Jitter Attenuator
0 = jitter attenuator enabled
1 = jitter attenuator disabled
Jitter Attenuator Clock Mux. Controls the source for JACLK.
0 = JACLK sourced from MCLK (2.048MHz or 1.544MHz at MCLK).
1 = JACLK sourced from internal PLL (2.048 MHz at MCLK).
Jitter Attenuator Path Select
0 = place the jitter attenuator on the receive side
1 = place the jitter attenuator on the transmit side
Receive and Transmit HDB3/B8ZS Enable. HBE combines RHBE (CCR2.3) and THBE
(CCR2.2).
0 = enable HDB3 (E1)/B8ZS (T1)
1 = disable HDB3 (E1)/B8ZS (T1)
Line Build-Out Select Bits 0,1, and 2. These pins set the transmitter build-out; see (Table 7-A
(E1) and Table 7-B
(T1).
DS21448 3.3V T1/E1/J1 Quad Line Interface
11 of 60
DS21448 3.3V T1/E1/J1 Quad Line Interface
PIN I/O FUNCTION
Receive and Transmit Clock Select. Selects which RCLK edge to update RPOS and RNEG and
CES I
TPD I
TX0/TX1 I
LOOP0/LOOP1 I Loopback Select Bits 0 and 1. These inputs determine the active loopback mode (Table 4-A).
MM0/MM1 I
RT1/RT0 I
TEST I
HRST
MCLK I
BIS0/BIS1 I Bus Interface Select Bit 0 and 1. Used to select bus interface option (Table 2-A).
EGL1–EGL4 I
PBEO1–PBEO4 O
RCL1–RCL4 O Receive Carrier Loss. An output that toggles high during a receive carrier loss.
RTIP1–RTIP4 I
RRING1–RRING4 I
BPCLK1–BPCLK4 O Backplane Clock. A 16.384MHz clock output that is referenced to RCLK.
TTIP1–TTIP4
TRING1–TRING4
RPOS1–RPOS4 O
RNEG1–RNEG4 O
RCLK1–RCLK4 O
TPOS1–TPOS4 I
TNEG1–TNEG4 I
TCLK1–TCLK4 I
JTRST I JTAG Reset
JTMS I JTAG Mode Select
JTCLK I JTAG Clock
JTDI I JTAG Data In
JTDO O JTAG Data Out
VSM I Voltage Supply Mode (LQFP only). VSM should be wired low for correct operation.
which TCLK edge to sample TPOS and TNEG. CES combines TCES and RCES.
0 = update RPOS/RNEG on rising edge of RCLK; sample TPOS/TNEG on falling edge of TCLK
1 = update RPOS/RNEG on falling edge of RCLK; sample TPOS/TNEG on rising edge of TCLK
Transmit Power-Down
0 = normal transmitter operation
1 = powers down the transmitter and tri-states TTIP and TRING pins
Transmit Data Source Select Bits 0 and 1. These inputs determine the source of the transmit
).
).
).
).
15
- 1 PRBS (ETS = 0) or a
for details.
for details.
.
data (Table 4-B
Monitor Mode Select Bits 0 and 1. These inputs determine if the receive equalizer is in a monitor
mode (Table 4-D
Receive LIU Termination Select Bits 0 and 1. These inputs determine the receive termination
(Table 4-E
Tri-State Control. Set high to tri-state all outputs and I/O pins (including the parallel control port).
Set low for normal operation. Useful in board-level testing.
Hardware Reset. Bringing HRST low resets the DS21448, setting all control bits to the all-zero
I
default state.
Master 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. A T1 1.544MHz
clock source is optional (Note 1). See Table 4-F for details.
Receive Equalizer Gain-Limit Select. These bits control the sensitivity of the receive equalizers
(Table 4-C
PRBS Bit-Error Output. The receiver constantly searches for a 2
QRSS PRBS (ETS = 1). The pattern is chosen automatically by the value of the ETS pin. It
remains high if it is out of synchronization with the PRBS pattern. It goes low when synchronized
to the PRBS pattern. Any errors in the received pattern after synchronization cause a positivegoing pulse (with same period as E1 or T1 clock) synchronous with RCLK.
Receive Tip and Ring. Analog inputs for clock recovery circuitry. These pins connect through a
1:1 transformer to the line. See Section 7
Transmit Tip and Ring. Analog line-driver outputs. These pins connect through a step-up
O
transformer to the line. See Section 7
Receive Positive Data. Updated on the rising edge (CES = 0) or the falling edge (CES = 1) of
RCLK with bipolar data out of the line interface. In NRZ mode (NRZE = 1), data is output on
RPOS, and a received error (BPV, CV, or EXZ) causes a positive-going pulse synchronous with
RCLK at RNEG.
Receive Negative Data. Updated on the rising edge (CES = 0) or the falling edge (CES = 1) of
RCLK with bipolar data out of the line interface. In NRZ mode (NRZE = 1), data is output on
RPOS, and a received error (BPV, CV, or EXZ) causes a positive-going pulse synchronous with
RCLK at RNEG.
Receive Clock. Buffered recovered clock from the line. Synchronous to MCLK in absence of
signal at RTIP and RRING.
Transmit Positive Data. Sampled on the falling edge (CES = 0) or the rising edge (CES = 1) of
TCLK for data to be transmitted out onto the line.
Transmit Negative Data. Sampled on the falling edge (CES = 0) or the rising edge (CES = 1) of
TCLK for data to be transmitted out onto the line.
Transmit Clock. A 2.048MHz or 1.544MHz primary clock used to clock data through the transmit
side formatter. It can be sourced internally by MCLK or RCLK. See Common Control Register 1
and Figure 1-3
12 of 60
DS21448 3.3V T1/E1/J1 Quad Line Interface
PIN I/O FUNCTION
TVSS1–TVSS4 — Transmitter Signal Ground for Transmitter Outputs
VSS1–VSS4 — Signal Ground
Note 1: G.703 requires an accuracy of ±50ppm for T1 and E1. TR62411 and ANSI specs require ±32ppm accuracy for T1 interfaces.
3. DETAILED DESCRIPTION
The DS21448 contains four independent LIUs that share a common interface for configuration and status. The user
can choose between three different means of accessing the device: a parallel microprocessor interface, a serial
interface, and a hardwired mode, which configures the device by setting levels on the device’s pins. The
DS21448’s four chip selects (
CS1, CS2, CS3, and CS4) determine which LIU is accessed when using the parallel
or serial interface modes. Four sets of identical register maps exist, one for each channel. Using the appropriate
chip select accesses a channel’s register map.
The analog AMI/HDB3 waveform off the E1 line or the AMI/B8ZS waveform off the T1 line is transformer-coupled
into the RTIP and RRING pins of the DS21448. The user has the option to use internal termination, software
selectable for 75W/100W/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 DS21448 contains an active filter that reconstructs the analogreceived 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 0 to -43dB for E1 and 0 to -36dB for T1
that 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 through the jitter attenuation mux to the waveshaping circuitry and line driver. The
DS21448 drives the E1 or T1 line from the TTIP and TRING pins through 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 DS21448 and DS21Q348 Differences
The DS21448 BGA is a monolithic quad-port LIU that is a replacement for the DS21Q348. The additional features
of JTAG, transmit driver disable, and the serial interface in the DS21448 have changed the function of several pins,
as shown in Table 3-A
The DS21448 supports a hardware configuration mode that allows the user to configure the device by setting levels
on the device’s pins. This mode allows the DS21448 configuration without the use of a microprocessor, simplifying
designs. Not all of the device features are supported in the hardware mode.
In hardware mode (BIS0 = 1, BIS1 = 1) several pins have been redefined so they can be used for initializing the
DS21448. Refer to Table 2-B
and Table 2-E for pin assignment and definition. Because of limited pin count, several
13 of 60
DS21448 3.3V T1/E1/J1 Quad Line Interface
functions have been combined and affect all four channels in the device and/or treat the receive and transmit paths
as one block. Restrictions when using the hardware mode include the following:
· BPCLK pins only output a 16.384MHz signal.
· The RCL/LOTC pins are designated to RCL.
· The RHBE and THBE control bits are combined and controlled by HBE.
· RSCLKE and TSCLKE bits are combined and controlled by SCLKE.
· TCES and RCES are combined and controlled by CES.
· The transmitter functions are combined and controlled by TX1 and TX0.
· Loopback functions are controlled by LOOP1 and LOOP0.
· JABDS defaults to 128-bit buffer depth.
· All other control bits default to logic 0.
Table 4-A. Loopback Control in Hardware Mode
LOOPBACK SYMBOL LOOP1 LOOP0
Remote Loopback RLB 1 1
Local Loopback LLB 1 0
Analog Loopback ALB 0 1
No Loopback — 0 0
Table 4-B. Transmit Data Control in Hardware Mode
TRANSMIT DATA SYMBOL TX1 TX0
Unframed All Ones TUA1 1 1
Alternating Ones and Zeros TAOZ 1 0
TPOS and TNEG — 0 0
PRBS
TPRBSE
0 1
Table 4-C. Receive Sensitivity Settings in Hardware Mode
Setting BIS1 = 1 and BIS0 = 0 enables the serial bus interface on the DS21448 (Table 2-A). Serial port read/write
timing is unrelated to the system transmit and receive timing, allowing asynchronous reads or writes by the host.
See Section 10
Figure 4-2
for the AC timing of the serial port. All serial port accesses are LSB first. See Figure 4-1,
, Figure 4-3, Figure 4-4, Figure 4-5, and Figure 4-6 for additional details.
A serial bus access requires the use of four signals: serial clock (SCLK), one of the four chip selects (
CS), serial
data input (SDI), and serial data output (SDO). The DS21448 uses SCLK to sample data that is present on SDI and
output data onto SDO. Input clock-edge select (ICES) allows the user to choose which SCLK edge input data is
sampled on. Output clock-edge select (OCES) allows the user to choose which SCLK edge output data changes
on. When 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 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 of SCLK.
All data transfers are initiated by driving the appropriate port’s
must go inactive between data transfers. See the serial bus timing information in Section 10
transfers are terminated if the port’s
when all
CS pins are inactive.
CS input transitions high. Port control logic is disabled, and SDO is tri-stated
CS input low and ends with CS going inactive. CS
for details. All data
Reading from or writing to the internal registers requires writing one address/command byte prior to the transferring
register data. Two types of serial bus transfers exist, standard and burst. The standard serial bus access always
consists of two bytes, an address/command byte that is always supplied by the user on SDI, and a data byte that
can either be written to the DS21448 using SDI (write operation) or output by the DS21448 on SDO (read
operation). The burst serial bus access consists of a single address/command byte followed either by 22 read or 22
write data bytes.
The first bit written (LSB) of the address/command byte specifies whether the access is to be a read (1) or a write
(0). The next 5 bits identify the register address. Valid register addresses are 00h through 15h. Bit 7 is reserved
and must be set to 0 for proper operation. Bit 8, the last bit (MSB) of the address/command byte, is the burst modeenable bit. When the burst bit is enabled (set to 0) and a READ operation is performed, the DS21448 automatically
outputs the contents of registers 00h through 15h sequentially, starting with register address 00h. When the burst
bit is enabled and a WRITE operation is performed, data supplied on SDI is sequentially written into the DS21448’s
register space starting at address 00h. Burst operation is stopped once address 15h is read or
CS goes inactive.
For both burst read and burst write transfers, the address/command byte’s register address bits must be set to 0.
The user can broadcast register write accesses to multiple ports simultaneously by enabling the desired channels’
chip selects at the same time. However, only one port can be read at a time. Any attempt to read multiple ports
simultaneously results in invalid data being returned on SDO.
Figure 4-1. Serial Port Operation for Read Access (R = 1) Mode 1
ICES = 1 (SAMPLE SDI ON THE FALLING EDGE OF SCLK)
OCES = 1 (UPDATE SDO ON RISING EDGE OF SCLK)
SCLK
12345678910111213141516
S
SDI
(LSB)
SDO
A1A2A3A4A50B
1
READ ACCESS ENABLED
(MSB)
D0
D1D2D3D4D5D6
LSB
D7
(MSB)
15 of 60
DS21448 3.3V T1/E1/J1 Quad Line Interface
C
(
)
C
C
Figure 4-2. Serial Port Operation for Read Access (R = 1) Mode 2
ICES = 1 (SAMPLE SDI ON THE FALLING EDGE OF SCLK)
OCES = 0 (UPDATE SDO ON FALLING EDGE OF SCLK)
SCLK
12345678910111213141516
S
SDI
SDO
A1A2A3A4A50B
1
(LSB)
(MSB)
D1D2D3D4D5D6
D0
LSB
Figure 4-3. Serial Port Operation for Read Access (R = 1) Mode 3
ICES = 0 (SAMPLE SDI ON THE RISING EDGE OF SCLK)
OCES = 0 (UPDATE SDO ON FALLING EDGE OF SCLK)
SCLK
12345678910111213141516
S
SDI
(LSB)
SDO
A1A2A3A4A50B
1
(MSB)
D1D2D3D4D5D6
D0
(LSB)
Figure 4-4. Serial Port Operation for Read Access (R = 1) Mode 4
ICES = 0 (SAMPLE SDI ON THE RISING EDGE OF SCLK)
OCES = 1 (UPDATE SDO ON RISING EDGE OF SCLK)
SCLK
SDI
SDO
12345678910111213141516
S
A1A2A3A4A5
1
(LSB)(MSB)
B
0
D1D2D3D4D5D6D0D7
(LSB)
D7
(MSB)
D7
(MSB)
(MSB)
16 of 60
DS21448 3.3V T1/E1/J1 Quad Line Interface
C
C
)
Figure 4-5. Serial Port Operation for Write Access (R = 0) Modes 1 and 2
ICES = 1 (SAMPLE SDI ON THE FALLING EDGE OF SCLK)
12345678910111213141516SCLK
S
SDI
(LSB)
WRITE ACCESS ENABLED
SDO
A1A2A3A4A50B
0
(MSB)
DO D6
D1D2D3 D4 D5D7
(LSB)
(MSB)
Figure 4-6. Serial Port Operation for Write Access (R = 0) Modes 3 and 4
ICES = 0 (SAMPLE SDI ON THE RISING EDGE OF SCLK
12345678910111213141516SCLK
S
SDI
(LSB)
A1A2A3A4A50B
0
(MSB)
DO D6
D1D2D3 D4 D5D7
(LSB)(MSB)
WRITE ACCESS ENABLED
SDO
4.3 Parallel Port Operation
The option for either multiplexed bus operation (BIS0 = 0) or nonmultiplexed bus operation (BIS0 = 1) is available
when using the parallel interface. The DS21448 can operate with either Intel or Motorola bus timing configurations.
If the PBTS pin is wired low, Intel timing is selected; if wired high, Motorola timing is selected. All Motorola bus
signals are listed in parentheses (). Four sets of identical register maps exist, one for each channel. See Table 4-H
for register names and addresses. Use the appropriate chip select (
register map. See the timing diagrams in Section 10
for more details. Hardware and serial port modes are not
CS1, CS2, CS3, or CS4) to access a channel’s
supported when using parallel port operation.
4.3.1 Device Power-Up and Reset
The DS21448 resets itself upon power-up, setting all writeable registers to 00h and clearing the status and
information registers. CCR3.7 (TUA1) = 0 results in the LIU transmitting unframed all ones. After the power
supplies have settled, initialize all control registers to the desired settings, then toggle the LIRST bit (CCR3.2). The
DS21448 can at any time be reset to the default settings by bringing
down and powering up again.
HRST low (level triggered) or by powering
17 of 60
DS21448 3.3V T1/E1/J1 Quad Line Interface
Table 4-G. Parallel Port Mode Selection
PBTS BIS0 PROCESSOR BUS INTERFACE TYPE
0 0 Intel Parallel Port Mode (Multiplexed)
0 1 Intel Parallel Port Mode (Nonmultiplexed)
1 0 Motorola Parallel Port Mode (Multiplexed)
1 1 Motorola Parallel Port Mode (Nonmultiplexed)
4.3.2 Register Map
Table 4-H shows the typical register map for all four ports. Use the appropriate chip select (CS1, CS2, CS3, or CS4)
to access a channel’s register map.
Table 4-H. Register Map
NAME R/W ADDRESS FUNCTION
CCR1 R/W 00h Common Control Register 1
CCR2 R/W 01h Common Control Register 2
CCR3 R/W 02h Common Control Register 3
CCR4 R/W 03h Common Control Register 4
CCR5 R/W 04h Common Control Register 5
CCR6 R/W 05h Common Control Register 6
SR R 06h Status Register
IMR R/W 07h Interrupt Mask Register
RIR1 R 08h Receive Information Register 1
RIR2 R 09h Receive Information Register 2
IBCC R/W 0Ah In-Band Code Control Register