• Line interface can handle both long and short haul
trunks
• 32–bit or 128–bit jitter attenuator
• Generates DSX–1 and CSU line build outs
• Frames to D4, ESF, and SLC–96
R
formats
• Dual onboard two–frame elastic store slip buffers that
connect to backplanes up to 8.192 MHz
• 8–bit parallel control port that can be used on either
multiplexed or non–multiplexed buses
• Extracts and inserts Robbed–Bit signaling
• Detects and generates yellow and blue alarms
• Programmable output clocks for Fractional T1
• Fully independent transmit and receive functionality
• Onboard FDL support circuitry
• Generates and detects CSU loop codes
• Contains ANSI one’s density monitor and enforcer
• Large path and line error counters including BPV , CV ,
CRC6, and framing bit errors
• Pin compatible with DS2153Q E1 Single–Chip Trans-
ceiver
• 5V supply; low power CMOS
• Industrial grade version (–40°C to +85°C) available
(DS2151QN)
DESCRIPTION
The DS2151Q T1 Single–Chip Transceiver (SCT) contains all of the necessary functions for connection to T1
lines whether they be DS–1 long haul or DSX–1 short
haul. The clock recovery circuitry automatically adjusts
PIN ASSIGNMENT
Functional Blocks
FRAMER
ELASTIC STORES
LINE INTERFACE
LONG & SHORT HAUL
PARALLEL CONTROL
PORT
DALLAS
DS2151Q
T1 SCT
ALE
WR
RLINK
RLCLK
DVSS
RCLK
RCHCLK
RSER
RSYNC
RLOS/LOTC
SYSCLK
to T1 lines from 0 feet to over 6000 feet in length. The
device can generate both DSX–1 line build outs as well
as CSU build outs of –7.5 dB, –15 dB, and –22.5 dB.
The onboard jitter attenuator (selectable to either 32 bits
Copyright 1995 by Dallas Semiconductor Corporation.
All Rights Reserved. For important information regarding
patents and other intellectual property rights, please refer to
Dallas Semiconductor data books.
022697 1/46
DS2151Q
or 128 bits) can be placed in either the transmit or
receive data paths. The framer locates the frame and
multiframe boundaries and monitors the data stream for
alarms. It is also used for extracting and inserting
Robbed–Bit signaling data and FDL data. The device
contains a set of 64 eight bit internal registers which the
user can access and control the operation of the unit.
Quick access via the parallel control port allows a single
micro to handle many T1 lines. The device fully meets
all of the latest T1 specifications including ANSI
T1.403–199X, A T&T TR 62411 (12–90), and ITU G.703,
G.704, G.706, G.823, and I.431.
TABLE OF CONTENTS
1.Introduction
2.Parallel Control Port
3.Control Registers
4.Status and Information Registers
5.Error Count Registers
6.FDL/Fs Extraction/Insertion
7.Signaling Operation
8.Transmit Transparency and Idle Registers
9.Clock Blocking Registers
10.Elastic Stores Operation
11.Receive Mark Registers
12.Line Interface Functions
13.Timing Diagrams and Transmit Flow Diagram
14.DC and AC Characteristics
1.0 INTRODUCTION
The analog AMI waveform off of the T1 line is transformer coupled into the RRING and RTIP pins of the
DS2151Q. The device recovers clock and data from the
analog signal and passes it through the jitter attenuation
mux to the receive side framer where the digital serial
stream is analyzed to locate the framing pattern. If
needed, the receive side elastic store can be enabled in
order to absorb the phase and frequency differences
between the recovered T1 data stream and an asynchronous backplane clock which is provided at the
SYSCLK input.
The transmit side of the DS2151Q is totally independent
from the receive side in both the clock requirements and
characteristics. Data can be either provided directly to
the transmit formatter or via an elastic store. The transmit formatter will provide the necessary data overhead
for T1 transmission. Once the data stream has been
prepared for transmission, it is sent via the jitter attenuation mux to the waveshaping and line driver functions.
The DS2151Q will drive the T1 line from the TTIP and
TRING pins via a coupling transformer.
022697 2/46
DS2151Q BLOCK DIAGRAM Figure 1–1
RLINK
RLCLK
RCHBLK
RCLK
RCHCLK
FDL
EXTRACTION
SIGNALING EXTRACTION
ONE’S DENSITY MONITOR
CRC/FRAME ERROR COUNT
FRAMER
RECEIVE SIDE
LOOP CODE DETECTOR
RLOS
RSER
SYSCLK
TIMING
CONTROL
CHANNEL MARKING
ALARM DETECTION
SYNCHRONIZER
BPV COUNTER
B8ZS DECODER
STORE
ELASTIC
RSYNC
PAYLOAD LOOPBACK
STORE
ELASTIC
IDLE CODE INSERTION
SIGNALING INSERTION
CLEAR CHANNEL
LOOP CODE GEN.
ONE’S DENSITY ENCODER
F–BIT INSERTION
CRC GEN.
FDL INSERTION
YELLOW ALARM GEN.
TRANSMIT SIDE FORMATTER
B8ZS ENCODE
AIS GEN.
TSER
DETECT
LOSS OF TCLK
MUX
TCLK
TCHBLK
TIMING
TSYNC
TCHCLK
CONTROL
TLINK
FDL
INSERT
DS2151Q
TLCLK
LOGIC
ACLKIXTAL1XTAL2
XTAL/VCO/PLL
24.7 MHz
FRAMER LOOPBACK
REMOTE LOOKPACK
JITTER ATTENUA TION MUX
(CAN BE PLACED IN EITHER THE TRANSMIT
RRING
DATA
CLOCK/
RECOVERY
PEAK
DETECT
FILTER
RTIP
OR RECEIVE PATHS)
LOCAL LOOPBACK
TRING
WAVE
SHAPING
CSU
FILTERS
LINE
DRIVERS
TTIP
(ROUTED TO ALL BLOCKS)
PARALLEL CONTROL PORT
BTSCSWR(R/W)RD(DS)ALE(AS)AD0–AD7INT1/INT2
022697 3/46
DS2151Q
PIN DESCRIPTION Table 1–1
PINSYMBOLTYPEDESCRIPTION
1
2
3
4
5RD(DS)IRead Input (Data Strobe).
6CSIChip Select. Must be low to read or write the port.
7ALE(AS)IAddress Latch Enable (Address Strobe). A positive going edge serves to
8WR(R/W)IWrite Input (Read/Write).
9RLINKOReceive Link Data. Updated with either FDL data (ESF) or Fs bits (D4) or
10RLCLKOReceive Link Clock. 4 KHz or 2 KHz (ZBTSI) demand clock for the RLINK
11DVSS–Digital Signal Ground. 0.0 volts. Should be tied to local ground plane.
12RCLKOReceive Clock. Recovered 1.544 MHz clock.
13RCHCLKOReceive Channel Clock. 192 KHz clock which pulses high during the LSB
14RSEROReceive Serial Data. Received NRZ serial data, updated on rising edges
15RSYNCI/OReceive Sync. An extracted pulse, one RCLK wide, is output at this pin which
16RLOS/LOTCOReceive Loss of Sync/Loss of Transmit Clock. A dual function output.
17SYSCLKISystem Clock. 1.544 MHz or 2.048 MHz clock. Only used when the elastic
18RCHBLKOReceive Channel Block. A user programmable output that can be forced
19ACLKIIAlternate Clock Input. Upon a receive carrier loss, the clock applied at this
AD4
AD5
AD6
AD7
I/OAddress/Data Bus. An 8–bit multiplexed address/data bus.
demultiplex the bus.
Z bits (ZBTSI) one RCLK before the start of a frame. See Section 13 for timing details.
output. See Section 13 for timing details.
of each channel. Useful for parallel to serial conversion of channel data,
locating Robbed–Bit signaling bits, and for blocking clocks in DDS applications. See Section 13 for timing details.
of RCLK or SYSCLK.
identifies either frame (RCR2.4=0) or multiframe boundaries (RCR2.4=1). If
set to output frame boundaries, then via RCR2.5, RSYNC can also be set to
output double–wide pulses on signaling frames. If the elastic store is enabled
via the CCR1.2, then this pin can be enabled to be an input via RCR2.3 at
which a frame boundary pulse is applied. See Section 13 for timing details.
If CCR3.5=0, will toggle high when the synchronizer is searching for the T1
frame and multiframe; if CCR3.5=1, will toggle high if the TCLK pin has not
toggled for 5us.
store functions are enabled via either CCR1.7 or CCR1.2. Should be tied low
in applications that do not use the elastic store. If tied high for more than
100us, will force all output pins (including the parallel port) to 3–state.
high or low during any of the 24 T1 channels. Useful for blocking clocks to
a serial UART or LAPD controller in applications where not all T1 channels
are used such as Fractional T1, 384K bps service, 768K bps, or ISDN–PRI.
Also useful for locating individual channels in drop–and–insert applications.
See Section 13 for timing details.
pin (normally 1.544 MHz) will be routed to the RCLK pin. If no clock is routed
to this pin, then it should be tied to DVSS.
022697 4/46
DS2151Q
PINDESCRIPTIONTYPESYMBOL
20BTSIBus Type Select. Strap high to select Motorola bus timing; strap low to
select Intel bus timing. This pin controls the function of the RD
ALE(AS), and WR
(R/W) pins. If BTS=1, then these pins assume the function
(DS),
listed in parenthesis ().
21
22
RTIP
RRING
–Receive Tip and Ring. Analog inputs for clock recovery circuitry; connects
to a 1:1 transformer (see Section 12 for details).
23RVDD–Receive Analog Positive Supply . 5.0 volts. Should be tied to DVDD and
TVDD pins.
24RVSS–Receive Signal Ground. 0.0 volts. Should be tied to local ground plane
25
26
XTAL1
XTAL2
–Crystal Connections. A pullable 6.176 MHz crystal must be applied to
these pins. See Section 12 for crystal specifications.
27INT1OReceive Alarm Interrupt 1. Flags host controller during alarm conditions
defined in Status Register 1. Active low, open drain output.
28INT2OReceive Alarm Interrupt 2. Flags host controller during conditions defined
in Status Register 2. Active low, open drain output.
29TTIP–Transmit Tip. Analog line driver output; connects to a step–up transformer
(see Section 12 for details).
30TVSS–Transmit Signal Ground. 0.0 volts. Should be tied to local ground plane.
31TVDD–Transmit Analog Positive Supply. 5.0 volts. Should be tied to DVDD and
RVDD pins.
32TRING–Transmit Ring. Analog line driver outputs; connects to a step–up trans-
former (see Section 12 for details).
33TCHBLKOTransmit Channel Block. A user programmable output that can be forced
high or low during any of the 24 T1 channels. Useful for blocking clocks to
a serial UART or LAPD controller in applications where not all T1 channels
are used such as Fractional T1, 384K bps service, 768K bps, or ISDN–PRI.
Also useful for locating individual channels in drop–and–insert applications.
See Section 13 for timing details.
34TLCLKOT ransmit Link Clock. 4 KHz or 2 KHz (ZBTSI) demand clock for the TLINK
input. See Section 13 for timing details.
35TLINKITransmit Link Data. If enabled via TCR1.2, this pin will be sampled during
the F–bit time on the falling edge of TCLK for data insertion into either the FDL
stream (ESF) or the Fs bit position (D4) or the Z–bit position (ZBTSI). See
Section 13 for timing details.
36TSYNCI/OTransmit Sync. A pulse at this pin will establish either frame or multiframe
boundaries for the DS2151Q. Via TCR2.2, the DS2151Q can be pro-
grammed to output either a frame or multiframe pulse at this pin. If this pin
is set to output pulses at frame boundaries, it can also be set via TCR2.4 to
output double–wide pulses at signaling frames. See Section 13 for timing
details.
37DVDD–Digital Positive Supply. 5.0 volts. Should be tied to RVDD and TVDD pins.
38TCLKITransmit Clock. 1.544 MHz primary clock.
39TSERITransmit Serial Data. T ransmit NRZ serial data, sampled on the falling edge
of TCLK.
022697 5/46
DS2151Q
PINDESCRIPTIONTYPESYMBOL
40TCHCLKOT ransmit Channel Clock. 192 KHz clock which pulses high during the LSB
of each channel. Useful for parallel to serial conversion of channel data,
locating Robbed–Bit signaling bits, and for blocking clocks in DDS applications. See Section 13 for timing details.
41
42
43
44
AD0
AD1
AD2
AD3
I/OAddress/Data Bus. A 8–bit multiplexed address/data bus.
DS2151Q REGISTER MAP
ADDRESS R/WREGISTER NAMEADDRESS R/WREGISTER NAME
20R/W Status Register 1.30R/W Common Control Register 3.
21R/W Status Register 2.31R/W Receive Information Register 2.
22R/W Receive Information Register 1.32R/W Transmit Channel Blocking Reg-
23RLine code Violation Count Regis-
33R/W Transmit Channel Blocking Reg-
ter 1.
24RLine code Violation Count Regis-
34R/W Transmit Channel Blocking Reg-
ter 2.
25RPath Code Violation Count Reg-
35R/W Transmit Control Register 1.
ister 1. (1)
26RPath Code Violation Count Reg-
36R/W Transmit Control Register 2.
ister 2.
27RMultiframe Out of Sync Count
37R/W Common Control Register 1.
Register 2.
28RReceive FDL Register38R/W Common Control Register 2.
29R/W Receive FDL Match Register 1.39R/W Transmit Transparency Register
2AR/W Receive FDL Match Register 2.3AR/W Transmit Transparency Register
2BR/W Receive Control Register 1.3BR/W Transmit Transparency Register
2CR/W Receive Control Register 2.3CR/W T ransmit Idle Register 1.
2DR/W Receive Mark Register 1.3DR/W Transmit Idle Register 2.
2ER/W Receive Mark Register 2.3ER/W Transmit Idle Register 3.
2FR/W Receive Mark Register 3.3FR/W Transmit Idle Definition Register.
1. Address 25 also contains Multiframe Out of Sync Count Register 1.
2. The T est Register is used only by the factory; this register must be cleared (set to all zeros) on power–up initialization to insure proper operation.
2.0 PARALLEL PORT
The DS2151Q is controlled via a multiplexed bidirectional address/data bus by an external microcontroller
or microprocessor. The DS2151Q can operate with
either Intel or Motorola bus timing configurations. If the
BTS pin is tied low, Intel timing will be selected; if tied
high, Motorola timing will be selected. All Motorola bus
signals are listed in parenthesis (). See the timing diagrams in the A.C. Electrical Characteristics for more
details. The multiplexed bus on the DS2151Q saves
pins because the address information and data information share the same signal paths. The addresses are
presented to the pins in the first portion of the bus cycle
and data will be transferred on the pins during second
portion of the bus cycle. Addresses must be valid prior
to the falling edge of ALE(AS), at which time the
DS2151Q latches the address from the AD0 to AD7
pins. Valid write data must be present and held stable
during the later portion of the DS or WR
cycle, the DS2151Q outputs a byte of data during the
latter portion of the DS or RD pulses. The read cycle is
pulses. In a read
terminated and the bus returns to a high impedance
state as RD
transitions high in Intel timing or as DS transitions low in Motorola timing. The DS2151Q can also
be easily connected to non–multiplexed buses. Please
see the separate Application Note for a detailed discussion of this topic.
3.0 CONTROL REGISTERS
The operation of the DS2151Q is configured via a set of
eight registers. Typically, the control registers are only
accessed when the system is first powered up. Once
the DS2151Q has been initialized, the control registers
will only need to be accessed when there is a change in
the system configuration. There are two Receive Control Registers (RCR1 and RCR2), two Transmit Control
Registers (TCR1 and TCR2), a Line Interface Control
Register (LICR), and three Common Control Registers
(CCR1, CCR2, and CCR3). Seven of the eight registers
are described below. The LICR is described in
Section 12.
022697 7/46
DS2151Q
RCR1: RECEIVE CONTROL REGISTER 1 (Address=2B Hex)
(MSB)(LSB)
LCVCRFARCOOF1OOF2SYNCCSYNCTSYNCERESYNC
SYMBOLPOSITIONNAME AND DESCRIPTION
LCVCRFRCR1.7Line Code Violation Count Register Function Select.
ARCRCR1.6Auto Resync Criteria.
OOF1RCR1.5Out Of Frame Select 1.
OOF2RCR1.4Out Of Frame Select 2.
SYNCCRCR1.3Sync Criteria.
SYNCTRCR1.2Sync Time.
SYNCERCR1.1Sync Enable.
RESYNCRCR1.0Resync. When toggled from low to high, a resynchronization of the receive
0=do not count excessive zeros
1=count excessive zeros
0=Resync on OOF or RCL event
1=Resync on OOF only
0=2/4 frame bits in error
1=2/5 frame bits in error
0=follow RCR1.5
1=2/6 frame bits in error
In D4 Framing Mode.
0=search for Ft pattern, then search for Fs pattern
1=cross couple Ft and Fs pattern
In ESF Framing Mode
0=search for FPS pattern only
1=search for FPS and verify with CRC6
0=qualify 10 bits
1=qualify 24 bits
0=auto resync enabled
1=auto resync disabled
side framer is initiated. Must be cleared and set again for a subsequent
resync.
0=do not pulse double–wide in signaling frames
1=do pulse double–wide in signaling frames (note: this bit must be set to
zero when RCR2.4=1 or when RCR2.3=1)
RSMRCR2.4RSYNC Mode Select.
0=frame mode (see the timing in Section 13)
1=multiframe mode (see the timing in Section 13)
RSIORCR2.3RSYNC I/O Select.
0=RSYNC is an output
1=RSYNC is an input (only valid if elastic store enabled) (note: this bit must
be set to zero when CCR1.2=0)
RD4YMRCR2.2Receive Side D4 Yellow Alarm Select.
0=zeros in bit 2 of all channels
1=a one in the S–bit position of frame 12
FSBERCR2.1PCVCR Fs Bit Error Report Enable.
0=do not report bit errors in Fs bit position; only Ft bit position
1=report bit errors in Fs bit position as well as Ft bit position
MOSCRFRCR2.0Multiframe Out of Sync Count Register Function Select.
0=count errors in the framing bit position
1=count the number of multiframes out of sync
TCR1: TRANSMIT CONTROL REGISTER 1 (Address=35 Hex)
(MSB)(LSB)
LOTCMCTFPTTCPTRBSEGB7STLINKTBLTYEL
SYMBOLPOSITIONNAME AND DESCRIPTION
LOTCMCTCR1.7Loss Of Transmit Clock Mux Control. Determines whether the transmit
side formatter should switch to the ever present RCLK if the TCLK input
should fail to transition (see Figure 1–1 for more details).
0=do not switch to RCLK if TCLK stops
1=switch to RCLK if TCLK stops
TFPTTCR1.6Transmit Framing Pass Through. (see note below)
0=Ft or FPS bits sourced internally
1=Ft or FPS bits sampled at TSER during F–bit time
TCPTTCR1.5Transmit CRC Pass Through. (see note below)
0=source CRC6 bits internally
1=CRC6 bits sampled at TSER during F–bit time
RBSETCR1.4Robbed–Bit Signaling Enable. (see note below)
0=no signaling is inserted in any channel
1=signaling is inserted in all channels (the TTR registers can be used to
block insertion on a channel by channel basis)
GB7STCR1.3Global Bit 7 Stuffing. (see note below)
0=allow the TTR registers to determine which channels containing all zeros
are to be Bit 7 stuffed
1=force Bit 7 stuffing in all zero byte channels regardless of how the TTR
registers are programmed
022697 9/46
DS2151Q
TLINKTCR1.2TLINK Select. (see note below)
0=source FDL or Fs bits from TFDL register
1=source FDL or Fs bits from the TLINK pin
TBLTCR1.1Transmit Blue Alarm. (see note below)
0=transmit data normally
1=transmit an unframed all one’s code at TPOS and TNEG
TYELTCR1.0Transmit Yellow Alarm. (see note below)
0=do not transmit yellow alarm
1=transmit yellow alarm
Note: for a detailed description of how the bits in TCR1 affect the transmit side formatter of the DS2151Q, please see
Figure 13–9.
TCR2: TRANSMIT CONTROL REGISTER 2 (Address=36 Hex)
(MSB)(LSB)
TEST1TEST0TZBTSITSDWTSMTSIOTD4YMB7ZS
SYMBOLPOSITIONNAME AND DESCRIPTION
TEST1TCR2.7Test Mode Bit 1 for Output Pins. See Table 3–1.
TEST0TCR2.6Test Mode Bit 0 for Output Pins. See Table 3–1.
TZBTSITCR2.5Transmit Side ZBTSI Enable.
TSDWTCR2.4TSYNC Double–Wide. (note: this bit must be set to zero when TCR2.3=1
TSMTCR2.3TSYNC Mode Select.
TSIOTCR2.2TSYNC I/O Select.
TD4YMTCR2.1Transmit Side D4 Yellow Alarm Select.
B7ZSTCR2.0Bit 7 Zero Suppression Enable.
0=ZBTSI disabled
1=ZBTSI enabled
or when TCR2.2=0)
0=do not pulse double–wide in signaling frames
1=do pulse double–wide in signaling frames
0=frame mode (see the timing in Section 13)
1=multiframe mode (see the timing in Section 13)
0=TSYNC is an input
1=TSYNC is an output
0=zeros in bit 2 of all channels
1=a one in the S–bit position of frame 12
0=no stuffing occurs
1=Bit 7 force to a one in channels with all zeros
OUTPUT PIN TEST MODES Table 3–1
TEST1TEST0EFFECT ON OUTPUT PINS
00operate normally
01force all output pins 3–state (including all I/O pins and parallel port pins)
10force all output pins low (including all I/O pins except parallel port pins)
11force all output pins high (including all I/O pins except parallel port pins)
022697 10/46
CCR1: COMMON CONTROL REGISTER 1 (Address=37 Hex)
(MSB)(LSB)
TESELLBRSAORLBSCLKMRESEPLBFLB
SYMBOLPOSITIONNAME AND DESCRIPTION
TESECCR1.7Transmit Elastic Store Enable.
LLBCCR1.6Local Loopback.
RSAOCCR1.5Receive Signaling All One’s.
RLBCCR1.4Remote Loopback.
SCLKMCCR1.3SYSCLK Mode Select.
RESECCR1.2Receive Elastic Store Enable.
PLBCCR1.1Payload Loopback.
FLBCCR1.0Framer Loopback.
LOCAL LOOPBACK
When CCR1.6 is set to a one, the DS2151Q will be
forced into Local LoopBack (LLB). In this loopback,
data will continue to be transmitted as normal through
the transmit side of the SCT. Data being received at
RTIP and RRING will be replaced with the data being
transmitted. Data in this loopback will pass through the
jitter attenuator and the jitter attenuator should be programmed to be in the transmit path. LLB is primarily
used in debug and test applications. Please see the
DS2151Q Block Diagram in Section 1 for more details.
REMOTE LOOPBACK
When CCR1.4 is set to a one, the DS2151Q will be
forced into Remote LoopBack (RLB). In this loopback,
data recovered off the T1 line from the RTIP and RRING
pins will be transmitted back onto the T1 line (with any
BPVs that might have occurred intact) via the TTIP and
0=elastic store is bypassed
1=elastic store is enabled
0=loopback disabled
1=loopback enabled
0=allow robbed signaling bits to appear at RSER
1=force all robbed signaling bits at RSER to one
0=loopback disabled
1=loopback enabled
0=if SYSCLK is 1.544 MHz
1=if SYSCLK is 2.048 MHz
0=elastic store is bypassed
1=elastic store is enabled
0=loopback disabled
1=loopback enabled
0=loopback disabled
1=loopback enabled
TRING pins. Data will continue to pass through the
receive side of the DS2151Q as it would normally and
the data at the TSER input will be ignored. Data in this
loopback will pass through the jitter attenuator. RLB is
used to place the DS2151Q into “line” loopback which is
a requirement of both ANSI T1.403 and AT&T TR6241 1.
Please see the DS2151Q Block Diagram in Section 1 for
more details.
PAYLOAD LOOPBACK
When CCR1.1 is set to a one, the DS2151Q will be
forced into Payload LoopBack (PLB). Normally, this
loopback is only enabled when ESF framing is being
performed. In a PLB situation, the DS2151Q will loop
the 192 bits of payload data (with BPVs corrected) from
the receive section back to the transmit section. The
FPS framing pattern, CRC6 calculation, and the FDL
bits are not looped back, they are reinserted by the
DS2151Q
022697 11/46
DS2151Q
DS2151Q. When PLB is enabled, the following will
occur:
in testing and debugging applications. In FLB, the
DS2151Q will loop data from the transmit side back to
the receive side. When FLB is enabled, the following
1. data will be transmitted from the TTIP and TRING
will occur:
pins synchronous with RCLK instead of TCLK
2. all of the receive side signals will continue to operate
normally
3. the TCHCLK and TCHBLK signals are forced low
4. data at the TSER pin is ignored
5. the TLCLK signal will become synchronous with
RCLK instead of TCLK.
1. unless the RLB is active, an unframed all one’s code
will be transmitted at TTIP and TRING
2. data off the T1 line at RTIP and RRING will be
ignored
3. the RCLK output will be replaced with the TCLK
input.
FRAMER LOOPBACK
When CCR1.0 is set to a one, the DS2151Q will enter a
Framer LoopBack (FLB) mode. This loopback is useful
CCR2: COMMON CONTROL REGISTER 2 (Address=38 Hex)
(MSB)(LSB)
TFM
SYMBOLPOSITIONNAME AND DESCRIPTION
TFMCCR2.7Transmit Frame Mode Select.
TB8ZSCCR2.6Transmit B8ZS Enable.
TSLC96CCR2.5Transmit SLC–96/Fs Bit Insertion Enable.
ESMDMCCR3.7Elastic Store Minimum Delay Mode. See Section 10.3 for details.
0=elastic stores operate at full two frame depth
1=elastic stores operate at 32–bit depth
ESRCCR3.6Elastic Store Reset. Setting this bit from a zero to a one will force the elas-
tic stores to a known depth. Should be toggled after SYSCLK has been
applied and is stable. Must be cleared and set again for a subsequent
reset.
P16FCCR3.5Function of Pin 16.
0=Receive Loss of Sync (RLOS).
1=Loss of Transmit Clock (LOTC).
RSMSCCR3.4RSYNC Multiframe Skip Control. Useful in framing format conversions
from D4 to ESF.
0=RSYNC will output a pulse at every multiframe
1=RSYNC will output a pulse at every other multiframe note: for this bit to
have any affect, the RSYNC must be set to output multiframe pulses
(RCR2.4=1 and RCR2.3=0).
PDECCR3.3Pulse Density Enforcer Enable.
0=disable transmit pulse density enforcer
1=enable transmit pulse density enforcer
TLDCCR3.2Transmit Loop Down Code (001).
0=transmit data normally
1=replace normal transmitted data with loop down code
TLUCCR3.1Transmit Loop Up Code (00001).
0=transmit data normally
1=replace normal transmitted data with loop up code
LIRSTCCR3.0Line Interface Reset. Setting this bit from a zero to a one will initiate an
internal reset that affects the slicer , AGC, clock recovery state machine and
jitter attenuator. Normally this bit is only toggled on power–up. Must be
cleared and set again for a subsequent reset.
DS2151Q
LOOP CODE GENERATION
When either the CCR3.1 or CCR3.2 bits are set to one,
the DS2151Q will replace the normal transmitted payload with either the Loop Up or Loop Down code respectively. The DS2151Q will overwrite the repeating loop
code pattern with the framing bits. The SCT will continue to transmit the loop codes as long as either bit is
set. It is an illegal state to have both CCR3.1 and
CCR3.2 set to one at the same time.
PULSE DENSITY ENFORCER
The SCT always examines both the transmit and
receive data streams for violations of the following rules
which are required by ANSI T1.403–199X:
– no more than 15 consecutive zeros
– at least N ones in each and every time window
of 8 x (N +1) bits where N=1 through 23.
Violations for the transmit and receive data streams are
reported in the RIR2.2 and RIR2.1 bits respectively .
022697 13/46
DS2151Q
When the CCR3.3 is set to one, the DS2151Q will force
the transmitted stream to meet this requirement no matter the content of the transmitted stream. When running
B8ZS, the CCR3.3 bit should be set to zero since B8ZS
encoded data streams cannot violate the pulse density
requirements.
POWER–UP SEQUENCE
On power–up, after the supplies are stable, the
DS2151Q should be configured for operation by writing
to all of the internal registers (this includes setting the
Test Register to 00Hex) since the contents of the internal registers cannot be predicted on power–up. Next,
the LIRST bit should be toggled from zero to one to reset
the line interface (it will take the DS2151Q about 40ms
to recover from the LIRST being toggled). Finally, after
the SYSCLK input is stable, the ESR bit should be
toggled from a zero to a one (this step can be skipped if
the elastic stores are disabled).
4.0 STATUS AND INFORMATION
REGISTERS
There is a set of four registers that contain information
on the current real time status of the DS2151Q, Status
Register 1 (SR1), Status Register 2 (SR2), Receive
Information Register 1 (RIR1), and Receive Information
Register 2 (RIR2). When a particular event has
occurred (or is occurring), the appropriate bit in one of
these four registers will be set to a one. All of the bits in
these registers operate in a latched fashion. This
means that if an event occurs and a bit is set to a one in
any of the registers, it 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 or if
the alarm(s) is still present.
The user will always precede a read of these registers
with a write. The byte written to the register will inform
the DS2151Q which bits the user wishes to read and
have cleared. The user will write a byte to one of these
four registers, with a one in the bit positions he or she
wishes to read and a zero in the bit positions he or she
does not wish to obtain the latest information on. When
a one is written to a bit location, the read register will be
updated with current value and the previous value will
be cleared. When a zero is written to a bit position, the
read register 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 the bit does indeed clear . This second write is necessary because the alarms and events in the status registers occur asynchronously in respect to their access
via the parallel port. The write–read–write scheme is
unique to the four status registers and it 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 DS2151Q
with higher–order software languages.
The SR1 and SR2 registers have the unique ability to
initiate a hardware interrupt via the INT1
respectively. Each of the alarms and events in the SR1
and SR2 can be either masked or unmasked from the
interrupt pins via the Interrupt Mask Register 1 (IMR1)
and Interrupt Mask Register 2 (IMR2) respectively.
and INT2 pins
RIR1: RECEIVE INFORMATION REGISTER 1 (Address=22 Hex)
(MSB)(LSB)
COFA8ZD16ZDRESFRESESEFEB8ZSFBE
SYMBOLPOSITIONNAME AND DESCRIPTION
COFARIR1.7Change of Frame Alignment. Set when the last resync resulted in a
8ZDRIR1.6Eight Zero Detect. Set when a string of eight consecutive zeros have been
16ZDRIR1.5Sixteen Zero Detect. Set when a string of sixteen consecutive zeros have
RESFRIR1.4Receive Elastic Store Full. Set when the receive elastic store buffer fills
022697 14/46
change of frame or multiframe alignment.
received at RPOS and RNEG.
been received at RPOS and RNEG.
and a frame is deleted.
DS2151Q
RESERIR1.3Receive Elastic Store Empty. Set when the receive elastic store buffer
empties and a frame is repeated.
SEFERIR1.2Severely Errored Framing Event. Set when 2 out of 6 framing bits (Ft or
FPS) are received in error.
B8ZSRIR1.1B8ZS Code Word Detect. Set when a B8ZS code word is detected at
RPOS and RNEG independent of whether the B8ZS mode is selected or
not via CCR2.6.
FBERIR1.0Frame Bit Error. Set when a Ft (D4) or FPS (ESF) framing bit is received in
error.
RIR2: RECEIVE INFORMATION REGISTER 2 (Address=31 Hex)
(MSB)(LSB)
RL1RL0TESFTESETSLIPJALTRPDVTPDV
SYMBOLPOSITIONNAME AND DESCRIPTION
RL1RIR2.7Receive Level Bit 1. See Table 4–1.
RL0RIR2.6Receive Level Bit 0. See Table 4–1.
TESFRIR2.5Transmit Elastic Store Full. Set when the transmit elastic store buffer fills
TESERIR2.4Transmit Elastic Store Empty . Set when the transmit elastic store buffer
TSLIPRIR2.3Transmit Elastic Store Slip Occurrence. Set when the transmit elastic
JALTRIR2.2Jitter Attenuator Limit Trip. Set when the jitter attenuator FIFO reaches
RPDVRIR2.1Receive Pulse Density V iolation. Set when the receive data stream does
TPDVRIR2.0Transmit Pulse Density Violation. Set when the transmit data stream
and a frame is deleted.
empties and a frame is repeated.
store has either repeated or deleted a frame.
to within 4–bits of it’s limit; useful for debugging jitter attenuation operation.
not meet the ANSI T1.403 requirements for pulse density.
does not meet the ANSI T1.403 requirements for pulse density.
DS2151Q RECEIVE T1 LEVEL INDICATION Table 4–1
RL1RL0TYPICAL LEVEL RECEIVED
00+2 dB to –7.5 dB
01–7.5 dB to –15 dB
10–15 dB to –22.5 dB
11less than –22.5 dB
022697 15/46
DS2151Q
SR1: STATUS REGISTER 1 (Address=20 Hex)
(MSB)(LSB)
LUPLDNLOTCRSLIPRBLRYELRCLRLOS
SYMBOLPOSITIONNAME AND DESCRIPTION
LUPSR1.7Loop Up Code Detected. Set when the repeating ...00001... loop up code
LDNSR1.6Loop Down Code Detected. Set when the repeating ...001... loop down
LOTCSR1.5Loss of Transmit Clock. Set when the TCLK pin has not transitioned for
RSLIPSR1.4Receive Elastic Store Slip Occurrence. Set when the receive elastic
RBLSR1.3Receive Blue Alarm. Set when a blue alarm is received at RTIP and
RYELSR1.2Receive Yellow Alarm. Set when a yellow alarm is received at RTIP and
RCLSR1.1Receive Carrier Loss. Set when 192 consecutive zeros have been
RLOSSR1.0Receive Loss of Sync. Set when the device is not synchronized to the
is being received.
code is being received.
one channel time (or 5.2us). Will force pin 16 high if enabled via CCR1.6.
Based on RCLK.
store has either repeated or deleted a frame.
RRING. See note below.
RRING.
detected at RTIP and RRING.
receive T1 stream.
DS2151Q ALARM SET AND CLEAR CRITERIA Table 4–2
ALARMSET CRITERIACLEAR CRITERIA
Blue Alarm (AIS) (see note 1
below)
Yellow Alarm
1. D4 bit 2 mode (RCR2.2=0)
2. D4 12th F–bit mode
(RCR2.2=1; this mode is also
referred to as the “Japanese
when over a 3 ms window, five or
less zeros are received
when bit 2 of 256 consecutive
channels is set to zero for at least
254 occurrences
when the 12th framing bit is set to
one for two consecutive occurrences
when over a 3 ms window, six or
more zeros are received
when bit 2 of 256 consecutive
channels is set to zero for less
than 254 occurrences
when the 12th framing bit is set to
zero for two consecutive occurrences
Y ellow Alarm”)
3. ESF Modewhen 16 consecutive patterns of
00FF hex appear in the FDL
when 14 or less patterns of 00FF
hex out of 16 possible appear in
the FDL
Red Alarm (RCL) (this alarm is
also referred to as Loss of Signal)
when 192 consecutive zeros are
received
when 14 or more ones out of 112
possible bit positions are received
starting with the first one received
NOTE:
1. The definition of Blue Alarm (or Alarm Indication Signal) is an unframed all ones signal. Blue alarm detectors
should be able to operate properly in the presence of a 10–3 error rate and they should not falsely trigger on a
framed all ones signal. The blue alarm criteria in the DS2151Q has been set to achieve this performance. It is
recommended that the RBL bit be qualified with the RLOS status bit in detecting a blue alarm.
022697 16/46
DS2151Q
LOOP UP/DOWN CODE DETECTION
Bits SR1.7 and SR1.6 will indicate when either the standard “loop up” or “loop down” codes are being received
by the DS2151Q. When a loop up code has been
received for 5 seconds, the CPE is expected to loop the
recovered data (without correcting BPVs) back to the
source. The loop down code indicates that the loopback
should be discontinued. See the AT&T publication TR
62411 for more details. The DS2151Q will detect the
loop up/down codes in both framed and unframed cir-
cumstances with bit error rates as high as 10**–2. The
loop code detector has a nominal integration period of
48 ms. Hence, after about 48 ms of receiving either
code, the proper status bit will be set to a one. After this
initial indication, it is recommended that the software
poll the DS2151Q every 100 ms to 500 ms until
5 seconds has elapsed to insure that the code is continuously present. Once 5 seconds has passed, the
DS2151Q should be taken into or out of loopback via the
Remote Loopback (RLB) bit in CCR1.
SR2: STATUS REGISTER 2 (Address=21 Hex)
(MSB)(LSB)
RMFTMFSECRFDLTFDLRMTCHRAF–
SYMBOLPOSITIONNAME AND DESCRIPTION
RMFSR2.7Receive Multiframe. Set on receive multiframe boundaries.
TMFSR2.6Transmit Multiframe. Set on transmit multiframe boundaries.
SECSR2.5One Second Timer . Set on increments of one second based on RCLK; will
RFDLSR2.4Receive FDL Buffer Full. Set when the receive FDL buffer (RFDL) fills to
TFDLSR2.3Transmit FDL Buffer Empty. Set when the transmit FDL buffer (TFDL)
RMTCHSR2.2Receive FDL Match Occurrence. Set when the RFDL matches either
RAFSR2.1Receive FDL Abort. Set when eight consecutive one’s are received in the
–SR2.0Not Assigned. Should be set to zero when written.
be set in increments of 999 ms, 999 ms, and 1002 ms every 3 seconds.
capacity (8–bits).
empties.
RFDLM1 or RFDLM2.
FDL.
IMR1: INTERRUPT MASK REGISTER 1 (Address=7F Hex)
(MSB)(LSB)
LUP
SYMBOLPOSITIONNAME AND DESCRIPTION
LUPIMR1.7Loop Up Code Detected.
LDNIMR1.6Loop Down Code Detected.
LOTCIMR1.5Loss of Transmit Clock.
LDNLOTCSLIPRBLRYELRCLRLOS
0=interrupt masked
1=interrupt enabled
0=interrupt masked
1=interrupt enabled
0=interrupt masked
1=interrupt enabled
022697 17/46
DS2151Q
SLIPIMR1.4Elastic Store Slip Occurrence.
0=interrupt masked
1=interrupt enabled
RBLIMR1.3Receive Blue Alarm.
0=interrupt masked
1=interrupt enabled
RYELIMR1.2Receive Yellow Alarm.
0=interrupt masked
1=interrupt enabled
RCLIMR1.1Receive Carrier Loss.
0=interrupt masked
1=interrupt enabled
RLOSIMR1.0Receive Loss of Sync.
0=interrupt masked
1=interrupt enabled
IMR2: INTERRUPT MASK REGISTER 2 (Address=6F Hex)
(MSB)(LSB)
RMFTMFSECRFDLTFDLRMTCHRAF–
SYMBOLPOSITIONNAME AND DESCRIPTION
RMFIMR2.7Receive Multiframe.
TMFIMR2.6Transmit Multiframe.
SECIMR2.5One Second Timer .
RFDLIMR2.4Receive FDL Buffer Full.
TFDLIMR2.3Transmit FDL Buffer Empty.
RMTCHIMR2.2Receive FDL Match Occurrence.
RAFIMR2.1Receive FDL Abort.
–IMR2.0Not Assigned. Should be set to zero when written to.
0=interrupt masked
1=interrupt enabled
0=interrupt masked
1=interrupt enabled
0=interrupt masked
1=interrupt enabled
0=interrupt masked
1=interrupt enabled
0=interrupt masked
1=interrupt enabled
0=interrupt masked
1=interrupt enabled
0=interrupt masked
1=interrupt enabled
022697 18/46
DS2151Q
5.0 ERROR COUNT REGISTERS
There are a set of three counters in the DS2151Q that
record bipolar violations, excessive zeros, errors in the
CRC6 code words, framing bit errors, and number of
multiframes that the device is out of receive synchronization. Each of these three counters are automatically
updated on one second boundaries as determined by
the one second timer in Status Register 2 (SR2.5).
Hence, these registers contain performance data from
the previous second. The user can use the interrupt
from the one second timer to determine when to read
these registers. The user has a full second to read the
counters before the data is lost. All three counters will
saturate at their respective maximum counts and they
will not rollover (note: only the Line Code Violation
Count Register has the potential to overflow).
5.1 Line Code Violation Count Register
(LCVCR)
Line Code Violation Count Register 1 (LCVCR1) is the
most significant word and LCVCR2 is the least significant word of a 16–bit counter that records code violations (CVs). CVs are defined as Bipolar Violations
(BPVs) or excessive zeros. See T able 5–1 for details of
exactly what the LCVCRs count. If the B8ZS mode is
set for the receive side via CCR2.2, then B8ZS code
words are not counted. This counter is always enabled;
it is not disabled during receive loss of synchronization
(RLOS=1) conditions.
LCVCR1: LINE CODE VIOLATION COUNT REGISTER 1 (Address=23 Hex)
LCVCR2: LINE CODE VIOLATION COUNT REGISTER 2 (Address=24 Hex)
(MSB)(LSB)
LCV15LCV14LCV13LCV12LCV11LCV10LCV9LCV8
LCV7LCV6LCV5LCV4LCV3LCV2LCV1LCV0
SYMBOLPOSITIONNAME AND DESCRIPTION
LCV15LCVCR1.7MSB of the 16–Bit code violation count
LCV0LCVCR2.0LSB of the 16–Bit code violation count
LCVCR1
LCVCR2
LINE CODE VIOLATION COUNTING ARRANGEMENTS Table 5–1
COUNT EXCESSIVE
ZEROS?
(RCR1.7)
nonoBPVs
yesnoBPVs + 16 consecutive zeros
noyesBPVs (B8ZS code words not counted)
yesyesBPVs + 8 consecutive zeros
5.2 Path Code Violation Count Register
(PCVCR)
When the receive side of the DS2151Q is set to operate
in the ESF framing mode (CCR2.3=1), PCVCR will
automatically be set as a 12–bit counter that will record
errors in the CRC6 code words. When set to operate in
the D4 framing mode (CCR2.3=0), PCVCR will auto-
B8ZS ENABLED?
(CCR2.2)
WHAT IS COUNTED IN THE LCVCRs
matically count errors in the Ft framing bit position. Via
the RCR2.1 bit, the DS2151Q can be programmed to
also report errors in the Fs framing bit position. The
PCVCR will be disabled during receive loss of synchronization (RLOS=1) conditions. See Table 5–2 for a
detailed description of exactly what errors the PCVCR
counts.
CRC/FB11PCVCR1.3MSB of the 12–Bit CRC6 Error or Frame Bit Error Count (note 2)
CRC/FB0PCVCR2.0LSB of the 12–Bit CRC6 Error or Frame Bit Error Count (note 2)
PCVCR1
PCVCR2
NOTES:
1. The upper nibble of the counter at address 25 is used by the Multiframes Out of Sync Count Register.
2. PCVCR counts either errors in CRC code words (in the ESF framing mode; CCR2.3=1) or errors in the framing bit position (in the D4 framing mode; CCR2.3=0).
D4noerrors in the Ft pattern
D4yeserrors in both the Ft and Fs patterns
ESFdon’t careerrors in the CRC6 code words
COUNT FS
ERRORS? (RCR2.1)
WHAT IS COUNTED IN THE PCVCRs
5.3 Multiframes Out of Sync Count Register
(MOSCR)
Normally the MOSCR is used to count the number of
multiframes that the receive synchronizer is out of sync
(RCR2.0=1). This number is useful in ESF applications
needing to measure the parameters Loss Of Frame
Count (LOFC) and ESF Error Events as described in
AT&T publication TR54016. When the MOSCR is operated in this mode, it is not disabled during receive loss of
synchronization (RLOS=1) conditions. The MOSCR
has alternate operating mode whereby it will count
either errors in the Ft framing pattern (in the D4 mode) or
errors in the FPS framing pattern (in the ESF mode).
When the MOSCR is operated in this mode, it is disabled during receive loss of synchronization (RLOS=1)
conditions. See Table 5–3 for a detailed description of
what the MOSCR is capable of counting.
MOSCR1: MULTIFRAMES OUT OF SYNC COUNT REGISTER 1 (Address=25 Hex)
MOSCR2: MULTIFRAMES OUT OF SYNC COUNT REGISTER 2 (Address=27 Hex)
MOS/FB11MOSCR1.7MSB of the 12–Bit Multiframes Out of Sync or F–Bit Error Count (note 2)
MOS/FB0MOSCR2.0LSB of the 12–Bit Multiframes Out of Sync or F–Bit Error Count (note 2)
022697 20/46
MOSCR1
MOSCR2
DS2151Q
NOTES:
1. The lower nibble of the counter at address 25 is used by the Path Code Violation Count Register.
2. MOSCR counts either errors in framing bit position (RCR2.0=0) or the number of multiframes out of sync
(RCR2.0=1).
MULTIFRAMES OUT OF SYNC COUNTING ARRANGEMENTS Table 5–3
COUNT MOS OR
FRAMING MODE
(CCR2.3)
D4MOSnumber of multiframes out of sync
D4F–Biterrors in the Ft pattern
ESFMOSnumber of multiframes out of sync
ESFF–Biterrors in the FPS pattern
F–BIT ERRORS?
(RCR2.0)
WHAT IS COUNTED IN THE MOSCRs
6.0 FDL/FS EXTRACTION AND INSERTION
The DS2151Q has the ability to extract/insert data from/
into the Facility Data Link (FDL) in the ESF framing
mode and from/into Fs bit position in the D4 framing
mode. Since SLC–96 utilizes the Fs bit position, this
capability can also be used in SLC–96 applications.
The operation of the receive and transmit sections will
be discussed separately.
6.1 Receive Section
In the receive section, the recovered FDL bits or Fs bits
are shifted bit–by–bit into the Receive FDL register
(RFDL). Since the RFDL is 8 bits in length, it will fill up
every 2 ms (8 times 250 us). The DS2151Q will signal
an external microcontroller that the buffer has filled via
the SR2.4 bit. If enabled via IMR2.4, the INT2
toggle low indicating that the buffer has filled and needs
to be read. The user has 2 ms to read this data before it
is lost. If the byte in the RFDL matches either of the
bytes programmed into the RFDLM1 or RFDLM2 registers, then the SR2.2 bit will be set to a one and the INT2
pin will
pin will be toggled low if enabled via IMR2.2. This feature allows an external microcontroller to ignore the FDL
or Fs pattern until an important event occurs.
The DS2151Q also contains a zero destuffer which is
controlled via the CCR2.0 bit. In both ANSI T1.403 and
TR54016, communications on the FDL follows a subset
of a LAPD protocol. The LAPD protocol states that no
more than 5 ones should be transmitted in a row so that
the data does not resemble an opening or closing flag
(01111110) or an abort signal (11111111). If enabled via
CCR2.0, the DS2151Q will automatically look for 5 ones
in a row, followed by a zero. If it finds such a pattern, it
will automatically remove the zero. If the zero destuffer
sees six or more ones in a row followed by a zero, the
zero is not removed. The CCR2.0 bit should always be
set to a one when the DS2151Q is extracting the FDL.
More on how to use the DS2151Q in FDL and SLC–96
applications is covered in a separate Application Note.
Also, contact the factory for C code software that
implements both ANSI T1.403 and AT&T TR54016.
RFDL: RECEIVE FDL REGISTER (Address=28 Hex)
(MSB)(LSB)
RFDL7RFDL6RFDL5RFDL4RFDL3RFDL2RFDL1RFDL0
SYMBOLPOSITIONNAME AND DESCRIPTION
RFDL7RFDL.7MSB of the Received FDL Code
RFDL0RFDL.0LSB of the Received FDL Code
The Receive FDL Register (RFDL) reports the incoming
Facility Data Link (FDL) or the incoming Fs bits. The
LSB is received first.
022697 21/46
DS2151Q
RFDLM1: RECEIVE FDL MATCH REGISTER 1 (Address=29 Hex)
RFDLM2: RECEIVE FDL MATCH REGISTER 2 (Address=2A Hex)
(MSB)(LSB)
RFDL7RFDL6RFDL5RFDL4RFDL3RFDL2RFDL1RFDL0
SYMBOLPOSITIONNAME AND DESCRIPTION
RFDL7RFDL.7MSB of the FDL Match Code
RFDL0RFDL.0LSB of the FDL Match Code
When the byte in the Receive FDL Register matches
either of the two Receive FDL Match Registers
(RFDLM1/RFDLM2), SR2.2 will be set to a one and the
INT2
will go active if enabled via IMR2.2.
6.2 Transmit Section
The transmit section will shift out into the T1 data
stream, either the FDL (in the ESF framing mode) or the
Fs bits (in the D4 framing mode) contained in the Transmit FDL register (TFDL). When a new value is written to
the TFDL, it will be multiplexed serially (LSB first) into
the proper position in the outgoing T1 data stream. After
the full eight bits has been shifted out, the DS2151Q will
signal the host microcontroller that the buffer is empty
and that more data is needed by setting the SR2.3 bit to
a one. The INT2
IMR2.3. The user has 2 ms to update the TFDL with a
will also toggle low if enabled via
new value. If the TFDL is not updated, the old value in
the TFDL will be transmitted once again.
The DS2151Q also contains a zero stuffer which is controlled via the CCR2.4 bit. In both ANSI T1.403 and
TR54016, communications on the FDL follows a subset
of a LAPD protocol. The LAPD protocol states that no
more than 5 ones should be transmitted in a row so that
the data does not resemble an opening or closing flag
(01111110) or an abort signal (11111111). If enabled via
CCR2.4, the DS2151Q will automatically look for 5 ones
in a row. If it finds such a pattern, it will automatically
insert a zero after the five ones. The CCR2.4 bit should
always be set to a one when the DS2151Q is inserting
the FDL. More on how to use the DS2151Q in FDL and
SLC–96 applications is covered in a separate Application Note.
TFDL: TRANSMIT FDL REGISTER (Address=7E Hex)
(MSB)(LSB)
TFDL7
SYMBOLPOSITIONNAME AND DESCRIPTION
TFDL7TFDL.7MSB of the FDL code to be transmitted
TFDL0TFDL.0LSB of the FDL code to be transmitted
TFDL6TFDL5TFDL4TFDL3TFDL2TFDL1TFDL0
The Transmit FDL Register (TFDL) contains the Facility
Data Link (FDL) information that is to be inserted on a
022697 22/46
byte basis into the outgoing T1 data stream. The LSB is
transmitted first.
DS2151Q
7.0 SIGNALING OPERATION
The Robbed–Bit signaling bits embedded in the T1
stream can be extracted from the receive stream and
inserted into the transmit stream by the DS2151Q.
There is a set of 12 registers for the receive side (RS1 to
RS12) and 12 registers on the transmit side (TS1 to
CCR1.5 bit is used to control the robbed signaling bits
as they appear at RSER. If CCR1.5 is set to zero, then
the robbed signaling bits will appear at RSER in their
proper position as they are received. If CCR1.5 is set to
a one, then the robbed signaling bit positions will be
forced to a one at RSER.
TS12). The signaling registers are detailed below. The
RS1 TO RS12: RECEIVE SIGNALING REGISTERS (Address=60 to 6B Hex)
Each Receive Signaling Register (RS1 to RS12) reports
the incoming Robbed–Bit signaling from eight DS0
channels. In the ESF framing mode, there can be up to
four signaling bits per channel (A, B, C, and D). In the D4
framing mode, there are only two framing bits per channel (A and B). In the D4 framing mode, the DS2151Q will
replace the C and D signaling bit positions with the A and
B signaling bits from the previous multiframe. Hence,
whether the DS2151Q is operated in either framing
mode, the user needs only to retrieve the signaling bits
every 3ms. The bits in the Receive Signaling Registers
are updated on multiframe boundaries so the user can
utilize the Receive Multiframe Interrupt in the Receive
Status Register 2 (SR2.7) to know when to retrieve the
signaling bits. The Receive Signaling Registers are frozen and not updated during a loss of sync condition
(SR1.0=1). They will contain the most recent signaling
information before the “OOF” occurred.
022697 23/46
DS2151Q
TS1 TO TS12: TRANSMIT SIGNALING REGISTERS (Address=70 to 7B Hex)
Each Transmit Signaling Register (TS1 to TS12) contains the Robbed–Bit signaling for eight DS0 channels
that will be inserted into the outgoing stream if enabled
to do so via TCR1.4. In the ESF framing mode, there
can be up to four signaling bits per channel (A, B, C, and
D). On multiframe boundaries, the DS2151Q will load
the values present in the Transmit Signaling Register
into an outgoing signaling shift register that is internal to
the device. The user can utilize the Transmit Multiframe
Interrupt in Status Register 2 (SR2.6) to know when to
update the signaling bits. In the ESF framing mode, the
interrupt will come every 3 ms and the user has a full 3
ms to update the TSRs. In the D4 framing mode, there
are only two framing bits per channel (A and B). However in the D4 framing mode, the DS2151Q uses the C
022697 24/46
and D bit positions as the A and B bit positions for the
next multiframe. The DS2151Q will load the values in
the TSRs into the outgoing shift register every other D4
multiframe.
8.0 SPECIAL TRANSMIT SIDE REGISTERS
There is a set of seven registers in the DS2151Q that
can be used to custom tailor the data that is to be transmitted onto the T1 line, on a channel by channel basis.
Each of the 24 T1 channels can be either forced to be
transparent or to have a user defined idle code inserted
into them. Each of these special registers is defined
below.
TTR1/TTR2/TTR3: TRANSMIT TRANSPARENCY REGISTERS (Address=39 to 3B Hex)
Each of the bit positions in the Transmit Transparency
Registers (TTR1/TTR2/TTR3) represent a DS0 channel in the outgoing frame. When these bits are set to a
one, the corresponding channel is transparent (or
clear). If a DS0 is programmed to be clear, no Robbed–
Bit signaling will be inserted nor will the channel have Bit
7 stuffing performed. However, in the D4 framing mode,
bit 2 will be overwritten by a zero when a Y ellow Alarm is
TTR registers from determining which channels are to
have Bit 7 stuffing performed. If the TCR2.0 and
TCR1.3 bits are set to one, then all 24 T1 channels will
have Bit 7 stuffing performed on them regardless of how
the TTR registers are programmed. In this manner, the
TTR registers are only affecting which channels are to
have Robbed–Bit signaling inserted into them. Please
see Figure 13–9 for more details.
transmitted. Also the user has the option to prevent the
TIR1/TIR2/TIR3: TRANSMIT IDLE REGISTERS (Address=3C to 3E Hex)
TIDR7TIDR.7MSB of the Idle Code
TIDR0TIDR.0LSB of the Idle Code
Each of the bit positions in the Transmit Idle Registers
(TIR1/TIR2/TIR3) represent a DS0 channel in the outgoing frame. When these bits are set to a one, the corresponding channel will transmit the Idle Code contained
in the Transmit Idle Definition Register (TIDR).
Robbed–Bit signaling and Bit 7 stuffing will occur over
the programmed Idle Code unless the DS0 channel is
022697 25/46
DS2151Q
made transparent by the Transmit T ransparency Registers.
9.0 CLOCK BLOCKING REGISTERS
The Receive Channel Blocking Registers
(RCBR1/RCBR2/RCBR3) and the Transmit Channel
Blocking Registers (TCBR1/TCBR2/TCBR3) control
the RCHBLK and TCHBLK pins respectively. The
RCHBLK and TCHCLK pins are user programmable
outputs that can be forced either high or low during individual channels. These outputs can be used to block
clocks to a UART or LAPD controller in Fractional T1 or
ISDN–PRI applications. When the appropriate bits are
set t o a one, the RCHBLK and TCHCLK pins will be held
high during the entire corresponding channel time. See
the timing in Section 13 for an example.
RCBR1/RCBR2/RCBR3: RECEIVE CHANNEL BLOCKING REGISTERS (Address=6C to 6E Hex)
CH1TCBR1.01=force the TCHBLK pin high during this channel time
10.0 ELASTIC STORES OPERATION
The DS2151Q has two onboard two–frame (386 bits)
elastic stores. These elastic stores have two main purposes. First, they can be used to rate convert the T1
data stream to 2.048 Mbps (or a multiple of 2.048 Mbps)
which is the E1 rate. Secondly, they can be used to
absorb the differences in frequency and phase between
the T1 data stream and an asynchronous (i.e., not frequency locked) backplane clock. Both elastic stores
contain full controlled slip capability which is necessary
for this second purpose. The receive side elastic store
can be enabled via CCR1.2 and the transmit side elastic
store is enabled via CCR1.7. The elastic stores can be
022697 26/46
0=force the TCHBLK pin to remain low during this channel time
forced to a known depth via the Elastic Store Reset bit
(CCR3.6).
10.1 Receive Side
If the receive side elastic store is enabled (CCR1.2=1),
then the user must provide either a 1.544 MHz
(CCR1.3=0) or 2.048 MHz (CCR1.3=1) clock at the
SYSCLK pin. The user has the option of either providing
a frame sync at the RFSYNC pin (RCR2.3=1) or having
the RFSYNC pin provide a pulse on frame boundaries
(RCR2.3=0). If the user wishes to obtain pulses at the
frame boundary , then RCR2.4 must be set to zero and if
the user wishes to have pulses occur at the multiframe
DS2151Q
boundary , then RCR2.4 must be set to one. If the user
selects to apply a 2.048 MHz clock to the SYSCLK pin,
then the data output at RSER will be forced to all ones
every fourth channel and the F–bit will be deleted.
Hence channels 1, 5, 9, 13, 17, 21, 25, and 29 (timeslots
0, 4, 8, 12, 16, 20, 24, and 28) will be forced to a one.
Also, in 2.048 MHz applications, the RCHBLK output
will be forced high during the same channels as the
RSER pin. See Section 13 for more details. This is useful in T1 to CEPT (E1) conversion applications. If the
386–bit elastic buffer either fills or empties, a controlled
slip will occur. If the buffer empties, then a full frame of
data (193 bits) will be repeated at RSER and the SR1.4
and RIR1.3 bits will be set to a one. If the buffer fills, then
a full frame of data will be deleted and the SR1.4 and
RIR1.4 bits will be set to a one.
10.2 Transmit Side
The transmit side elastic store can only be used if the
receive side elastic store is enabled. The operation of
the transmit elastic store is very similar to the receive
side; both have controlled slip operation and both can
operate with either a 1.544 MHz or a 2.048 MHz
SYSCLK. When the transmit elastic store is enabled,
both the SYSCLK and RSYNC signals are shared by
both the elastic stores. Hence, they will have the same
backplane PCM frame and data structure. Controlled
slips in the transmit elastic store are reported in the
RIR2.5 bit and the direction of the slip is reported in the
RIR2.3 and RIR2.4 bits.
T1 clock (i.e., the RCLK output), the full two frame depth
of the onboard elastic stores is really not needed. In
fact, in some delay sensitive applications, the normal
two frame depth may be excessive. If the CCR3.7 bit is
set to one, then the receive elastic store (and also the
transmit elastic store if it is enabled) will be forced to a
maximum depth of 32 bits instead of the normal 386 bits.
In this mode, the SYSCLK must be frequency locked to
RCLK and all of the slip contention logic in the DS2151Q
is disabled (since slips cannot occur). Also, since the
buffer depth is no longer two frames deep, the DS2151Q
must be set up to source either a frame or multiframe
pulse at the RSYNC pin. On power–up after the
SYSCLK has locked to the RCLK signal, the elastic
store reset bit (CCR3.6) should be toggled from a zero
to a one to insure proper operation.
11.0 RECEIVE MARK REGISTERS
The DS2151Q has the ability to replace the incoming
data, on a channel–by–channel basis with either an idle
code (7F Hex) or the digital milliwatt code which is an
eight byte repeating pattern that represents a 1 KHz
sine wave (1E/0B/0B/1E/9E/8B/8B/9E). The RCR2.7
bit will determine which code is used. Each bit in the
RMRs, represents a particular channel. If a bit is set to a
one, then the receive data in that channel will be
replaced with one of the two codes. If a bit is set to zero,
no replacement occurs.
10.3 Minimum Delay Synchronous SYSCLK
Mode
In applications where the DS2151Q is connected to
backplanes that are frequency locked to the recovered
RMR1/RMR2/RMR3: RECEIVE MARK REGISTERS (Address=2D to 2F Hex)
0=do not affect the receive data associated with this channel
CH1RMR1.01=replace the receive data associated with this channel with either the idle
code or the digital milliwatt code (depends on the RCR2.7 bit)
RMR1 (2D)
RMR2 (2E)
RMR3 (2F)
022697 27/46
DS2151Q
12.0 LINE INTERFACE FUNCTIONS
The line interface function in the DS2151Q contains
three sections; (1) the receiver which handles clock and
and drives the T1 line, and (3) the jitter attenuator. Each
of the these three sections is controlled by the Line Interface Control Register (LICR) which is described below.
data recovery, (2) the transmitter which waveshapes
LICR: LINE INTERFACE CONTROL REGISTER (Address=7C Hex)
(MSB)(LSB)
L2L1L0EGLJASJABDSDJATPD
SYMBOLPOSITIONNAME AND DESCRIPTION
L2LICR.7Line Build Out Select Bit 2 . Sets the transmitter build out; see the Table
L1LICR.6Line Build Out Select Bit 1. Sets the transmitter build out; see the Table 12–2
L0LICR.5Line Build Out Select Bit 0. Sets the transmitter build out; see the Table 12–2
0=normal transmitter operation
1=powers down the transmitter and 3–states the TTIP and TRING pins
LICR
12.1 Receive Clock and Data Recovery
The DS2151Q contains a digital clock recovery system.
See the DS2151Q Block Diagram in Section 1 and Figure 12–1 for more details. The DS2151Q couples to the
receive T1 twisted pair via a 1:1 transformer. See Table
12–3 for transformer details. The DS2151Q automatically adjusts to the T1 signal being received at the RTIP
and RRING pins and can handle T1 lines from 0 feet to
over 6000 feet in length. The crystal attached at the
XTAL1 and XT AL2 pins is multiplied by four via an internal PLL and fed to the clock recovery system. The clock
recovery system uses both edges of the clock from the
PLL circuit to form a 32 times oversampler which is used
to recover the clock and data. This oversampling technique offers outstanding jitter tolerance (see Figure
12–2). The EGL bit in the Line Interface Control Register is used to limit the sensitivity of the receiver in the
022697 28/46
DS2151Q. For most CPE applications, a receiver sensitivity of –30 dB is wholly sufficient and hence the EGL
bit should be set to one. In some applications, more
sensitivity than –30 dB may be required and the
DS2151Q will allow the receiver to go as low as –36 dB if
the EGL bit is set to zero. However when the EGL bit is
set to zero, the DS2151Q will be more susceptible to
crosstalk and its jitter tolerance will suffer.
Normally, the clock that is output at the RCLK pin is the
recovered clock from the T1 AMI waveform presented
at the RTIP and RRING inputs. When no AMI signal is
present at RTIP and RRING, a Receive Carrier Loss
(RCL) condition will occur and the RCLK can be sourced
from either the ACLKI pin or from the crystal attached to
the XTAL1 and XTAL2 pins. The DS2151Q will sense
the ACLKI pin to determine if a clock is present. If no
DS2151Q
clock is applied to the ACLKI pin, then it should be tied to
RVSS to prevent the device from falsely sensing a
clock. See Table 12–1. If the jitter attenuator is either
placed in the transmit path or is disabled, the RCLK output can exhibit short high cycles of the clock. This is due
to the highly oversampled digital clock recovery cir-
SOURCE OF RCLK UPON RCL Table 12–1
ACLKI PRESENT?RECEIVE SIDE JITTER
ATTENUATOR
YesACLKI via the jitter attenuatorACLKI
Nocentered crystalTCLK via the jitter attenuator
12.2 Transmit Waveshaping and Line Driving
The DS2151Q 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 T1 line. The waveforms created by the DS2151Q
LBO SELECT IN LICR Table 12–2
L2L1L0LINE BUILD OUTAPPLICATION
0000 to 133 feet/0 dBDSX–1/CSU
001133 to 266 feetDSX–1
010266 to 399 feetDSX–1
011399 to 533 feetDSX–1
100533 to 655 feetDSX–1
101–7.5 dBCSU
110–15 dBCSU
111–22.5 dBCSU
cuitry. If the jitter attenuator is placed in the receive path
(as is the case in most applications), the jitter attenuator
restores the RCLK to being close to 50% duty cycle.
Please see the Receive AC Timing Characteristics in
Section 14 for more details.
TRANSMIT SIDE JITTER
ATTENUATOR
meet the latest ANSI, AT&T, and CCITT specifications.
See Figure 12–3. The user will select which waveform
is to be generated by properly programming the L0 to L2
bits in the Line Interface Control Register (LICR).
Due to the nature of the design of the transmitter in the
DS2151Q, very little jitter (less then 0.005 UIpp broadBand from 10Hz to 100 KHz) is added to the jitter present on TCLK. Also, the waveforms that they create are
independent of the duty cycle of TCLK. The transmitter
in the DS2151Q couples to the T1 transmit twisted pair
via a 1:1.15 or 1:1.36 step up transformer as shown in
Figure 12–1. In order for the devices to create the
proper wavefroms, the transformer used must meet the
specifications listed in Table 12–3.
022697 29/46
DS2151Q
TRANSFORMER SPECIFICATIONS Table 12–3
SPECIFICATIONRECOMMENDED VALUE
Turns Ratio1:1 (receive) and 1:1.15 or 1:1.36 (transmit) ±5%
Primary Inductance600 µH minimum
Leakage Inductance1.0 µH maximum
Interwinding Capacitance40 pF maximum
DC Resistance1.2 ohms maximum
12.3 JITTER ATTENUATOR
The DS2151Q contains an onboard jitter attenuator that
can be set to a depth of either 32 or 128 bits via the
JABDS bit in the Line Interface Control Register (LICR).
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 Figure 12–4. The jitter attenuator can be placed in either the receive path or
t he transmit path by appropriately setting or clearing the
JAS bit in the LICR. Also, the jitter attenuator can be disabled (in effect, removed) by setting the DJA–bit in the
LICR. In order for the jitter attenuator to operate prop-
The jitter attenuator divides the clock provided by the
6.176 MHz crystal at the XTAL1 and XTAL2 pins to
create an output clock that contains very little jitter.
Onboard circuitry will pull the crystal (by switching in or
out load capacitance) to keep it long term averaged to
the same frequency as the incoming T1 signal. If the
incoming jitter exceeds either 120UIpp (buffer depth is
128 bits) or 28 UIpp (buffer depth is 32 bits), then the
DS2151Q will divide the attached crystal by either 3.5 or
4.5 instead of the normal 4 to keep the buffer from overflowing. When the device divides by either 3.5 or 4.5, it
also sets the Jitter Attenuator Limit Trip (JAL T) bit in the
Receive Information Register 2 (RIR2.2).
erly, a crystal with the specifications listed in Table 12–4
below must be connected to the XTAL1 and XT AL2 pins.
Effective Series Resistance40 ohms maximum
Crystal CutAT
CL=45 pF, delta frequency=–175 to –250 ppm
022697 30/46
DS2151Q EXTERNAL ANALOG CONNECTIONS Figure 12–1
0.47 µF
T1 TRANSMIT
PAIR
1.15:1 (Rt=0 ohms) or
1.36:1 (Rt=4.7 ohms)
(NON–POLARIZED)
Rt
Rt
DS2151Q
TTIP
TRING
DVDD
DVSS
RVDD
RVSS
0.01 µF
0.1 µF
+5V
DS2151Q
+
68 µF0.1 µF
T1 RECEIVE
PAIR
NOTE: KEEP THE LINES TO RTIP AND
RRING AS SHORT AS POSSIBLE AND
ROUTE THEM VIA THE EXACT SAME
PATH.
1:1
R1R2
0.1 µF
R1=R2=50 OHMS (+1%)
RTIP
RRING
TVDD
TVSS
XTAL1
XTAL2
NOTE:
See the separate Application Note for details on how to construct a protected interface.
DS2151Q JITTER TOLERANCE Figure 12–2
1K
100
10
DS2151Q
TOLERANCE
0.1 µF
6.176 MHz
UNIT INTERVALS (Ulpp)
0.1
MINIMUM TOLERANCE
LEVEL AS PER
1
TR 62411 (DEC. 90)
101001K10K100K1
FREQUENCY (Hz)
022697 31/46
DS2151Q
DS2151Q TRANSMIT WAVEFORM TEMPLATE Figure 12–3
1.2
1.1
1.0
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
NORMALIZED AMPLITUDE
0.1
0
–0.1
–0.2
–0.3
–0.4
–0.5
NOTE: The template shown fits inside
the templates of T1.403/89 and
T1E1.2/93.
T1.102/87, T1X1.4/93,
CB 119 (Oct. 79), &
I.431 T emplate
–0.77
–0.39
–0.27
–0.27
–0.12
MAXIMUM CURVE
UI Time Amp.
–500
0.05
–255
0.05
–175
0.80
–175
1.15
–75
175
225
600
750
1.15
0
1.05
1.05
–0.07
0.05
0.05
0.00
0.27
0.35
0.93
1.16
MINIMUM CURVE
UI Time Amp.
–0.77
–500
–0.23
–150
–0.23
–150
–0.15
–100
0.00
0
0.15
100
0.23
150
0.23
150
0.46
300
0.66
430
0.93
600
1.16
750
–0.05
–0.05
0.50
0.95
0.95
0.90
0.50
–0.45
–0.45
–0.20
–0.05
–0.05
–500–400–300 –200 –1000100200300400500600700
DS2151Q JITTER ATTENUATION Figure 12–4
0 dB
–20 dB
–40 dB
JITTER ATTENUA TION (dB)
–60 dB
1101001K10K100K
022697 32/46
TIME (ns)
FREQUENCY (Hz)
TR 62411 (DEC. 90)
PROHIBITED
AREA
13.0 TIMING DIAGRAMS
RECEIVE SIDE D4 TIMING Figure 13–1
FRAME#
RSYNC
RSYNC
RSYNC
RLCLK
RLINK
1
2
3
4
12 345 67891011121 23 45
NOTES:
1. RSYNC in the frame mode (RCR2.4=0) and double-wide frame sync is not enabled (RCR2.5=0).
2. RSYNC in the frame mode (RCR2.4=0) and double-wide frame sync is enabled (RCR2.5=1).
3. RSYNC in the multiframe mode (RCR2.4=1).
4. RLINK data (S–bit) is updated one bit prior to even frames and held for two frames.
RECEIVE SIDE ESF TIMING Figure 13–2
FRAME#
1 2 3 4 5 6 7 8 91011121314151617
18 19 20 21 22 23 24
DS2151Q
1
RSYNC
2
RSYNC
3
RSYNC
4
RLCLK
5
RLINK
6
RLCLK
7
RLINK
NOTES:
1. RSYNC in the frame mode (RCR2.4=0) and double-wide frame sync is not enabled (RCR2.5=0).
2. RSYNC in the frame mode (RCR2.4=0) and double-wide frame sync is enabled (RCR2.5=1).
3. RSYNC in the multiframe mode (RCR2.4=1).
4. ZBTSI mode disabled (RCR2.6=0).
5. RLINK data (FDL bits) is updated one bit time before odd frames and held for two frames.
6. ZBTSI mode is enabled (RCR2.6=1).
7. RLINK data (Z bits) is updated one bit time before odd frame and held for four frames.
022697 33/46
DS2151Q
RECEIVE SIDE BOUNDARY TIMING WITH ELASTIC STORE(S) DISABLED Figure 13–3
RCLK
CHANNEL 23CHANNEL 24CHANNEL 1
RSER
RSYNC
RCHCLK
RCHBLK
RLCLK
RLINK
1
LSB MSBLSBMSBF
NOTES:
1. RCHBLK is programmed to block channel 24.
2. An ESF boundary is shown.
022697 34/46
1.544 MHz BOUNDARY TIMING WITH ELASTIC STORE(S) ENABLED Figure 13–4
SYSCLK
TSER/
RSER
RSYNC
RSYNC
RCHCLK
RCHBLK
LSB MSBLSBMSBF
1
2
3
CHANNEL 24CHANNEL 1CHANNEL 23
NOTES:
1. RSYNC is in the output mode (RCR2.3=0).
2. RSYNC is in the input mode (RCR2.3=1).
3. RCHBLK is programmed to block channel 24.
2.048 MHz BOUNDARY TIMING WITH ELASTIC STORE(S) ENABLED Figure 13–5
DS2151Q
SYSCLK
TSER/
1
RSER
RSYNC
RSYNC
RCHCLK
RCHBLK
LSB MSBLSB
2
3
4
CHANNEL 32CHANNEL 1CHANNEL 31
NOTES:
1. RSER data in channels 1, 5, 9, 13, 17, 21, 25, and 29 are forced to 1; TSER ignored during these channels.
2. RSYNC is in the output mode (RCR2.3=0).
3. RSYNC is in the input mode (RCR2.3=1).
4. RCHBLK is forced to 1 in the same channels as RSER (see Note 1).
022697 35/46
DS2151Q
TRANSMIT SIDE D4 TIMING Figure 13–6
FRAME#
TSYNC
TSYNC
TSYNC
TLCLK
4
TLINK
1
2
3
1 234 56 7891011121 234 5
NOTES:
1. TSYNC in the frame mode (TCR2.3=0) and double-wide frame sync is not enabled (TCR2.4=0).
2. TSYNC in the frame mode (TCR2.3=0) and double-wide frame sync is enabled (TCR2.4=1).
3. TSYNC in the multiframe mode (TCR2.3=1).
4. TLINK data (S–bit) is sampled during the F–bit position of even frames for insertion into the outgoing T1
stream when enabled via TCR1.2.
TRANSMIT SIDE ESF TIMING Figure 13–7
FRAME#
1 2 3 4 5 6 7 8 9 101112131415161718192021222324
1
TSYNC
2
TSYNC
3
TSYNC
4
TLCLK
5
TLINK
6
TLCLK
7
TLINK
NOTES:
1. TSYNC in the frame mode (TCR2.3=0) and double-wide frame sync is not enabled (TCR2.4=0).
2. TSYNC in the frame mode (TCR2.3=0) and double-wide frame sync is enabled (TCR2.4=1).
3. TSYNC in the multiframe mode (TCR2.4=1).
4. ZBTSI mode disabled (TCR2.5=0).
022697 36/46
DS2151Q
5. TLINK data (FDL bits) is sampled during the F-bit time of odd frame and inserted into the outgoing T1 stream if
enabled via TCR1.2.
6. ZBTSI mode is enabled (TCR2.5=1).
7. TLINK data (Z bits) is sampled during the F-bit time of frame 1, 5, 9, 13, 17, and 21 and inserted into the outgoing
stream if enabled via TCR1.2.
TRANSMIT SIDE BOUNDARY TIMING (WITH ELASTIC STORE(S) DISABLED) Figure 13–8
TCLK
1
TSER
TSYNC
TSYNC
TCHCLK
TCHBLK
CHANNEL 1
LSB MSBLSBMSBF
1
2
3
CHANNEL 2
LSB MSB
TLCLK
TLINK
Don’t Care
NOTES:
1. TSYNC is in the input mode (TCR2.2=0).
2. TSYNC is in the output mode (TCR2.2=1).
3. TCHBLK is programmed to block channel 1.
4. See Figures 13–4 and 13–5 for details on timing with the transmit side elastic store enabled.
022697 37/46
DS2151Q
DS2151Q TRANSMIT DATA FLOW Figure 13–9
TIR1 TO TIR3
TIDR
IDLE CODE MUX
TSER
01
TS1 TO TS12
ROBBED BIT SIGNALING ENABLE (TCR1.4)
TTR1 TO TTR3
TTR1 TO TTR3
GLOBAL BIT 7 STUFFING (TCR1.3)
BIT 7 ZERO SUPPRESSION ENABLE (TCR2.0)
TRANSMIT LOOP UP CODE (CCR3.1)
TRANSMIT LOOP DOWN CODE (CCR3.2)
FRAME MODE SELECT (CCR2.7)
D4 YELLOW ALARM SELECT (TCR2.1)
TRANSMIT YELLOW (TCR1.0)
FPS PATTERN
Ft PATTERN
FRAME MODE SELECT (CCR2.7)
FRAMING PASS THROUGH (TCR1.6)
FRAME MODE SELECT (CCR2.7)
CRC PASS THROUGH (TCR1.5)
TFDL
TLINK
10
SIGNALING MUX
BIT 7 STUFFING
LOOP CODE GENERATION
D4 BIT 2 YELLOW
ALARM INSERTION
1
0
FPS/Ft MUX
CRC CALCULATION
0
MUX
1
FDL/Fs
10
10
CRC MUX
022697 38/46
KEY
= REGISTER
= DEVICE PIN
= SELECTOR
TLINK SELECT (TCR1.2)
FRAME MODE SELECT (CCR2.7)
D4 YELLOW ALARM SELECT (TCR2.1)
TRANSMIT YELLOW (TCR1.0)
FRAME MODE SELECT (CCR2.7)
TRANSMIT YELLOW (TCR1.0
PULSE DENSITY ENFORCER ENABLE (CCR3.3)
PULSE DENSITY VIOLATION (RIR2.0)
TRANSMIT BLUE (TCR1.1)
B8ZS ENABLE (CCR2.6)
D4 12th Fs BIT
YELLOW ALARM GEN.
ESF YELLOW ALARM GEN.
(00FF HEX IN THE FDL)
ONE’S DENSITY MONITOR
AMI OR B8ZS CONVERTER/
BLUE ALARM GEN.
TO WAVESHAPING, FILTERS, AND
LINE DRIVERS
DS2151Q
ABSOLUTE MAXIMUM RATINGS*
Voltage on Any Pin Relative to Ground–1.0V to +7.0V
Operating Temperature0°C to +70°C
Storage Temperature–55°C to +125°C
Soldering Temperature260°C for 10 seconds
* This is a stress rating only and functional operation of the device at these or any other conditions above those
indicated in the operation sections of this specification is not implied. Exposure to absolute maximum rating
conditions for extended periods of time may affect reliability.
(–40°C to +85°C for DS2151QN)
RECOMMENDED DC OPERATION CONDITIONS(0°C to 70°C)
(–40°C to +85°C for DS2151QN)
PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Logic 1V
Logic 0V
SupplyV
IH
DD
2.0V
IL
–0.3+0.8V
4.755.25V1
+0.3V
DD
CAPACITANCE(tA=25°C)
PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Input CapacitanceC
Output CapacitanceC
IN
OUT
5pF
7pF
DC CHARACTERISTICS(0°C to 70°C; VDD=5V + 5%)
(–40°C to +85°C for DS2151QN)
PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Supply Current @ 5VI
Input LeakageI
Output LeakageI
Output Current (2.4V)I
Output Current (0.4V)I
DD
LO
OH
OL
IL
–1.0+1.0µA3
–1.0mA
+4.0mA
65mA2
1.0µA4
NOTES:
1. Applies to RVDD, TVDD, and DVDD.
2. TCLK=1.544 MHz.
3. 0.0V < V
4. Applies to INT1
< VDD.
IN
and INT2 when 3–stated.
022697 39/46
DS2151Q
AC CHARACTERISTICS - PARALLEL PORT(0°C to 70°C; VDD=5V + 5%)
(–40°C to +85°C for DS2151QN)
PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Cycle Timet
CYC
Pulse Width, DS Low or RD HighPW
Pulse Width, DS High or RD LowPW
Input Rise/Fall TimestR, t
R/W Hold Timet
R/W Setup Time Before DS Hight
CS Setup Time Before DS, WR or
active
RD
CS Hold Timet
Read Data Hold Timet
Write Data Hold Timet
Muxed Address Valid to AS or
ALE fall
Muxed Address Hold Timet
Delay Time DS, WR or RD to AS
or ALE Rise
RWH
RWS
t
CS
CH
DHR
DHW
t
ASL
AHL
t
ASD
Pulse Width AS or ALE HighPW
Delay Time, AS or ALE to DS,
or RD
WR
Output Data Delay Time from DS
or RD
Data Setup Timet
t
ASED
t
DDR
DSW
EL
EH
F
ASH
250ns
150ns
100ns
30ns
10ns
50ns
20ns
0ns
1050ns
0ns
20ns
10ns
25ns
40ns
20ns
20100ns
80ns
INTEL BUS READ AC TIMING
ALE
t
ASD
WR
t
ASD
RD
CS
AD0-AD7
022697 40/46
PW
EL
t
ASL
PW
ASH
t
t
AHL
t
ASED
CS
t
CYC
t
DDR
PW
EH
t
CH
t
DHR
INTEL BUS WRITE AC TIMING
ALE
t
ASD
PW
ASH
t
DS2151Q
CYC
RD
t
WR
CS
AD0-AD7
MOTOROLA BUS AC TIMING
AS
DS
R/W
t
ASD
ASD
PW
t
ASL
PW
PW
t
ASED
PW
PW
EH
t
CH
t
DHW
t
DSW
EH
t
RWH
EL
t
CS
t
AHL
ASH
t
ASED
EL
t
RWS
t
CYC
AD0-AD7
(READ)
CS
AD0-AD7
(WRITE)
t
ASL
t
ASL
t
t
AHL
AHL
t
DDR
t
CS
t
DSW
t
DHR
t
CH
t
DHW
022697 41/46
DS2151Q
AC CHARACTERISTICS – RECEIVE SIDE(0° C to 70°C; VDD=5V ± 5%)
(–40°C to +85°C for DS2151QN)
PARAMETERSYMBOLMINTYPMAXUNITSNOTES
ACLKI/RCLK Periodt
RCLK Pulse Widtht
RCLK Pulse Widtht
SYSCLK Periodt
SYSCLK Pulse Widtht
RSYNC Set Up to SYSCLK Falling
RSYNC Pulse Widtht
t
t
t
t
t
CP
CH
CL
CH
CL
SP
SP
SH
SL
SU
PW
SYSCLK Rise/Fall TimestR, t
Delay RCLK or SYSCLK to RSER
Valid
Delay RCLK or SYSCLK to
RCHCLK
Delay RCLK or SYSCLK to
RCHBLK
Delay RCLK or SYSCLK to
RSYNC
Delay RCLK to RLCLKt
Delay RCLK to RLINK Validt
t
t
t
t
DD
D1
D2
D3
D4
D5
230
230
115
115
75
75
25tSH–5ns
50ns
F
1080ns
1090ns
1090ns
1080ns
1080ns
10110ns
648ns
324
324
ns
ns
ns
ns
648
488
ns
ns
ns
25ns
1
2
3
4
NOTES:
1. Jitter attenuator enabled in the receive side path.
2. Jitter attenuator disabled or enabled in the transmit path.
3. SYSCLK=1.544 MHz
4. SYSCLK=2.048 MHz
022697 42/46
RECEIVE SIDE AC TIMING
RCLK
t
R
SYSCLK
RSER
RCHCLK
DS2151Q
t
CP
t
CL
t
t
F
t
DD
F–BIT OR MSB
OF CHANNEL 1
t
D1
SL
t
CH
t
SH
t
SP
RCHBLK
RSYNC
RSYNC
t
D3
1
t
t
SU
2
t
D4
PW
t
D2
RLCLK
t
D5
RLINK
NOTES:
1. RSYNC is in the output mode (RCR2.3=0).
2. RSYNC is in the input mode (RCR2.3=1).
3. RLCLK and RLINK only have a timing relationship to RCLK.
4. RCLK can exhibit a short high time if the jitter attenuator is either disabled or in the transmit path.
022697 43/46
DS2151Q
AC CHARACTERISTICS – TRANSMIT SIDE(0°C to 70°C; VDD=5V + 5%)
(–40°C to +85°C for DS2151QN)
PARAMETERSYMBOLMINTYPMAXUNITSNOTES
TCLK Periodt
TCLK Pulse Widtht
TSER and TLINK Set Up to TCLK
Falling
TSER and TLINK Hold from
TCLK Falling
TSYNC Setup to TCLK Fallingt
TSYNC Pulse Widtht
t
t
t
CH
CL
SU
HD
SU
PW
TCLK Rise/Fall TimestR, t
Delay TCLK to TCHCLKt
Delay TCLK to TCHBLKt
Delay TCLK to TSYNCt
Delay TCLK to TLCLKt
D1
D2
D3
D4
P
75
75
25ns1
25ns1
25tCH–5
50
F
1060ns
1070ns
1060ns
1060ns
648ns
ns
ns
25ns
NOTE:
1. If the transmit side elastic store is enabled, then TSER is sampled on the falling edge of SYSCLK and the parameters tSU and tHD still apply.
022697 44/46
DS2151Q
TRANSMIT SIDE AC TIMING
t
R
TCLK
3
TSER
TCHCLK
TCHBLK
1
TSYNC
2
TSYNC
TLCLK
TLINK
t
P
t
t
F
CL
t
CH
F–BIT
t
t
D1
t
D3
t
SU
t
D4
t
SU
HD
t
SU
t
D2
t
PW
t
HD
NOTES:
1. TSYNC is in the output mode (TCR2.2=1).
2. TSYNC is in the input mode (TCR2.2=0).
3. TSER is sampled on the falling edge of SYSCLK if the transmit side elastic store is enabled.
022697 45/46
DS2151Q
DS2151Q T1 CONTROLLER 44–PIN PLCC
E
E1
B
N
1
.075 MAX
D1
D
NOTE 1
CH1
.150
MAX
e1
E2
NOTE1: PIN 1 IDENTIFIER TO BE LOCA TED IN ZONE INDICATED.
INCHES
DIMMINMAX
A0.1650.180
A10.0900.120
A20.020–
B0.0260.033
B10.0130.021
C0.0090.012
CH10.0420.048
D0.6850.695
D10.6500.656
D20.5900.630
E0.6850.695
E10.6500.656
E20.5900.630
e10.050 BSC
N44–
D2
C
A1A2
B1
A
022697 46/46
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.