dallas semiconductor DS2148, DS21Q48 service manual

查询DS2148供应商
www.maxim-ic.com
DS2148/DS21Q48
5V E1/T1/J1 Line Interface
FEATURES
§ Complete E1, T1, or J1 line interface unit (LIU)
§ Supports both long- and short-haul trunks
§ Internal software-selectable receive-side
§ 5V power supply
§ 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
§ Multiplexed and nonmultiplexed 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
7mm CABGA
ORDERING INFORMATION
Single-Channel Devices:
DS2148TN 44-Pin TQFP (-40°C to +85°C) DS2148T 44-Pin TQFP (0o C to +70o C) DS2148GN 7mm CABGA (-40°C to +85°C) DS2148G 7mm CABGA (0
Four-Channel Devices:
DS21Q48N (Quad) BGA (-40°C to +85°C) DS21Q48 (Quad) BGA (0o C to +70oC)
o
C to +70o C)
1 of 75 REV: 082504
DS2148/Q48
DESCRIPTION
The DS2148 is a complete selectable E1 or T1 Line Interface Unit (LIU) for short- 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 12dB 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 DS2148 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 75
DS2148/Q48
TABLE OF CONTENTS
1. LIST OF FIGURES............................................................................................................................... 4
2. LIST OF TABLES ................................................................................................................................ 5
3. INTRODUCTION................................................................................................................................. 6
3.1 DOCUMENT REVISION HISTORY ............................................................................................6
4. PIN DESCRIPTION ............................................................................................................................. 9
5. HARDWARE MODE ......................................................................................................................... 22
5.1 REGISTER MAP .......................................................................................................................... 23
5.2 PARALLEL PORT OPERATION................................................................................................ 24
5.3 SERIAL PORT OPERATION ...................................................................................................... 24
6. CONTROL REGISTERS.................................................................................................................... 28
6.1 DEVICE POWER-UP AND RESET ............................................................................................ 31
7 STATUS REGISTERS ....................................................................................................................... 34
8. DIAGNOSTICS .................................................................................................................................. 39
8.1 IN-BAND LOOP CODE GENERATION AND DETECTION ...................................................39
8.2 LOOPBACKS ............................................................................................................................... 43
8.2.1 Remote Loopback (RLB)......................................................................................................... 43
8.2.2 Local Loopback (LLB)............................................................................................................ 43
8.2.3 Analog Loopback (LLB) ......................................................................................................... 44
8.2.4 Dual Loopback (DLB) ............................................................................................................ 44
8.3 PRBS GENERATION AND DETECTION ................................................................................. 44
8.4 ERROR COUNTER...................................................................................................................... 44
8.4.1 Error Counter Update ............................................................................................................45
8.5 ERROR INSERTION.................................................................................................................... 45
9. ANALOG INTERFACE .....................................................................................................................46
9.1 RECEIVER .................................................................................................................................... 46
9.2 TRANSMITTER ........................................................................................................................... 47
9.3 JITTER ATTENUATOR ..............................................................................................................47
9.4 G.703 SYNCHRONIZATION SIGNAL ......................................................................................48
10. DS21Q48 QUAD LIU......................................................................................................................... 56
11. DC CHARACTERISTICS.................................................................................................................. 60
12. AC CHARACTERISTICS.................................................................................................................. 62
13. MECHANICAL DIMENSIONS......................................................................................................... 71
13.1 MECHANICAL DIMENSIONS—QUAD VERSION................................................................. 73
3 of 75
DS2148/Q48
1. LIST OF FIGURES
Figure 3-1 DS2148 BLOCK DIAGRAM..................................................................................................... 7
Figure 3-2 RECEIVE LOGIC ...................................................................................................................... 8
Figure 3-3 TRANSMIT LOGIC................................................................................................................... 9
Figure 4-1 PARALLEL PORT MODE PINOUT (BIS1 = 0, BIS0 = 1 or 0) ............................................ 21
Figure 4-2 SERIAL PORT MODE PINOUT (BIS1 = 1, BIS0 = 0) .......................................................... 21
Figure 4-3 HARDWARE MODE PINOUT (BIS1 = 1, BIS0 = 1) ............................................................ 22
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 ………………………………………………………………………..50
Figure 9-2 PROTECTED INTERFACE USING INTERNAL RECEIVE TERMINATION.................... 51
Figure 9-3 PROTECTED INTERFACE USING EXTERNAL RECEIVE TERMINATION .................. 52
Figure 9-4 E1 TRANSMIT PULSE TEMPLATE...................................................................................... 53
Figure 9-5 T1 TRANSMIT PULSE TEMPLATE...................................................................................... 54
Figure 9-6 JITTER TOLERANCE............................................................................................................. 55
Figure 9-7 JITTER ATTENUATION ........................................................................................................ 55
Figure 10-1 BGA 12 x 12 PIN LAYOUT .................................................................................................. 59
Figure 12-1 INTEL BUS READ TIMING (PBTS = 0, BIS1 = 0, BIS0 = 0) ............................................ 63
Figure 12-2 INTEL BUS WRITE TIMING (PBTS = 0, BIS1 = 0, BIS0 = 0)........................................... 63
Figure 12-3 MOTOROLA BUS TIMING (PBTS = 1, BIS1 = 0, BIS0 = 0) ............................................ 64
Figure 12-4 INTEL BUS READ TIMING (PBTS = 0, BIS1 = 0, BIS0 = 1) ............................................ 66
Figure 12-5 INTEL BUS WRITE TIMING (PBTS = 0, BIS1 = 0, BIS0 = 1)........................................... 66
Figure 12-6 MOTOROLA BUS READ TIMING (PBTS = 1, BIS1 = 0, BIS0 = 1) ................................. 67
Figure 12-7 MOTOROLA BUS WRITE TIMING (PBTS = 1, BIS1 = 0, BIS0 = 1)................................ 67
Figure 12-8 SERIAL BUS TIMING (BIS1 = 1, BIS0 = 0)........................................................................ 68
Figure 12-9 RECEIVE SIDE TIMING ...................................................................................................... 69
Figure 12-10 TRANSMIT SIDE TIMING................................................................................................. 70
4 of 75
DS2148/Q48
2. LIST OF TABLES
Table 4-1 BUS INTERFACE SELECTION ................................................................................................ 9
Table 4-2a PIN ASSIGNMENT ................................................................................................................. 10
Table 4-2b PIN DESCRIPTIONS (Sorted by Pin Name, DS2148T Pin Numbering) ............................... 11
Table 4-3a PIN ASSIGNMENT IN SERIAL PORT MODE..................................................................... 13
Table 4-3b PIN DESCRIPTIONS IN SERIAL PORT MODE (Sorted by Pin Name, DS2148T Pin
Numbering) .......................................................................................................................................... 14
Table 4-4a PIN ASSIGNMENT IN HARDWARE MODE....................................................................... 16
Table 4-4b PIN DESCRIPTIONS IN HARDWARE MODE (Sorted by Pin Name, DS2148T Pin
Numbering) .......................................................................................................................................... 16
Table 4-5 LOOPBACK CONTROL IN HARDWARE MODE ................................................................ 20
Table 4-6 TRANSMIT DATA CONTROL IN HARDWARE MODE ..................................................... 20
Table 4-7 RECEIVE SENSITIVITY SETTINGS...................................................................................... 20
Table 4-8 MONITOR GAIN SETTINGS .................................................................................................. 20
Table 4-9 INTERNAL RX TERMINATION SELECT............................................................................. 20
Table 4-10 MCLK SELECTION................................................................................................................ 20
Table 5-1 REGISTER MAP ....................................................................................................................... 23
Table 6-1 MCLK SELECTION.................................................................................................................. 29
Table 6-2 RECEIVE SENSITIVITY SETTINGS...................................................................................... 31
Table 6-3 BACK PLANE CLOCK SELECT............................................................................................. 32
Table 6-4 MONITOR GAIN SETTINGS .................................................................................................. 32
Table 6-5 INTERNAL RX TERMINATION SELECT............................................................................. 33
Table 7-1 RECEIVED ALARM CRITERIA ............................................................................................. 35
Table 7-2 RECEIVE LEVEL INDICATION............................................................................................. 38
Table 8-1 TRANSMIT CODE LENGTH................................................................................................... 40
Table 8-2 RECEIVE CODE LENGTH ...................................................................................................... 40
Table 8-3 DEFINITION OF RECEIVED ERRORS.................................................................................. 44
Table 8-4 FUNCTION OF ECRS BITS AND RNEG PIN........................................................................ 45
Table 9-1 LINE BUILD OUT SELECT FOR E1 IN REGISTER CCR4 (ETS = 0) ................................. 48
Table 9-2 LINE BUILD OUT SELECT FOR T1 IN REGISTER CCR4 (ETS = 1) ................................. 48
Table 9-3 TRANSFORMER SPECIFICATIONS FOR 5V OPERATION ............................................... 49
Table 10-1 DS21Q48 PIN ASSIGNMENT................................................................................................ 56
5 of 75
DS2148/Q48
3. INTRODUCTION
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 DS2148. The user has the option to use internal software-selectable receive-side termination 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 DS2148 contains an active filter that reconstructs the analog-received signal for the nonlinear losses that occur in transmission. The receive circuitry also is configurable for various monitor applications. The device has a usable receive sensitivity of 0dB to -43dB (E1) and 0dB to -36dB (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 DS2148 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) 100W/60W termination reversed in Internal Rx Termination Select tables, 091799.
2) Add DS21Q48 pinout, 092899.
3) Correct VSM pin number in Q48 (12 x 12 BGA) from G5 to G4, 120699.
4) Add timing diagram for Status Register (write access mode); Add mechanical dimensions for the
quad version, 032900.
5) Timing diagram for Status Register (write access mode) added; elaboration on burst mode bit; add
mechanical dimensions for the quad version, 050300.
6) Changes to datasheet to indicate 5V only part, 011801.
7) Added supply current measurement; added thermal characteristics of quad package, 092001.
8) Corrected typos and removed instances of 3V operation, 082504.
6 of 75
DS2148 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
DS2148/Q48
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
MUX RCL/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 75
RECEIVE LOGIC Figure 3-2
DS2148/Q48
From Remote Loopback
Routed to All Blocks
4 or 8 Zero Detect
16 Zero Detect
RIR1.7 RIR1.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.6 SR.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 75
TRANSMIT LOGIC Figure 3-3
CCR1.6
CCR2.2
OR Gate
mux
1
0
mux
B8ZS/ HDB3 Coder
0
1
RCLK
To Remote Loopback
CCR3.1
BPV Insert
Routed to All Blocks
mux
OR Gate
CCR3.0
Logic Error Insert
0
1
CCR3.3
mux
CCR3.4
PRBS Generator
Loop Code Generator
JACLK (derived from MCLK)
OR Gate
Clock Invert
CCR2.1
DS2148/Q48
TPOS
TNEG
TCLK
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 DS2148 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.
BUS INTERFACE SELECTION Table 4-1
BIS1 BIS0 PBTS BUS INTERFACE TYPE
0 0 0 Muxed Intel 0 0 1 Muxed Motorola 0 1 0 Nonmuxed Intel 0 1 1 Nonmuxed Motorola 1 0 - Serial Port 1 1 - Hardware
9 of 75
PIN ASSIGNMENT IN PARALLEL PORT MODE Table 4-2a
DS2148T
PIN #
1 2 C2 I RD*(DS*) 3 B1 I WR*(R/W*) 4 D2 I ALE(AS) 5 C1 I NA 6 D3 I NA 7 D1 I/O A4 8 E1 I A3
9 F2 I A2 10 F1 I A1 11 G1 I A0 12 E3 I/O D7/AD7 13 F3 I/O D6/AD6 14 G2 I/O D5/AD5 15 F4 I/O D4/AD4 16 G3 I/O D3/AD3 17 E4 I/O D2/AD2 18 G4 I/O D1/AD1 19 F5 I/O D0/AD0 20 G5 I VSM 21 F6 - VDD 22 G6 - VSS 23 E5 I/O INT* 24 E6 O PBEO 25 F7 O RCL/LOTC 26 D6 I TEST 27 D5 I RTIP 28 D7 I RRING 29 C6 I HRST* 30 C7 I MCLK 31 B6 O BPCLK 32 B7 I BIS0 33 A7 I BIS1 34 C5 O TTIP 35 B5 - VSS 36 A6 - VDD 37 B4 O TRING 38 C4 O RPOS 39 A4 O RNEG 40 B3 O RCLK 41 A3 I TPOS 42 B2 I TNEG 43 A2 I TCLK 44 A1 I PBTS
DS2148G
PIN#
I/O Parallel
Port Mode
C3 I CS*
DS2148/Q48
10 of 75
DS2148/Q48
PIN DESCRIPTIONS IN PARALLEL PORT MODE (Sorted by Pin Name, DS2148T Pin Numbering) Table 4-2b
ACRONYM PIN I/O DESCRIPTION
A0
To
A4 ALE (AS)
BIS0/
BIS1
BPCLK 31 O Back Plane Clock. A 16.384MHz, 8.192MHz, 4.096MHz, or
CS* 1 I Chip Select. Must be low to read or write to the device. CS* is an
D0 / AD0
To
D7 / AD7
HRST* 29 I Hardware Reset. Bringing HRST* low will reset the DS2148
INT* 23 O Interrupt [INT*] pin 23. Flags host controller during conditions
MCLK 30 I Master Clock. A 2.048MHz (±50ppm) clock source with TTL
NA
PBEO 24 O PRBS Bit Error Output. The receiver will constantly search for a
PBTS 44 I Parallel Bus Type Select. When using the parallel port (BIS1 = 0),
11
to
7 4 I Address Latch Enable (Address Strobe). When using the parallel
32/
33
19
to
12
- I Not Assigned. Should be tied low.
I Address 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.
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.
I Bus 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.
active low signal.
I/O Data Bus/Address/Data Bus. In non-multiplexed 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.
setting all control bits to their default state of all zeros.
and change of conditions defined in the Status Register. Active low, open drain output.
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 1 on clock accuracy at the end of this table.
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.
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 75
DS2148/Q48
ACRONYM PIN I/O DESCRIPTION
RCLK
40 O Receive Clock. Buffered recovered clock from the line.
Synchronous to MCLK in absence of signal at RTIP and RRING.
RD*
(DS*)
2 I Read Input (Data Strobe). RD* and DS* are active low signals.
DS active low when in nonmultiplexed, Motorola mode. See the Bus Timing Diagrams in Section 12.
RCL/
LOTC
25 O Receive 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 5msec ± 2msec (CCR2.7 = 1). CCR2.7 defaults to logic 0 when in hardware mode.
RNEG
39 O 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 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.
RPOS 38 O 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 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
I Receive 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.
TCLK 43 I Transmit 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.
TEST 26 I 3-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.
TNEG 42 I 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.
TPOS 41 I 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.
TTIP/
TRING
34/
37
O Transmit 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.
VDD
21/
- Positive Supply. 5.0V ±5%
36
VSM 20 I Voltage Supply Mode. Should be tied high for 5V operation
VSS 22/
35
WR*
3 I Write Input (Read/Write). WR* is an active low signal. See the
(R/W*)
-
Signal Ground.
Bus Timing Diagrams in Section 12.
12 of 75
PIN ASSIGNMENT IN SERIAL PORT MODE Table 4-3a
DS2148T
PIN #
1 2 C2 I NA 3 B1 I NA 4 D2 I NA 5 C1 I SCLK 6 D3 I SDI 7 D1 I/O SDO 8 E1 I ICES
9 F2 I OCES 10 F1 I NA 11 G1 I NA 12 E3 I/O NA 13 F3 I/O NA 14 G2 I/O NA 15 F4 I/O NA 16 G3 I/O NA 17 E4 I/O NA 18 G4 I/O NA 19 F5 I/O NA 20 G5 I VSM 21 F6 - VDD 22 G6 - VSS 23 E5 I/O INT* 24 E6 O PBEO 25 F7 O RCL/LOTC 26 D6 I TEST 27 D5 I RTIP 28 D7 I RRING 29 C6 I HRST* 30 C7 I MCLK 31 B6 O BPCLK 32 B7 I BIS0 33 A7 I BIS1 34 C5 O TTIP 35 B5 - VSS 36 A6 - VDD 37 B4 O TRING 38 C4 O RPOS 39 A4 O RNEG 40 B3 O RCLK 41 A3 I TPOS 42 B2 I TNEG 43 A2 I TCLK 44 A1 I NA
DS2148G
PIN#
I/O Serial
Port Mode
C3 I CS*
DS2148/Q48
13 of 75
DS2148/Q48
PIN DESCRIPTIONS IN SERIAL PORT MODE (Sorted by Pin Name, DS2148T Pin Numbering) Table 4-3b
ACRONYM PIN I/O DESCRIPTION
BIS0/
BIS1
BPCLK 31 O Back Plane Clock. A 16.384MHz, 8.192MHz, 4.096MHz, or
CS* 1 I Chip Select. Must be low to read or write to the device. CS* is an
HRST* 29 I Hardware Reset. Bringing HRST* low will reset the DS2148
ICES
INT* 23 O Interrupt [INT*] pin 23. Flags host controller during conditions
MCLK 30 I Master Clock. A 2.048MHz (±50ppm) clock source with TTL
NA
OCES 9 I Output Clock Edge Select. Selects whether the serial port data
PBEO 24 O PRBS Bit Error Output. The receiver will constantly search for a
RCLK
RCL/
LOTC
32/
33
8 I Input Clock Edge Select. Selects whether the serial port data input
- I Not Assigned. Should be tied low.
40 O Receive Clock. Buffered recovered clock from the line.
25 O Receive Carrier Loss / Loss of Transmit Clock. An output which
I Bus 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.
active low signal.
setting all control bits to their default state of all zeros.
(SDI) is sampled on rising (ICES =0) or falling edge (ICES = 1) of SCLK.
and change of conditions defined in the Status Register. Active low, open drain output.
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 1 on clock accuracy at the end of this table.
output (SDO) is valid on the rising (OCES = 1) or falling edge (OCES = 0) of SCLK.
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.
Synchronous to MCLK in absence of signal at RTIP and RRING.
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.
14 of 75
DS2148/Q48
ACRONYM PIN I/O DESCRIPTION
RNEG
39 O 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 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.
RPOS 38 O 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 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
I Receive 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
5 I Serial Clock. Serial bus clock input.
SDI 6 I Serial Data Input. Sampled on rising edge (ICES = 0) or the falling
edge (ICES = 1) of SCLK.
SDO 7 O Serial Data Output. Valid on the falling edge (OCES = 0) or the
rising edge (OCES = 1) of SCLK.
TCLK 43 I Transmit Clock. A 2.048 MHz or 1.544 MHz 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.
TEST 26 I 3-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.
TNEG 42 I 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.
TPOS 41 I 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.
TTIP/
TRING
34/
37
O Transmit 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.
VDD
21/
- Positive Supply. 5.0V ±5%
36
VSM 20 I Voltage Supply Mode. Should be tied high for 5V operation
VSS 22/
35
-
Signal Ground.
15 of 75
PIN ASSIGNMENT IN HARDWARE MODE Table 4-4a
DS2148T
PIN #
1
2 C2 I ETS
3 B1 I NRZE
4 D2 I SCLKE
5 C1 I L2
6 D3 I L1
7 D1 I/O L0
8 E1 I DJA
9 F2 I JAMUX 10 F1 I JAS 11 G1 I HBE 12 E3 I/O CES 13 F3 I/O TPD 14 G2 I/O TX0 15 F4 I/O TX1 16 G3 I/O LOOP0 17 E4 I/O LOOP1 18 G4 I/O MM0 19 F5 I/O MM1 20 G5 I VSM 21 F6 - VDD 22 G6 - VSS 23 E5 I/O RT1 24 E6 O PBEO 25 F7 O RCL 26 D6 I TEST 27 D5 I RTIP 28 D7 I RRING 29 C6 I HRST* 30 C7 I MCLK 31 B6 O BPCLK 32 B7 I BIS0 33 A7 I BIS1 34 C5 O TTIP 35 B5 - VSS 36 A6 - VDD 37 B4 O TRING 38 C4 O RPOS 39 A4 O RNEG 40 B3 O RCLK 41 A3 I TPOS 42 B2 I TNEG 43 A2 I TCLK 44 A1 I RT0
DS2148G
PIN#
I/O Hardware
Mode
C3 I EGL
DS2148/Q48
16 of 75
DS2148/Q48
PIN DESCRIPTIONS IN HARDWARE MODE (Sorted by Pin Name, DS2148T Pin Numbering) Table 4-4b
ACRONYM PIN I/O DESCRIPTION
BIS0/
BIS1
BPCLK 31 O Back Plane Clock. 16.384 MHz output.
CES
DJA 8 I
EGL
ETS 2 I
HBE 11 I
HRST* 29 I Hardware Reset. Bringing HRST* low will reset the DS2148.
JAMUX 9 I Jitter Attenuator MUX. Controls the source for JACLK. See
JAS
L0/L1/L2 7/
LOOP0/
LOOP1
32/
33
12 I Receive & Transmit Clock Edge Select. Selects which RCLK
1 I Receive Equalizer Gain Limit. This pin controls the sensitivity of
10 I
6/
5
16/
17
I Bus Interface Select Bits 0 & 1. Used to select bus interface option.
BIS0 = 1 and BIS1 = 1 selects hardware mode.
edge to update RPOS and RNEG and which TCLK edge to sample TPOS and TNEG. 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
Disable Jitter Attenuator.
0 = jitter attenuator enabled 1 = jitter attenuator disabled
the receive equalizer.
EGL E1 (ETS = 0)
0 = -12dB (short haul) 1 = -43dB (long haul)
EGL T1 (ETS = 1)
0 = -36dB (long haul) 1 = -30dB (limited long haul) E1/T1 Select. 0 = E1 1 = T1 Receive & Transmit HDB3/B8ZS Enable. 0 = enable HDB3 (E1)/B8ZS (T1) 1 = disable HDB3 (E1)/B8ZS (T1)
Figure 3-1 and Table 4-10.
E1 (ETS = 0) JAMUX
MCLK = 2.048 MHz 0
T1 (ETS = 1)
MCLK = 2.048 MHz 1 MCLK = 1.544 MHz 0
Jitter Attenuator Select.
0 = place the jitter attenuator on the receive side 1 = place the jitter attenuator on the transmit side
I Transmit LIU Waveshape Select Bits 0 & 1 [H/W Mode]. These
inputs determine the waveshape of the transmitter. See Table 9-1 and Table 9-2.
I Loopback Select Bits 0 & 1 [H/W Mode]. These inputs determine
the active loopback mode (if any). See Table 4-5.
17 of 75
DS2148/Q48
ACRONYM PIN I/O DESCRIPTION
MCLK 30 I 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. G.703 requires an accuracy of ±50ppm for both T1 and E1. TR62411 and ANSI specs require an accuracy of ±32ppm for T1 interfaces.
MM0/
MM1
18/
19
I Monitor Mode Select Bits 0 & 1 [H/W Mode]. These inputs
determine if the receive equalizer is in a monitor mode. See Table 4-8.
NA
NRZE
- I Not Assigned. Should be tied low.
3 I
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.
PBEO 24 O PRBS Bit Error Output. The receiver will constantly search for a
QRSS (T1) or a 215-1 (E1) PRBS depending on whether T1 or E1 mode is selected. 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.
RCLK
40 O Receive Clock. Buffered recovered clock from the line.
Synchronous to MCLK in absence of signal at RTIP and RRING.
RCL 25 O Receive Carrier Loss. An output which will toggle high during a
receive carrier loss.
RNEG
39 O Receive Negative Data. Updated on the rising edge (CES = 0) or
the falling edge (CES = 1) of RCLK with the bipolar data out of the line interface. Set NRZE 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.
RPOS 38 O 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. Set NRZE pin 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
I Receive LIU Termination Select Bits 0 & 1 [H/W Mode]. These
inputs determine the receive termination. See Table 4-9.
I Receive 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.
SCLKE
4 I
Receive & Transmit Synchronization Clock Enable.
0 = disable 2.048 MHz synchronization transmit and receive mode 1 = enable 2.048 MHz synchronization transmit and receive mode
18 of 75
DS2148/Q48
ACRONYM PIN I/O DESCRIPTION
TCLK 43 I Transmit Clock. A 2.048 MHz or 1.544 MHz primary clock. Used
to clock data through the transmit side formatter.
TEST 26 I 3-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.
TNEG 42 I 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.
TPD
13 I
Transmit Power-Down.
0 = normal transmitter operation 1 = powers down the transmitter and 3-states the TTIP and TRING pins
TPOS 41 I 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.
TTIP/
TRING
34/
37
O Transmit 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.
TX0/
TX1
VDD
14/
15
21/
I Transmit Data Source Select Bits 0 & 1 [H/W Mode]. These
inputs determine the source of the transmit data. See Table 4-6.
- Positive Supply. 5.0V ±5%
36
VSM 20 I Voltage Supply Mode. Should be tied high for 5V operation
VSS 22/
35
-
Signal Ground.
NOTES:
1) G.703 requires an accuracy of ±50ppm for both T1 and E1. TR62411 and ANSI specs require an accuracy of ±32ppm for T1 interfaces.
2) * Denotes active low.
19 of 75
DS2148/Q48
LOOP BACK CONTROL IN HARDWARE MODE Table 4-5
LOOPBACK SYMBOL CONTROL BIT LOOP1 LOOP0
Remote Loop Back RLB CCR6.6 1 1 Local Loop Back LLB CCR6.7 1 0 Analog Loop Back ALB CCR6.4 0 1 No Loop Back 0 0
TRANSMIT DATA CONTROL IN HARDWARE MODE Table 4-6
TRANSMIT DATA SYMBOL CONTROL BIT TX1 TX0
Transmit Unframed All Ones TUA1 CCR3.7 1 1 Transmit Alternating Ones and
TAOZ CCR3.5 1 0 Zeros Transmit PRBS
TPRBSE
CCR3.4
0 1
TPOS and TNEG 0 0
RECEIVE SENSITIVITY SETTINGS Table 4-7
EGL
(CCR4.4)
0 0 (E1) -12dB (short haul) 1 0 (E1) -43dB (long haul) 1 1 (T1) -30dB (limited long haul) 0 1 (T1) -36dB (long haul)
ETS
(CCR1.7)
RECEIVE SENSITIVITY
MONITOR GAIN SETTINGS Table 4-8
MM1
(CCR5.5)
0 0 Normal operation (no boost) 0 1 20 1 0 26 1 1 32
MM0
(CCR5.4)
INTERNAL LINEAR GAIN
BOOST (dB)
INTERNAL RX TERMINATION SELECT Table 4-9
RT1
(CCR5.1)
0 0 Internal receive-side termination disabled 0 1 1 0 1 1
RT0
(CCR5.0)
INTERNAL RECEIVE
TERMINATION CONFIGURATION
Internal receive-side 120W enabled Internal receive-side 100W enabled Internal receive-side 75W enabled
MCLK SELECTION Table 4-10
MCLK JAMUX
(CCR1.3)
2.048MHz 0 0
2.048MHz 1 1
1.544MHz 0 1
ETS
(CCR1.7)
20 of 75
PARALLEL PORT MODE PINOUT (BIS1 = 0, BIS0 = 1 or 0) Figure 4-1
36 VDD
37 TRING
38 RPOS
39 RNEG
40 RCLK
41 TPOS
42 TNEG
43 TCLK
44 PBTS
34 TTIP
35 VSS
DS2148/Q48
1 CS*
2 RD (DS)
3 WR* (R/W*)
4 ALE (AS)
5 NA
6 NA
7 A4
8 A3
9 A2
10 A1
11 A0
AD7/D7 12
DS2148
Parallel Port
Operation
(Note: tie all NA pins low)
AD4/D4 15
AD5/D5 14
AD6/D6 13
AD3/D3 16
AD2/D2 17
AD1/D1 18
AD0/D0 19
VSM 20
VDD 21
t
i
e h
i
g h
BIS1 33
BIS0 32
BPCLK 31
MCLK 30
HRST* 29
RRING 28
RTIP 27
TEST 26
RCL/LOTC 25
PBEO 24
INT* 23
VSS 22
tie low
tie low (MUX) or high (non-MUX)
SERIAL PORT MODE PINOUT (BIS1 = 1, BIS0 = 0) Figure 4-2
t
i
e l
o w
34 TTIP
35 VSS
36 VDD
37 TRING
38 RPOS
39 RNEG
40 RCLK
41 TPOS
42 TNEG
43 TCLK
44 PBTS
1 CS*
2 NA
3 NA
4 NA
5 SCLK
6 SDI
7 SDO
8 ICES
9 OCES
10 NA
11 NA
BIS1 33
BIS0 32
BPCLK 31
MCLK 30
DS2148
Serial Port
Operation
(Note: tie all NA pins low)
VSM 20
NA 19
NA 18
NA 17
NA 16
NA 15
NA 14
NA 13
NA 12
t
i
e h
i
g h
RCL/LOTC 25
VDD 21
VSS 22
HRST* 29
RRING 28
RTIP 27
TEST 26
PBEO 24
INT* 23
tie high
tie low
21 of 75
HARDWARE MODE PINOUT (BIS1 = 1, BIS0 = 1) Figure 4-3
44 RT0
43 TCLK
42 TNEG
40 RCLK
41 TPOS
38 RPOS
39 RNEG
36 VDD
37 TRING
34 TTIP
35 VSS
DS2148/Q48
1 EGL
2 ETS
3 NRZE
4 SCLKE
5 L2
6 L1
7 L0
8 DJA
9 JAMUX
10 JAS
11 HBE
DS2148
Hardware
Operation
LOOP1 17
LOOP0 16
CES 12
TPD 13
TX1 15
TX0 14
MM0 18
MM1 19
VSM 20
VDD 21
t
i
e h
i
g h
BIS1 33
BIS0 32
BPCLK 31
MCLK 30
HRST* 29
RRING 28
RTIP 27
TEST 26
RCL 25
PBEO 24
RT1 23
VSS 22
tie high
tie high
5. HARDWARE MODE
In hardware mode (BIS1 = 1, BIS0 = 1), pins 1-19, 23, 25, 31, and 44 are redefined to be used for initializing the DS2148. 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). LOOP1 (pin 17) and LOOP0 (pin 16) control the loopback functions. All other control bits default to the logic 0 setting.
22 of 75
DS2148/Q48
5.1 Register Map
REGISTER MAP Table 5-1
ACRONYM REGISTER NAME R/W PARALLEL
PORT MODE
CCR1 Common Control Register 1 R/W 00h B000 000A CCR2 Common Control Register 2 R/W 01h B000 001A CCR3 Common Control Register 3 R/W 02h B000 010A CCR4 Common Control Register 4 R/W 03h B000 011A CCR5 Common Control Register 5 R/W 04h B000 100A CCR6 Common Control Register 6 R/W 05h B000 101A
SR Status Register R 06h B000 110A
IMR Interrupt Mask Register R/W 07h B000 111A RIR1 Receive Information Register 1 R 08h B001 000A RIR2 Receive Information Register 2 R 09h B001 001A
IBCC In-Band Code Control Register R/W 0Ah B001 010A
TCD1 Transmit Code Definition
R/W 0Bh B001 011A
Register 1
TCD2 Transmit Code Definition
R/W 0Ch B001 100A
Register 2
RUPCD1 Receive Up Code Definition
R/W 0Dh B001 101A
Register 1
RUPCD2 Receive Up Code Definition
R/W 0Eh B001 110A
Register 2
RDNCD1 Receive Down Code Definition
R/W 0Fh B001 111A
Register 1
RDNCD2 Receive Down Code Definition
R/W 10h B010 000A
Register 2 ECR1 Error Count Register 1 R 11h B010 001A ECR2 Error Count Register 2 R 12h B010 010A
TEST1 Test 1 R/W 13h B010 011A TEST2 Test 2 R/W 14h B010 100A TEST3 Test 3 R/W 15h B010 101A
– – – Note 1
SERIAL
PORT MODE
See Notes 2–5 (msb) (lsb)
NOTES:
1) Register addresses 16h to 1Fh do not exist.
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 75
Loading...
+ 52 hidden pages