§ HDLC controller with 64-byte buffers Configurable for
FDL or DS0 operation
§Dual two–frame elastic store slip buffers that can
connect to asynchronous backplanes up to 8.192MHz
§ 8.192MHz clock output locked to RCLK
§ Interleaving PCM Bus Operation
§ Per-channel loopback and idle code insertion
§ 8-bit parallel control port muxed or nonmuxed buses
(Intel or Motorola)
§ Programmable output clocks for Fractional T1
§ Fully independent transmit and receive functionality
§ Generates/detects in-band loop codes from 1 to 8 bits
in length including CSU loop codes
§ IEEE 1149.1 JTAG-Boundary Scan
§ Pin compatible with DS2152/54/354/554 SCTs
§ 100-pin LQFP package (14 mm x 14 mm) 3.3V
(DS21352) or 5V (DS21552) supply; low power
CMOS
PIN ASSIGNMENT
DS21352
DS21552
100
1
ORDERING INFORMATION
DS21352L (0°C to +70°C)
DS21352LN(-40°C to +85°C)
DS21552L (0°C to +70°C)
DS21552LN(-40°C to +85°C)
DESCRIPTION
The DS21352/552 T1 single-chip transceiver contains all of the necessary functions for connection to T1
lines whether they are DS1 long haul or DSX–1 short haul. The clock recovery circuitry automatically
adjusts 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 line build-outs of -7.5dB, -15dB, and -22.5dB. The onboard jitter attenuator
(selectable to either 32 bits 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
internal registers which the user can access and control the operation of the unit. Quick access via the
parallel control port allows a single controller to handle many T1 lines. The device fully meets all of the
latest T1 specifications including ANSI T1.403-1995, ANSI T1.231-1993, AT&T TR 62411 (12–90),
AT&T TR54016, and ITU G.703, G.704, G.706, G.823, and I.431.
1 of 137120501
DS21352/DS21552
TABLE OF CONTENTS
1.LIST OF FIGURES .........................................................................................................................5
2.LIST OF TABLES ...........................................................................................................................6
Table 19-1 INSTRUCTION CODES FOR IEEE 1149.1 ARCHITECTURE .......................................104
Table 19-2 ID CODE STRUCTURE .....................................................................................................105
Table 19-3 DEVICE ID CODES............................................................................................................105
Table 19-4 BOUNDARY SCAN CONTROL BITS ..............................................................................106
Table 20-1 MASTER DEVICE BUS SELECT.....................................................................................110
6 of 137
DS21352/DS21552
3. INTRODUCTION
The DS21352/552 are 3.3V/5V superset versions of the popular DS2152 T1 single-chip transceiver
offering the new features listed below. All of the original features of the DS2152 have been retained and
software created for the original devices is transferable into the DS21352/552.
NEW FEATURES (after the DS2152)
§ Interleaving PCM Bus Operation
§ Integral HDLC controller with 64-byte buffers Configurable for FDL or DS0 operation
– receive signaling reinsertion to a backplane multiframe sync
– availability of signaling in a separate PCM data stream
– signaling freezing
– interrupt generated on change of signaling data
§ ability to calculate and check CRC6 according to the Japanese standard
§ ability to pass the F–Bit position through the elastic stores in the 2.048 MHz backplane mode
§ programmable in–band loop code generator and detector
§ per channel loopback and idle code insertion
§ RCL, RLOS, RRA, and RAIS alarms now interrupt on change of state
§ 8.192 MHz clock output synthesized to RCLK
§ HDLC controller can be configured for FDL
§ addition of hardware pins to indicate carrier loss & signaling freeze
§ line interface function can be completely decoupled from the framer/formatter to allow:
– interface to optical, HDSL, and other NRZ interfaces
– be able to “tap” the transmit and receive bipolar data streams for monitoring purposes
– be able corrupt data and insert framing errors, CRC errors, etc.
§transmit and receive elastic stores now have independent backplane clocks
7 of 137
DS21352/DS21552
3.1 FUNCTIONAL DESCRIPTION
The analog AMI/B8ZS waveform off of the T1 line is transformer coupled into the RRING and RTIP
pins of the DS21352/552. 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/multi-frame pattern. The DS21352/552 contains an active filter that reconstructs the
analog received signal for the nonlinear losses that occur in transmission. The device has a usable receive
sensitivity of 0 dB to –36 dB, which allows the device to operate on cables up to 6000 feet in length. The
receive side framer locates D4 (SLC–96) or ESF multiframe boundaries as well as detects incoming
alarms including, carrier loss, loss of synchronization, blue (AIS) and yellow alarms. 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 RSYSCLK
input. The clock applied at the RSYSCLK input can be either a 2.048 MHz clock or a 1.544 MHz clock.
The RSYSCLK can be a bursty clock with speeds up to 8.192 MHz.
The transmit side of the DS21352/552 is totally independent from the receive side in both the clock
requirements and characteristics. Data off of a backplane can be passed through a transmit side elastic
store if necessary. The transmit formatter will provide the necessary frame/multiframe 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 DS21352/552 will drive the T1 line
from the TTIP and TRING pins via a coupling transformer. The line driver can handle both long haul
(CSU) and short haul (DSX–1) lines.
Reader’s Note: This data sheet assumes a particular nomenclature of the T1 operating environment. In
each 125 ms frame, there are 24 eight–bit channels plus a framing bit. It is assumed that the framing bit is
sent first followed by channel 1. Each channel is made up of eight bits, which are numbered, 1 to 8. Bit
number 1 is the MSB and is transmitted first. Bit number 8 is the LSB and is transmitted last. The term
“locked” is used to refer to two clock signals that are phase or frequency locked or derived from a
common clock (i.e., a 1.544 MHz clock may be locked to a 2.048MHz clock if they share the same 8 kHz
component). Throughout this data sheet, the following abbreviations will be used:
B8ZSBipolar with 8 Zero Substitution
BOCBit Oriented Code
CRCCyclical Redundancy Check
D4Superframe (12 frames per multiframe) Multiframe Structure
ESFExtended Superframe (24 frames per multiframe) Multiframe Structure
FDLFacility Data Link
FPSFraming Pattern Sequence in ESF
FsSignaling Framing Pattern in D4
FtTerminal Framing Pattern in D4
HDLCHigh Level Data Link Control
MFMultiframe
SLC–96Subscriber Loop Carrier – 96 Channels (SLC–96 is an AT&T registered trademark)
8 of 137
Figure 3-1SCT BLOCK DIAGRAM
RSIGF
RCHCLK
RCL
RCHBLK
RLINK
RLOS/LOTC
RCLK
RLCLK
8MCLK
Synthesizer
8.192MHz Clock
RSER
RSIG
DS21352/DS21552
RMSYNC
RSYSCLK
RSYNC
RFSYNC
RDATA
Interleave
Bus
TSYNC
TESO
TDATA
TSSYNC
Interleave
TSYSCLK
Bus
TSER
TSIG
TCHBLK
TCLK
TCHCLK
TLINK
TLCLK
CO
RPOSI
RCLKI
RNEGI
RNEGO
RCLKO
RPOSO
8XCLK
XTALD
MCLK
Buffer
Signaling
Control
Framer
Receive Side
24.7MHz
Clock / Data
Recovery
RSYSCLK
Store
Elastic
Payload Loopback
DATA
SYNC
CLOCK
Framer Loopback
Remote Loopback
Jitter Attenuator
Either trans mit or receive pa th
Local Loopback
Receive
Line I/F
Timing Control
Hardware
Signaling
Insertion
LOTC
Store
Elastic
Sync C ontrol
SYNC
CLOCK
Formatter
Transmit Side
s
n
a
r
T
m
F
/
I
e
n
i
L
MUX
HDLC/BOC
Controller
FDL / DS0
INT*
FDL
DATA
(routed to all block s)
Parallel & Test Control Port
MUX
JTAG PORT
t
i
MUX
D0 to D7 /
AD0 to AD7
8
A0 to A6
7
ALE(AS) / A7
RD*(DS*)
WR*(R/W*)
BTS
CS*
TEST
TPOSO
TCLKO
TNEGO
TNEGI
TCLKI
TPOSI
LIUC
JTDO
JTDI
JTCLK
JTMS
J
R
S
T
CI
Timing
HDLC/BOC
Contr oller
FDL / DS0
LIUC
MUX
12.352 MHz
VCO / PLL
RTIP
RRING
9 of 137
TTIP
TRING
DS21352/DS21552
3.2 DOCUMENT REVISION HISTORY
RevisionNotes
12-10-98Initial Release
12-18-98Add LIUODO (LIU Open Drain Output) to CCR7.0
Add CDIG (Customer Disconnect Indication Generator) to CCR7.1
Add LIUSI (Line Interface Unit Synchronization Interface) to CCR7.2
Correct IBO register bit functions order
Add bit level description to CCR3.6
1-4-99Delete “The elastic stores can be forced to a known depth via the Elastic Store Reset bit (CCR3.6).
Toggling the CCR3.6 bit forces the read and write pointers into opposite frames” from section 12.0
1-18-99Add receive IBO operation PCM timing diagram
1-18-99Correct Device ID register bit definitions
1-28-99Correct TSYSCLK and RSYSCLK AC timing and add 4.096 MHz and 8.192 MHz AC timing
2-2-99Correct definition and label or TUDR bit in TPRM register
2-11-99Correct format of register definitions in body of data sheet
4-1-99Add Receive Monitor Mode section
4-15-99Add section on Protected Interfaces
5-7-99Correct FMS pin # and description in JTAG section
5-17-99Correct name of status registers in section 15.3.2
5-19-99Correct definition of RIR3.4
7-27-99Correct Receive Monitor Mode section
8-16-99Remove “Preliminary” notice from data sheet
10 of 137
4. PIN DESCRIPTION
Table 4-1 PIN DESCRIPTION SORTED BY PIN NUMBER
PINSYMBOLTYPEDESCRIPTION
1RCHBLKOReceive Channel Block
2JTMSIIEEE 1149.1 Test Mode Select
38MCLKO8.192 MHz Clock
4JTCLKIIEEE 1149.1 Test Clock Signal
5JTRSTIIEEE 1149.1 Test Reset
6RCLOReceive Carrier Loss
7JTDIIIEEE 1149.1 Test Data Input
8NC–No Connect
9NC–No Connect
10JTDOOIEEE 1149.1 Test Data Output
11BTSIBus Type Select
12LIUCILine Interface Connect
138XCLKOEight Times Clock
14TESTITest
15NC–No Connect
16RTIPIReceive Analog Tip Input
17RRINGIReceive Analog Ring Input
18RVDD–Receive Analog Positive Supply
19RVSS–Receive Analog Signal Ground
20RVSS–Receive Analog Signal Ground
21MCLKIMaster Clock Input
22XTALDOQuartz Crystal Driver
23NC–No Connect
24RVSS–Receive Analog Signal Ground
25INT*OInterrupt
26NC–No Connect
27NC–No Connect
28NC–No Connect
29TTIPOTransmit Analog Tip Output
30TVSS–Transmit Analog Signal Ground
31TVDD–Transmit Analog Positive Supply
32TRINGOTransmit Analog Ring Output
33TCHBLKOTransmit Channel Block
34TLCLKOTransmit Link Clock
35TLINKITransmit Link Data
36CIICarry In
37TSYNCI/OTransmit Sync
38TPOSIITransmit Positive Data Input
39TNEGIITransmit Negative Data Input
40TCLKIITransmit Clock Input
41TCLKOOTransmit Clock Output
42TNEGOOTransmit Negative Data Output
43TPOSOOTransmit Positive Data Output
Table 4-1 PIN DESCRIPTION SORTED BY PIN NUMBER (cont.)
PINSYMBOLTYPEDESCRIPTION
44DVDD–Digital Positive Supply
45DVSS–Digital Signal Ground
46TCLKITransmit Clock
47TSERITransmit Serial Data
48TSIGITransmit Signaling Input
49TESOOTransmit Elastic Store Output
DS21352/DS21552
11 of 137
50TDATAITransmit Data
51TSYSCLKITransmit System Clock
52TSSYNCITransmit System Sync
53TCHCLKOTransmit Channel Clock
54COOCarry Out
55MUXIBus Operation
56D0/AD0I/OData Bus Bit0/ Address/Data Bus Bit 0
57D1/AD1I/OData Bus Bit1/ Address/Data Bus Bit 1
58D2/AD2I/OData Bus Bit 2/Address/Data Bus 2
59D3/AD3I/OData Bus Bit 3/Address/Data Bus Bit 3
60DVSS–Digital Signal Ground
61DVDD-Digital Positive Supply
62D4/AD4I/OData Bus Bit4/Address/Data Bus Bit 4
63D5/AD5I/OData Bus Bit 5/Address/Data Bus Bit 5
64D6/AD6I/OData Bus Bit 6/Address/Data Bus Bit 6
65D7/AD7I/OData Bus Bit 7/Address/Data Bus Bit 7
66A0IAddress Bus Bit 0
67A1IAddress Bus Bit 1
68A2IAddress Bus Bit 2
69A3IAddress Bus Bit 3
70A4IAddress Bus Bit 4
71A5IAddress Bus Bit 5
72A6IAddress Bus Bit 6
73ALE (AS)/A7IAddress Latch Enable/Address Bus Bit 7
74RD*(DS*)IRead Input(Data Strobe)
75CS*IChip Select
76FMSIFramer Mode Select
77WR*(R/W*)IWrite Input(Read/Write)
78RLINKOReceive Link Data
79RLCLKOReceive Link Clock
80DVSS–Digital Signal Ground
81DVDD–Digital Positive Supply
82RCLKOReceive Clock
83DVDD–Digital Positive Supply
84DVSS–Digital Signal Ground
85RDATAOReceive Data
86RPOSIIReceive Positive Data Input
87RNEGIIReceive Negative Data Input
88RCLKIIReceive Clock Input
Table 4-1 PIN DESCRIPTION SORTED BY PIN NUMBER (cont.)
PINSYMBOLTYPEDESCRIPTION
89RCLKOOReceive Clock Output
90RNEGOOReceive Negative Data Output
91RPOSOOReceive Positive Data Output
92RCHCLKOReceive Channel Clock
93RSIGFOReceive Signaling Freeze Output
94RSIGOReceive Signaling Output
95RSEROReceive Serial Data
96RMSYNCOReceive Multiframe Sync
97RFSYNCOReceive Frame Sync
98RSYNCI/OReceive Sync
99RLOS/LOTCOReceive Loss Of Sync/ Loss Of Transmit Clock
100RSYSCLKIReceive System Clock
DS21352/DS21552
12 of 137
Table 4-1 PIN DESCRIPTION SORTED BY PIN SYMBOL
PINSYMBOLTYPEDESCRIPTION
38MCLKO8.192 MHz Clock
138XCLKOEight Times Clock
66A0IAddress Bus Bit 0
67A1IAddress Bus Bit 1
68A2IAddress Bus Bit 2
69A3IAddress Bus Bit 3
70A4IAddress Bus Bit 4
71A5IAddress Bus Bit 5
72A6IAddress Bus Bit 6
73ALE (AS)/A7IAddress Latch Enable/Address Bus Bit 7
11BTSIBus Type Select
36CIICarry In
54COOCarry Out
75CS*IChip Select
56D0/AD0I/OData Bus Bit0/ Address/Data Bus Bit 0
57D1/AD1I/OData Bus Bit1/ Address/Data Bus Bit 1
58D2/AD2I/OData Bus Bit 2/Address/Data Bus 2
59D3/AD3I/OData Bus Bit 3/Address/Data Bus Bit 3
62D4/AD4I/OData Bus Bit4/Address/Data Bus Bit 4
63D5/AD5I/OData Bus Bit 5/Address/Data Bus Bit 5
64D6/AD6I/OData Bus Bit 6/Address/Data Bus Bit 6
65D7/AD7I/OData Bus Bit 7/Address/Data Bus Bit 7
44DVDD–Digital Positive Supply
81DVDD–Digital Positive Supply
45DVSS–Digital Signal Ground
60DVSS–Digital Signal Ground
80DVSS–Digital Signal Ground
84DVSS–Digital Signal Ground
76FMSIFramer Mode Select
61DVDD-Digital Positive Supply
83DVDD–Digital Positive Supply
25INT*OInterrupt
4JTCLKIIEEE 1149.1 Test Clock Signal
7JTDIIIEEE 1149.1 Test Data Input
10JTDOOIEEE 1149.1 Test Data Output
88RCLKIIReceive Clock Input
89RCLKOOReceive Clock Output
74RD*(DS*)IRead Input(Data Strobe)
85RDATAOReceive Data
97RFSYNCOReceive Frame Sync
79RLCLKOReceive Link Clock
78RLINKOReceive Link Data
99RLOS/LOTCOReceive Loss Of Sync/ Loss Of Transmit Clock
96RMSYNCOReceive Multiframe Sync
87RNEGIIReceive Negative Data Input
90RNEGOOReceive Negative Data Output
86RPOSIIReceive Positive Data Input
91RPOSOOReceive Positive Data Output
17RRINGIReceive Analog Ring Input
95RSEROReceive Serial Data
94RSIGOReceive Signaling Output
93RSIGFOReceive Signaling Freeze Output
98RSYNCI/OReceive Sync
100RSYSCLKIReceive System Clock
16RTIPIReceive Analog Tip Input
18RVDD–Receive Analog Positive Supply
19RVSS–Receive Analog Signal Ground
20RVSS–Receive Analog Signal Ground
24RVSS–Receive Analog Signal Ground
33TCHBLKOTransmit Channel Block
53TCHCLKOTransmit Channel Clock
46TCLKITransmit Clock
40TCLKIITransmit Clock Input
41TCLKOOTransmit Clock Output
50TDATAITransmit Data
49TESOOTransmit Elastic Store Output
14TESTITest
34TLCLKOTransmit Link Clock
35TLINKITransmit Link Data
39TNEGIITransmit Negative Data Input
42TNEGOOTransmit Negative Data Output
38TPOSIITransmit Positive Data Input
43TPOSOOTransmit Positive Data Output
32TRINGOTransmit Analog Ring Output
Table 4-1 PIN DESCRIPTION SORTED BY PIN SYMBOL (cont.)
47TSERITransmit Serial Data
48TSIGITransmit Signaling Input
52TSSYNCITransmit System Sync
37TSYNCI/OTransmit Sync
51TSYSCLKITransmit System Clock
29TTIPOTransmit Analog Tip Output
31TVDD–Transmit Analog Positive Supply
30TVSS–Transmit Analog Signal Ground
77WR*(R/W*)IWrite Input(Read/Write)
22XTALDOQuartz Crystal Driver
DS21352/DS21552
14 of 137
4. PIN FUNCTION DESCRIPTION
4.1.1 TRANSMIT SIDE PINS
Signal Name:
Signal Description:
Signal Type:
A 1.544 MHz primary clock. Used to clock data through the transmit side formatter.
TCLK
Transmit Clock
Input
DS21352/DS21552
Signal Name:
Signal Description:
Signal Type:
Transmit NRZ serial data. Sampled on the falling edge of TCLK when the transmit side elastic store is disabled. Sampled on
the falling edge of TSYSCLK when the transmit side elastic store is enabled.
Signal Name:
Signal Description:
Signal Type:
A 192 kHz clock which pulses high during the LSB of each channel. Synchronous with TCLK when the transmit side elastic
store is disabled. Synchronous with TSYSCLK when the transmit side elastic store is enabled. Useful for parallel to serial
conversion of channel data.
Signal Name:
Signal Description:
Signal Type:
A user programmable output that can be forced high or low during any of the 24 T1 channels. Synchronous with TCLK when
the transmit side elastic store is disabled. Synchronous with TSYSCLK when the transmit side elastic store is enabled. Useful
for blocking clocks to a serial UART or LAPD controller in applications where not all T1 channels are used such as Fractional
T1, 384 kbps (H0), 768 kbps or ISDN–PRI . Also useful for locating individual channels in drop–and–insert applications, for
external per–channel loopback, and for per–channel conditioning. See section 13 on page 76 for more information.
Signal Name:
Signal Description:
Signal Type:
1.544 MHz , 2.048 MHz , 4.096 MHz or 8.192 MHz clock. Only used when the transmit side elastic store function is enabled.
Should be tied low in applications that do not use the transmit side elastic store. See section 20 on page 129 for details on
4.096 MHz and 8.192 MHz operation using the Interleave Bus Option.
TSER
Transmit Serial Data
Input
TCHCLK
Transmit Channel Clock
Output
TCHBLK
Transmit Channel Block
Output
TSYSCLK
Transmit System Clock
Input
Signal Name:
Signal Description:
Signal Type:
4 kHz or 2 kHz (ZBTSI) demand clock for the TLINK input. See Section 15 for details. Transmit Link Data [TLINK].
TLCLK
Transmit Link Clock
Output
15 of 137
DS21352/DS21552
4.1.1 TRANSMIT SIDE PINS (cont.)
Signal Name:
Signal Description:
Signal Type:
If enabled via TCR1.2, this pin will be sampled 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 15 for details.
TLINK
Transmit Link Data
Input
Signal Name:
Signal Description:
Signal Type:
A pulse at this pin will establish either frame or multiframe boundaries for the transmit side. Via TCR2.2, the DS21352/552
can be programmed 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 20 for details.
Signal Name:
Signal Description:
Signal Type:
Only used when the transmit side elastic store is enabled. A pulse at this pin will establish either frame or multiframe
boundaries for the transmit side. Should be tied low in applications that do not use the transmit side elastic store.
Signal Name:
Signal Description:
Signal Type:
When enabled, this input will sample signaling bits for insertion into outgoing PCM T1 data stream. Sampled on the falling
edge of TCLK when the transmit side elastic store is disabled. Sampled on the falling edge of TSYSCLK when the transmit
side elastic store is enabled.
Signal Name:
Signal Description:
Signal Type:
Updated on the rising edge of TCLK with data out of the transmit side elastic store whether the elastic store is enabled or not.
This pin is normally tied to TDATA.
TSYNC
Transmit Sync
Input / Output
TSSYNC
Transmit System Sync
Input
TSIG
Transmit Signaling Input
Input
TESO
Transmit Elastic Store Data Output
Output
Signal Name:
Signal Description:
Signal Type:
Sampled on the falling edge of TCLK with data to be clocked through the transmit side formatter. This pin is normally tied to
TESO.
Signal Name:
Signal Description:
Signal Type:
Updated on the rising edge of TCLKO with the bipolar data out of the transmit side formatter. Can be programmed to source
NRZ data via the Output Data Format (CCR1.6) control bit. This pin is normally tied to TPOSI.
TDATA
Transmit Data
Input
TPOSO
Transmit Positive Data Output
Output
16 of 137
DS21352/DS21552
4.1.1 TRANSMIT SIDE PINS (cont.)
Signal Name:
Signal Description:
Signal Type:
Updated on the rising edge of TCLKO with the bipolar data out of the transmit side formatter. This pin is normally tied to
TNEGI.
TNEGO
Transmit Negative Data Output
Output
Signal Name:
Signal Description:
Signal Type:
Buffered clock that is used to clock data through the transmit side formatter (i.e., either TCLK or RCLKI). This pin is normally
tied to TCLKI.
Signal Name:
Signal Description:
Signal Type:
Sampled on the falling edge of TCLKI for data to be transmitted out onto the T1 line. Can be internally connected to TPOSO
by tying the LIUC pin high.
Signal Name:
Signal Description:
Signal Type:
Sampled on the falling edge of TCLKI for data to be transmitted out onto the T1 line. Can be internally connected to TNEGO
by tying the LIUC pin high.
Signal Name:
Signal Description:
Signal Type:
Line interface transmit clock. Can be internally connected to TCLKO by tying the LIUC pin high.
TCLKO
Transmit Clock Output
Output
TPOSI
Transmit Positive Data Input
Input
TNEGI
Transmit Negative Data Input
Input
TCLKI
Transmit Clock Input
Input
17 of 137
DS21352/DS21552
4.1.2 RECEIVE SIDE PINS
Signal Name:
Signal Description:
Signal Type:
Updated with either FDL data (ESF) or Fs bits (D4) or Z bits (ZBTSI) one RCLK before the start of a frame. See Section 20
for details.
RLINK
Receive Link Data
Output
Signal Name:
Signal Description:
Signal Type:
A 4 kHz or 2 kHz (ZBTSI) clock for the RLINK output.
Signal Name:
Signal Description:
Signal Type:
1.544 MHz clock that is used to clock data through the receive side framer.
Signal Name:
Signal Description:
Signal Type:
A 192 kHz clock which pulses high during the LSB of each channel. Synchronous with RCLK when the receive side elastic
store is disabled. Synchronous with RSYSCLK when the receive side elastic store is enabled. Useful for parallel to serial
conversion of channel data.
Signal Name:
Signal Description:
Signal Type:
A user programmable output that can be forced high or low during any of the 24 T1 channels. Synchronous with RCLK when
the receive side elastic store is disabled. Synchronous with RSYSCLK when the receive side elastic store is enabled. 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, for
external per–channel loopback, and for per–channel conditioning. See Section 13 page 76 for details.
RLCLK
Receive Link Clock
Output
RCLK
Receive Clock
Output
RCHCLK
Receive Channel Clock
Output
RCHBLK
Receive Channel Block
Output
Signal Name:
Signal Description:
Signal Type:
Received NRZ serial data. Updated on rising edges of RCLK when the receive side elastic store is disabled. Updated on the
rising edges of RSYSCLK when the receive side elastic store is enabled.
Signal Name:
Signal Description:
Signal Type:
An extracted pulse, one RCLK wide, is output at this pin which identifies either frame (RCR2.4 = 0) or multiframe (RCR2.4 =
1) boundaries. 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 receive side elastic store is enabled via CCR1.2, then this pin can be enabled to be an input via RCR2.3
at which a frame or multiframe boundary pulse is applied. See Section 21 for details.
RSER
Receive Serial Data
Output
RSYNC
Receive Sync
Input/Output
18 of 137
4.1.2 RECEIVE SIDE PINS (cont.)
Signal Name:
Signal Description:
Signal Type:
An extracted 8 kHz pulse, one RCLK wide, is output at this pin which identifies frame boundaries.
RFSYNC
Receive Frame Sync
Output
DS21352/DS21552
Signal Name:
Signal Description:
Signal Type:
Only used when the receive side elastic store is enabled. An extracted pulse, one RSYSCLK wide, is output at this pin which
identifies multiframe boundaries. If the receive side elastic store is disabled, then this output will output multiframe boundaries
associated with RCLK.
Signal Name:
Signal Description:
Signal Type:
Updated on the rising edge of RCLK with the data out of the receive side framer.
Signal Name:
Signal Description:
Signal Type:
1.544 MHz , 2.048 MHz , 4.096 MHz or 8.192 MHz clock. Only used when the receive side elastic store function is enabled.
Should be tied low in applications that do not use the receive side elastic store. See section 20 on page 129 for details on 4.096
MHz and 8.192 MHz operation using the Interleave Bus Option.
Signal Name:
Signal Description:
Signal Type:
Outputs signaling bits in a PCM format. Updated on rising edges of RCLK when the receive side elastic store is disabled.
Updated on the rising edges of RSYSCLK when the receive side elastic store is enabled.
RMSYNC
Receive Multiframe Sync
Output
RDATA
Receive Data
Output
RSYSCLK
Receive System Clock
Input
RSIG
Receive Signaling Output
Output
Signal Name:
Signal Description:
Signal Type:
A dual function output that is controlled by the CCR3.5 control bit. This pin can be programmed to either toggle high when the
synchronizer is searching for the frame and multiframe or to toggle high if the TCLK pin has not been toggled for 5 msec.
Signal Name:
Signal Description:
Signal Type:
Set high when the line interface detects a carrier loss.
Signal Name:
Signal Description:
Signal Type:
Set high when the signaling data is frozen via either automatic or manual intervention. Used to alert downstream equipment of
the condition.
RLOS/LOTC
Receive Loss of Sync / Loss of Transmit Clock
Output
RCL
Receive Carrier Loss
Output
RSIGF
Receive Signaling Freeze
Output
4.1.2 RECEIVE SIDE PINS (cont.)
Signal Name:
Signal Description:
Signal Type:
An 8.192MHz clock output that is referenced to the clock that is output at the RCLK pin.
Signal Name:
Signal Description:
Signal Type:
8MCLK
8 MHz Clock
Output
RPOSO
Receive Positive Data Input
Output
19 of 137
DS21352/DS21552
Updated on the rising edge of RCLKO with bipolar data out of the line interface. This pin is normally tied to RPOSI.
Signal Name:
Signal Description:
Signal Type:
Updated on the rising edge of RCLKO with the bipolar data out of the line interface. This pin is normally tied to RPOSI.
Signal Name:
Signal Description:
Signal Type:
Buffered recovered clock from the T1 line. This pin is normally tied to RCLKI.
Signal Name:
Signal Description:
Signal Type:
Sampled on the falling edge of RCLKI for data to be clocked through the receive side framer. RPOSI and RNEGI can be tied
together for a NRZ interface. Can be internally connected to RPOSO by tying the LIUC pin high.
Signal Name:
Signal Description:
Signal Type:
Sampled on the falling edge of RCLKI for data to be clocked through the receive side framer. RPOSI and RNEGI can be tied
together for a NRZ interface. Can be internally connected to RNEGO by tying the LIUC pin high.
Signal Name:
Signal Description:
Signal Type:
Clock used to clock data through the receive side framer. This pin is normally tied to RCLKO. Can be internally connected to
RCLKO by tying the LIUC pin high.
RNEGO
Receive Negative Data Input
Output
RCLKO
Receive Clock Output
Output
RPOSI
Receive Positive Data Input
Input
RNEGI
Receive Negative Data Input
Input
RCLKI
Receive Clock Input
Input
20 of 137
DS21352/DS21552
4.1.3 PARALLEL CONTROL PORT PINS
Signal Name:
Signal Description:
Signal Type:
Flags host controller during conditions and change of conditions defined in the Status Registers 1 and 2 and the HDLC Status
Register. Active low, open drain output
INT*
Interrupt
Output
Signal Name:
Signal Description:
Signal Type:
Selects the DS2152 mode when high or the DS21352/552 mode when low. If high, the JTRST is internally pulled low. If low,
JTRST has normal JTAG functionality. This pin has a 10k pull up resistor.
Signal Name:
Signal Description:
Signal Type:
Set high to 3–state all output and I/O pins (including the parallel control port) when FMS = 1 or when FMS = 0 and JTRST* is
tied low. Set low for normal operation. Ignored when FMS = 0 and JTRST* = 1. Useful for board level testing.
Signal Name:
Signal Description:
Signal Type:
Set low to select non–multiplexed bus operation. Set high to select multiplexed bus operation.
Signal Name:
Signal Description:
Signal Type:
In non–multiplexed bus operation (MUX = 0), serves as the data bus. In multiplexed bus operation (MUX = 1), serves as a 8–
bit multiplexed address / data bus.
Signal Name:
Signal Description:
Signal Type:
In non–multiplexed bus operation (MUX = 0), serves as the address bus. In multiplexed bus operation (MUX = 1), these pins
are not used and should be tied low.
FMS
Framer Mode Select
Input
TEST
3–State Control
Input
MUX
Bus Operation
Input
AD0 TO AD7
Data Bus [D0 to D7] or Address/Data Bus
Input
A0 TO A6
Address Bus
Input
Signal Name:
Signal Description:
Signal Type:
Strap high to select Motorola bus timing; strap low to select Intel bus timing. This pin controls the function of the RD*(DS*),
ALE(AS), and WR*(R/W*) pins. If BTS = 1, then these pins assume the function listed in parenthesis ().
Signal Name:
Signal Description:
Signal Type:
RD* and DS* are active low signals. DS active HIGH when MUX = 0. See bus timing diagrams.
BTS
Bus Type Select
Input
RD*(DS*)
Read Input - Data Strobe
Input
21 of 137
4.1.3 PARALLEL CONTROL PORT PINS (cont.)
Signal Name:
Signal Description:
Signal Type:
Must be low to read or write to the device. CS* is an active low signal.
CS*
Chip Select
Input
DS21352/DS21552
Signal Name:
Signal Description:
Signal Type:
In non–multiplexed bus operation (MUX = 0), serves as the upper address bit. In multiplexed bus operation (MUX = 1), serves
to de-multiplex the bus on a positive–going edge.
Signal Name:
Signal Description:
Signal Type:
WR* is an active low signal.
ALE(AS)/A7
Address Latch Enable(Address Strobe) or A7
Input
WR*(R/W*)
Write Input(Read/Write)
Input
22 of 137
DS21352/DS21552
4.1.4 JTAG TEST ACCESS PORT PINS
Signal Name:
Signal Description:
Signal Type:
If FMS = 1: JTAG functionality is not available and JTRST is held LOW internally.
If FMS = 0: JTAG functionality is available and JTRST is pulled up internally by a 10kΩ resistor.
If FMS = 0 and boundary scan is not used, this pin should be held low. This signal is used to asynchronously reset the test
access port controller. The device operates as a T1/E1 transceiver if JTRST is pulled low.
JTRST
IEEE 1149.1 Test Reset
Input
Signal Name:
Signal Description:
Signal Type:
This pin is sampled on the rising edge of JTCLK and is used to place the test access port into the various defined IEEE 1149.1
states. This pin has a 10k pull up resistor.
Signal Name:
Signal Description:
Signal Type:
This signal is used to shift data into JTDI on the rising edge and out of JTDO on the falling edge.
Signal Name:
Signal Description:
Signal Type:
Test instructions and data are clocked into this pin on the rising edge of JTCLK. This pin has a 10k pull up resistor.
Signal Name:
Signal Description:
Signal Type:
Test instructions and data are clocked out of this pin on the falling edge of JTCLK. If not used, this pin should be left
unconnected.
JTMS
IEEE 1149.1 Test Mode Select
Input
JTCLK
IEEE 1149.1 Test Clock Signal
Input
JTDI
IEEE 1149.1 Test Data Input
Input
JTDO
IEEE 1149.1 Test Data Output
Output
4.1.5 INTERLEAVE BUS OPERATION PINS
Signal Name:
Signal Description:
Signal Type:
A rising edge on this pin causes RSER and RSIG to come out of high Z state and TSER and TSIG to start sampling on the next
rising edge of RSYSCLK/TSYSCLK beginning an I/O sequence of 8 or 256 bits of data. This pin has a 10k pull up resistor.
CI
Carry In
Input
Signal Name:
Signal Description:
Signal Type:
CO
Carry Out
Output
An output that is set high when the last bit of the 8 or 256 IBO output sequence has occurred on RSER
and RSIG.
23 of 137
DS21352/DS21552
4.1.6 LINE INTERFACE PINS
Signal Name:
Signal Description:
Signal Type:
A 1.544 MHz (50 ppm) clock source with TTL levels is applied at this pin. This clock is used internally for both clock/data
recovery and for jitter attenuation. A quartz crystal of 1.544 MHz may be applied across MCLK and XTALD instead of the
TTL level clock source.
MCLK
Master Clock Input
Input
Signal Name:
Signal Description:
Signal Type:
A quartz crystal of 1.544 MHz may be applied across MCLK and XTALD instead of a TTL level clock source at MCLK.
Leave open circuited if a TTL clock source is applied at MCLK.
Signal Name:
Signal Description:
Signal Type:
A 12.352 MHz clock that is locked to the 1.544 MHz clock provided from the clock/data recovery block (if the jitter attenuator
is enabled on the receive side) or from the TCLKI pin (if the jitter attenuator is enabled on the transmit side). Can be internally
disabled by writing a 08h to TEST2.3 if not needed.
Signal Name:
Signal Description:
Signal Type:
Tie low to separate the line interface circuitry from the framer/formatter circuitry and activate the
TPOSI/TNEGI/TCLKI/RPOSI/RNEGI/ RCLKI pins. Tie high to connect the line interface circuitry to the framer/formatter
circuitry and deactivate the TPOSI/TNEGI/TCLKI/RPOSI/RNEGI/RCLKI pins. When LIUC is tied high, the
TPOSI/TNEGI/TCLKI/ RPOSI/RNEGI/RCLKI pins should be tied low.
Signal Name:
Signal Description:
Signal Type:
Analog inputs for clock recovery circuitry. These pins connect via a 1:1 transformer to the T1 line. See Section 16 for details.
XTALD
Quartz Crystal Driver
Output
8XCLK
Eight Times Clock
Output
LIUC
Line Interface Connect
Input
RTIP & RRING
Receive Tip and Ring
Input
Signal Name:
Signal Description:
Signal Type:
Analog line driver outputs. These pins connect via a transformer to the T1 line. See Section 16 for details.
TTIP & TRING
Transmit Tip and Ring
Output
24 of 137
4.1.7 SUPPLY PINS
Signal Name:
Signal Description:
Signal Type:
5.0 volts +/-5% (DS21552) or 3.3 volts +/-5% (DS21352). Should be tied to the RVDD and TVDD pins.
DVDD
Digital Positive Supply
Supply
DS21352/DS21552
Signal Name:
Signal Description:
Signal Type:
5.0 volts +/-5% (DS21552) or 3.3 volts +/-5% (DS21352). Should be tied to the DVDD and TVDD pins.
Signal Name:
Signal Description:
Signal Type:
5.0 volts +/-5% (DS21552) or 3.3 volts +/-5% (DS21352). Should be tied to the RVDD and DVDD pins.
Signal Name:
Signal Description:
Signal Type:
Should be tied to the RVSS and TVSS pins.
Signal Name:
Signal Description:
Signal Type:
0.0 volts. Should be tied to DVSS and TVSS.
Signal Name:
Signal Description:
Signal Type:
0.0 volts. Should be tied to DVSS and RVSS.
RVDD
Receive Analog Positive Supply
Supply
TVDD
Transmit Analog Positive Supply
Supply
DVSS
Digital Signal Ground
Supply
RVSS
Receive Analog Signal Ground
Supply
TVSS
Transmit Analog Signal Ground
Supply
25 of 137
DS21352/DS21552
5. PARALLEL PORT
The SCT is controlled via either a non–multiplexed (MUX = 0) or a multiplexed (MUX = 1) bus by an
external microcontroller or microprocessor. The SCT 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 in Section 24 for more details.
09R/WTest 2 SEE NOTE 1TEST2 (set to 00h)
0AR/WCommon Control 7CCR7
0B–not present–
0C–not present–
0D–not present–
0E–not present–
0FRDevice IDIDR
10R/WReceive Information 3RIR3
11R/WCommon Control 4CCR4
12R/WIn–Band Code ControlIBCC
13R/WTransmit Code DefinitionTCD
14R/WReceive Up Code DefinitionRUPCD
15R/WReceive Down Code DefinitionRDNCD
16R/WTransmit Channel Control 1TCC1
17R/WTransmit Channel Control 2TCC2
18R/WTransmit Channel Control 3TCC3
19R/WCommon Control 5CCR5
1ARTransmit DS0 MonitorTDS0M
1BR/WReceive Channel Control 1RCC1
1CR/WReceive Channel Control 2RCC2
1DR/WReceive Channel Control 3RCC3
1ER/WCommon Control 6CCR6
27RMultiframe Out of Sync Count 2MOSCR2
28RReceive FDL RegisterRFDL
29R/WReceive FDL Match 1RMTCH1
2AR/WReceive FDL Match 2RMTCH2
2BR/WReceive Control 1RCR1
2CR/WReceive Control 2RCR2
2DR/WReceive Mark 1RMR1
2ER/WReceive Mark 2RMR2
2FR/WReceive Mark 3RMR3
30R/WCommon Control 3CCR3
31R/WReceive Information 2RIR2
32R/WTransmit Channel Blocking 1TCBR1
33R/WTransmit Channel blocking 2TCBR2
34R/WTransmit Channel Blocking 3TCBR3
35R/WTransmit Control 1TCR1
36R/WTransmit Control 2TCR2
37R/WCommon Control 1CCR1
38R/WCommon Control 2CCR2
39R/WTransmit Transparency 1TTR1
1. TEST1, TEST2, TEST3 and TEST4 registers are used by the factory; these registers must be cleared (set to 00h) on power–
up initialization to insure proper operation.
2. Register banks Axh, Bxh, Cxh, Dxh, Exh, and Fxh are not accessible.
3. Upper nibble of the PCVCR1 register is used for MOSCR1
6. CONTROL, ID, AND TEST REGISTERS
The operation of the DS21352/552 is configured via a set of eleven control registers. Typically, the
control registers are only accessed when the system is first powered up. Once the DS21352/552 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), and seven Common Control Registers (CCR1 to CCR7). Each of the eleven
registers are described in this section.
6.1 POWER-UP SEQUENCE
On power–up, after the supplies are stable the DS21352/552 should be configured for operation by
writing to all of the internal registers (this includes setting the Test Registers to 00h) since the contents of
the internal registers cannot be predicted on power–up. The LIRST (CCR7.7) should be toggled from
zero to one to reset the line interface circuitry (it will take the DS21352/552 about 40ms to recover from
the LIRST bit being toggled). Finally, after the TSYSCLK and RSYSCLK inputs are stable, the ESR bit
should be toggled from a zero to a one (this step can be skipped if the elastic stores are disabled).
6.2 DEVICE ID
There is a device IDentification Register (IDR) at address 0Fh. The MSB of this read–only register is
fixed to a zero indicating that a T1 device is present. The next 3 MSBs are used to indicate which T1
device is present; DS2152, DS21352, or DS21552. The E1 pin–for–pin compatible SCTs will have a
logic one in the MSB position with the following 3 MSBs indicating which E1 SCT is present; DS2154,
DS21354, or DS21554. Table 6-1 represents the possible variations of these bits and the associated SCT.