All four framers are fully independent
Each of the four framers contain dual two–
frame elastic store slip buffers that can connect
to asynchronous backplanes up to 8.192 MHz
8–bit parallel control port that can be used
directly on either multiplexed or non–
multiplexed buses (Intel or Motorola)
Programmable output clocks for Fractional T1
Fully independent transmit and receive
functionality
Integral HDLC controller with 64-byte buffers
configurable for FDL or DS0 operation
Generates and detects in–band loop codes from
1 to 8 bits in length including CSU loop codes
Pin compatible with DS21Q44 E1 Enhanced
Quad E1 Framer
3.3V supply with 5V tolerant I/O; low power
CMOS
Available in 128–pin TQFP package
IEEE 1149.1 support
FUNCTIONAL DIAGRAM
Receive
Framer
Transmit
Formatter
FRAMER #0
FRAMER #1
FRAMER #2
FRAMER #3
Co ntro l Port
Elastic
Store
Elastic
Store
ACTUAL SIZE
QUAD
T1
FRAMER
ORDERING INFORMATION
DS21Q42T(00 C to 700 C)
DS21Q42TN (-40
0
C to +850 C)
DESCRIPTION
The DS21Q42 is an enhanced version of the DS21Q41B Quad T1 Framer. The DS21Q42 contains four
framers that are configured and read through a common microprocessor compatible parallel port. Each
framer consists of a receive framer, receive elastic stor e, transmit formatter and transmit elastic store. All
four framers in the DS21Q42 are totally independent, they do not share a common framing s ynchronizer.
Also the transmit and receive sides of each framer are totally independent. The dual two-frame elastic
stores contained in each of the four framers can be independ ently enabled and disabled as required. 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.704 and G.706.
1 of 119031500
DS21Q42
1. INTRODUCTION
The DS21Q42 is a superset version of the popular DS21Q41 Quad T1 framer offering the new features
listed below. All of the original features of the DS21Q41 have been retained and software created for the
original device is transferable to the DS21Q42.
New Features
• Additional hardware signaling capability including:
– Receive signaling re-insertion to a backplane multiframe sync
– Availability of signaling in a separate PCM data stream
– Signaling freezing
– Interrupt generated on change of signaling data
• Full HDLC controller with 64–byte buffers in both transmit and receive paths. Configurable for FDL
orDS0 access
• Per–channel code insertion in both transmit and receive paths
• Ability to monitor one DS0 channel in both the transmit and receive paths
• RCL, RLOS, RRA, and RAIS alarms now interrupt on change of state
• Detects AIS-CI
• 8.192 MHz clock synthesizer
• Per–channel loopback
• 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
• IEEE 1149.1 support
Features
• Four T1 DS1/ISDN–PRI/J1 framing transceivers
• All four framers are fully independent
• Frames to D4, ESF, and SLC–96 R formats
• Each of the four framers contain dual two–frame elastic store slip buffers that can connect to
asynchronous backplanes up to 8.192 MHz
• 8–bit parallel control port that can be used directly on either multiplexed or non–multiplexed buses
(Intel or Motorola)
• Extracts and inserts robbed bit signaling
• Detects and generates yellow (RAI) and blue (AIS) alarms
• Programmable output clocks for Fractional T1
• Fully independent transmit and receive functionality
• Generates and detects in–band loop codes from 1 to 8 bits in length including 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 DS21Q44 E1 Enhanced Quad E1 Framer
• 3.3V supply with 5V tolerant I/O; low power CMOS
• Available in 128–pin TQFP package
2 of 119
DS21Q42
Functional Description
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 en abled in order to absorb the ph ase and frequenc y differences between
the recovered T1 data stream and an asynchronous backplan e 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 burst clock with speeds up to 8.192 MHz.
The transmit side of the DS21Q42 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.
Reader’s Note:
This data sheet assumes a particular nomenclature of the T1 operating environment. In each 125 us 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. Throughout this data sheet, the
following abbreviations will be used:
D4Superframe (12 frames per multiframe) Multiframe Structure
SLC–96Subscriber Loop Carrier – 96 Channels (SLC–96 is an AT&T registered trademark)
ESFExtended Superframe (24 frames per multiframe) Multiframe Structure
B8ZSBipolar with 8 Zero Substitution
CRCCyclical Redundancy Check
FtTerminal Framing Pattern in D4
FsSignaling Framing Pattern in D4
FPSFraming Pattern in ESF
MFMultiframe
BOCBit Oriented Code
HDLCHigh Level Data Link Control
FDLFacility Data Link
1TCHBLK0OTransmit Channel Block from Framer 0
2TPOS0OTransmit Bipolar Data from Framer 0
3TNEG0OTransmit Bipolar Data from Framer 0
4RLINK0OReceive Link Data from Framer 0
5RLCLK0OReceive Link Clock from Framer 0
6RCLK0IReceive Clock for Framer 0
7RNEG0IReceive Bipolar Data for Framer 0
8RPOS0IReceive Bipolar Data for Framer 0
9RSIG0
[RCHCLK0]
10RCHBLK0OReceive Channel Block from Framer 0
11RSYSCLK0IReceive System Clock for Elastic Store in Framer 0
12RSYNC0I/OReceive Sync for Framer 0
13RSER0OReceive Serial Data from Framer 0
14VSS-Signal Ground
15VDD-Positive Supply Voltage
16SPARE1
[RMSYNC0]
17RFSYNC0OReceive Frame Sync from Framer 0
18JTRST*
[RLOS/LOTC0]
19TCLK0ITransmit Clock for Framer 0
20TLCLK0OTransmit Link Clock from Framer 0
21TSYNC0I/OTransmit Sync for Framer 0
22TLINK0ITransmit Link Data for Framer 0
23A0IAddress Bus Bit 0; LSB
24A1IAddress Bus Bit 1
25A2IAddress Bus Bit 2
26A3IAddress Bus Bit 3
27A4IAddress Bus Bit 4
28A5IAddress Bus Bit 5
29A6/ALE (AS)IAddress Bus Bit 6; MSB or Address Latch Enable (Address
30INT*OReceive Alarm Interrupt for all Four Framers
31TSYSCLK1ITransmit System Clock for Elastic Store in Framer 1
32TSER1ITransmit Serial Data for Framer 1
33TSSYNC1ITransmit Sync for Elastic Store in Framer 1
34TSIG1
[TCHCLK1]
35TCHBLK1OTransmit Channel Block from Framer 1
36TPOS1OTransmit Bipolar Data from Framer 1
37TNEG1OTransmit Bipolar Data from Framer 1
38RLINK1OReceive Link Data from Framer 1
O
[O]
[O]
I [O]JTAG Reset [Receive Loss of Sync/Loss of Transmit clock
I [O]Transmit Signaling Input for Framer 1
Receive Signaling Output from Framer 0 [Receive Channel
Clock from Framer 0]
-
RESERVED - must be left unconnected for normal operation
[Receive Multiframe Sync from Framer 0]
from Framer 0]
Strobe)
[Transmit Channel Clock from Framer 1]
DS21Q42
8 of 119
PINSYMBOLTYPEDESCRIPTION
39RLCLK1OReceive Link Clock from Framer 1
40RCLK1IReceive Clock for Framer 1
41RNEG1IReceive Bipolar Data for Framer 1
42RPOS1IReceive Bipolar Data for Framer 1
43RSIG1
[RCHCLK1]
O
[O]
Receive Signaling output from Framer 1
[Receive Channel Clock from Framer 1]
44RCHBLK1OReceive Channel Block from Framer 1
45RSYSCLK1IReceive System Clock for Elastic Store in Framer 1
46A7IAddress Bus Bit 7
47FMSIFramer Mode Select
48RSYNC1I/OReceive Sync for Framer 1
49RSER1OReceive Serial Data from Framer 1
50JTMS
[RMSYNC1]
I
[O]
JTAG Test Mode Select
[Receive Multiframe Sync from Framer 1]
51RFSYNC1OReceive Frame Sync from Framer 1
52JTCLK
[RLOS/LOTC1]
I
[O]
JTAG Test Clock
[Receive Loss of Sync/Loss of Transmit clock from Framer 1]
53TCLK1ITransmit Clock for Framer 1
54TLCLK1OTransmit Link Clock from Framer 1
55TSYNC1I/OTransmit Sync for Framer 1
56TLINK1ITransmit Link Data for Framer 1
57TESTI3-state Control for all Output and I/O Pins
58FS0IFramer Select 0 for Parallel Control Port
59FS1IFramer Select 1 for Parallel Control Port
60CS*IChip Select
61BTSIBus Type Select for Parallel Control Port
62RD*/(DS*)IRead Input (Data Strobe)
63WR*/(R/W*)IWrite Input (Read/Write)
64MUXINon-Multiplexed or Multiplexed Bus Select
65TSYSCLK2ITransmit System Clock for Elastic Store in Framer 2
66TSER2ITransmit Serial Data for Framer 2
67TSSYNC2ITransmit Sync for Elastic Store in Framer 2
68TSIG2
[TCHCLK2]
I
[O]
Transmit Signaling Input for Framer 2
[Transmit Channel Clock from Framer 2]
69TCHBLK2OTransmit Channel Block from Framer 2
70TPOS2OTransmit Bipolar Data from Framer 2
71TNEG2OTransmit Bipolar Data from Framer 2
72RLINK2OReceive Link Data from Framer 2
73RLCLK2OReceive Link Clock from Framer 2
74RCLK2IReceive Clock for Framer 2
75RNEG2IReceive Bipolar Data for Framer 2
76RPOS2IReceive Bipolar Data for Framer 2
77RSIG2
[RCHCLK2]
O
[O]
Receive Signaling Output from Framer 2
[Receive Channel Clock from Framer 2]
78VSS-Signal Ground
79VDD-Positive Supply Voltage
80RCHBLK2OReceive Channel Block from Framer 2
DS21Q42
9 of 119
PINSYMBOLTYPEDESCRIPTION
81RSYSCLK2IReceive System Clock for Elastic Store in Framer 2
82RSYNC2I/OReceive Sync for Framer 2
83RSER2OReceive Serial Data from Framer 2
84JTDI
[RMSYNC2]
I
[O]
JTAG Test Data Input
[Receive Multiframe Sync from Framer 2]
85RFSYNC2OReceive Frame Sync from Framer 2
86JTDO
[RLOS/LOTC2]
O
[O]
JTAG Test Data Output
[Receive Loss of Sync/Loss of Transmit clock from Framer 2]
87TCLK2ITransmit Clock for Framer 2
88TLCLK2OTransmit Link Clock from Framer 2
89TSYNC2I/OTransmit Sync for Framer 2
90TLINK2ITransmit Link Data for Framer 2
91TSYSCLK3ITransmit System Clock for Elastic Store in Framer 3
92TSER3ITransmit Serial Data for Framer 3
93TSSYNC3ITransmit Sync for Elastic Store in Framer 3
94TSIG3
[TCHCLK3]
I
[O]
Transmit Signaling Input for Framer 3
[Transmit Channel Clock from Framer 3]
95TCHBLK3OTransmit Channel Block from Framer 3
96TPOS3OTransmit Bipolar Data from Framer 3
97TNEG3OTransmit Bipolar Data from Framer 3
98RLINK3OReceive Link Data from Framer 3
99RLCLK3OReceive Link Clock from Framer 3
100RCLK3IReceive Clock for Framer 3
101RNEG3IReceive Bipolar Data for Framer 3
102RPOS3IReceive Bipolar Data for Framer 3
103RSIG3
[RCHCLK3]
O
[O]
Receive Signaling Output from Framer 3
[Receive Channel Clock from Framer 3]
104RCHBLK3OReceive Channel Block from Framer 3
105RSYSCLK3IReceive System Clock for Elastic Store in Framer 3
106RSYNC3I/OReceive Sync for Framer 3
107RSER3OReceive Serial Data from Framer 3
1088MCLK
[RMSYNC3]
O
[O]
8 MHz Clock
[Receive Multiframe Sync from Framer 3]
109RFSYNC3OReceive Frame Sync from Framer 3
110VSS-Signal Ground
111VDD-Positive Supply Voltage
112CLKSI
[RLOS/LOTC3]
I
[O]
8MCLK Clock Reference Input
[Receive Loss of Sync/Loss of Transmit clock from Framer 3]
113TCLK3ITransmit Clock for Framer 3
114TLCLK3OTransmit Link Clock from Framer 3
115TSYNC3I/OTransmit Sync for Framer 3
116TLINK3ITransmit Link Data for Framer 3
117D0 or AD0I/OData Bus Bit or Address/Data Bit 0; LSB
118D1 or AD1I/OData Bus Bit or Address/Data Bit 1
119D2 or AD2I/OData Bus Bit or Address/Data Bit 2
120D3 or AD3I/OData Bus Bit or Address/Data Bit 3
121D4 or AD4I/OData Bus Bit or Address/Data Bit 4
DS21Q42
10 of 119
DS21Q42
PINSYMBOLTYPEDESCRIPTION
122D5 or AD5I/OData Bus Bit or Address/Data Bit 5
123D6 or AD6I/OData Bus Bit or Address/Data Bit 6
124D7 or AD7I/OData Bus Bit or Address/Data Bit 7; MSB
125TSYSCLK0ITransmit System Clock for Elastic Store in Framer 0
126TSER0ITransmit Serial Data for Framer 0
127TSSYNC0ITransmit Sync for Elastic Store in Framer 0
128TSIG0
[TCHCLK0]
I
[O]
Transmit Signaling Input for Framer 0
[Transmit Channel Clock from Framer 0]
Note:
1. Brackets [ ] indicate pin function when the DS21Q42 is configured for emulation of the DS21Q41 B,
23A0IAddress Bus Bit 0; LSB
24A1IAddress Bus Bit 1
25A2IAddress Bus Bit 2
26A3IAddress Bus Bit 3
27A4IAddress Bus Bit 4
28A5IAddress Bus Bit 5
29A6/ALE (AS)IAddress Bus Bit 6; MSB or Address Latch Enable
(Address Strobe)
46A7IAddress Bus Bit 7
61BTSIBus Type Select for Parallel Control Port
112CLKSII8MCLK Clock Reference Input
60CS*IChip Select
117D0 or AD0I/OData Bus Bit or Address/Data Bit 0; LSB
118D1 or AD1I/OData Bus Bit or Address/Data Bit 1
119D2 or AD2I/OData Bus Bit or Address/Data Bit 2
120D3 or AD3I/OData Bus Bit or Address/Data Bit 3
121D4 or AD4I/OData Bus Bit or Address/Data Bit 4
122D5 or AD5I/OData Bus Bit or Address/Data Bit 5
123D6 or AD6I/OData Bus Bit or Address/Data Bit 6
124D7 or AD7I/OData Bus Bit or Address/Data Bit 7; MSB
47FMSIFramer Mode Select
58FS0IFramer Select 0 for Parallel Control Port
59FS1IFramer Select 1 for Parallel Control Port
30INT*OReceive Alarm Interrupt for all Four Framers
52JTCLKIJTAG Test Clock
84JTDIIJTAG Test Data Input
86JTDOOJTAG Test Data Output
50JTMSIJTAG Test Mode Select
18JTRST*IJTAG Reset
64MUXINon-Multiplexed or Multiplexed Bus Select
10RCHBLK0OReceive Channel Block from Framer 0
44RCHBLK1OReceive Channel Block from Framer 1
80RCHBLK2OReceive Channel Block from Framer 2
104RCHBLK3OReceive Channel Block from Framer 3
6RCLK0IReceive Clock for Framer 0
40RCLK1IReceive Clock for Framer 1
74RCLK2IReceive Clock for Framer 2
100RCLK3IReceive Clock for Framer 3
62RD*/(DS*)IRead Input (Data Strobe)
17RFSYNC0OReceive Frame Sync from Framer 0
51RFSYNC1OReceive Frame Sync from Framer 1
85RFSYNC2OReceive Frame Sync from Framer 2
109RFSYNC3OReceive Frame Sync from Framer 3
5RLCLK0OReceive Link Clock from Framer 0
DS21Q42
12 of 119
DS21Q42
PINSYMBOLTYPEDESCRIPTION
39RLCLK1OReceive Link Clock from Framer 1
73RLCLK2OReceive Link Clock from Framer 2
99RLCLK3OReceive Link Clock from Framer 3
4RLINK0OReceive Link Data from Framer 0
38RLINK1OReceive Link Data from Framer 1
72RLINK2OReceive Link Data from Framer 2
98RLINK3OReceive Link Data from Framer 3
7RNEG0IReceive Bipolar Data for Framer 0
41RNEG1IReceive Bipolar Data for Framer 1
75RNEG2IReceive Bipolar Data for Framer 2
101RNEG3IReceive Bipolar Data for Framer 3
8RPOS0IReceive Bipolar Data for Framer 0
42RPOS1IReceive Bipolar Data for Framer 1
76RPOS2IReceive Bipolar Data for Framer 2
102RPOS3IReceive Bipolar Data for Framer 3
13RSER0OReceive Serial Data from Framer 0
49RSER1OReceive Serial Data from Framer 1
83RSER2OReceive Serial Data from Framer 2
107RSER3OReceive Serial Data from Framer 3
9RSIG0OReceive Signaling Output from Framer 0
43RSIG1OReceive Signaling output from Framer 1
77RSIG2OReceive Signaling Output from Framer 2
103RSIG3OReceive Signaling Output from Framer 3
12RSYNC0I/OReceive Sync for Framer 0
48RSYNC1I/OReceive Sync for Framer 1
82RSYNC2I/OReceive Sync for Framer 2
106RSYNC3I/OReceive Sync for Framer 3
11RSYSCLK0IReceive System Clock for Elastic Store in Framer 0
45RSYSCLK1IReceive System Clock for Elastic Store in Framer 1
81RSYSCLK2IReceive System Clock for Elastic Store in Framer 2
105RSYSCLK3IReceive System Clock for Elastic Store in Framer 3
16SPARE1-RESERVED - must be left unconnected for normal operation
1TCHBLK0OTransmit Channel Block from Framer 0
35TCHBLK1OTransmit Channel Block from Framer 1
69TCHBLK2OTransmit Channel Block from Framer 2
95TCHBLK3OTransmit Channel Block from Framer 3
19TCLK0ITransmit Clock for Framer 0
53TCLK1ITransmit Clock for Framer 1
87TCLK2ITransmit Clock for Framer 2
113TCLK3ITransmit Clock for Framer 3
57TESTI3-state Control for all Output and I/O Pins
20TLCLK0OTransmit Link Clock from Framer 0
54TLCLK1OTransmit Link Clock from Framer 1
88TLCLK2OTransmit Link Clock from Framer 2
114TLCLK3OTransmit Link Clock from Framer 3
22TLINK0ITransmit Link Data for Framer 0
56TLINK1ITransmit Link Data for Framer 1
13 of 119
PINSYMBOLTYPEDESCRIPTION
90TLINK2ITransmit Link Data for Framer 2
116TLINK3ITransmit Link Data for Framer 3
3TNEG0OTransmit Bipolar Data from Framer 0
37TNEG1OTransmit Bipolar Data from Framer 1
71TNEG2OTransmit Bipolar Data from Framer 2
97TNEG3OTransmit Bipolar Data from Framer 3
2TPOS0OTransmit Bipolar Data from Framer 0
36TPOS1OTransmit Bipolar Data from Framer 1
70TPOS2OTransmit Bipolar Data from Framer 2
96TPOS3OTransmit Bipolar Data from Framer 3
126TSER0ITransmit Serial Data for Framer 0
32TSER1ITransmit Serial Data for Framer 1
66TSER2ITransmit Serial Data for Framer 2
92TSER3ITransmit Serial Data for Framer 3
128TSIG0ITransmit Signaling Input for Framer 0
34TSIG1ITransmit Signaling Input for Framer 1
68TSIG2ITransmit Signaling Input for Framer 2
94TSIG3ITransmit Signaling Input for Framer 3
127TSSYNC0ITransmit Sync for Elastic Store in Framer 0
33TSSYNC1ITransmit Sync for Elastic Store in Framer 1
67TSSYNC2ITransmit Sync for Elastic Store in Framer 2
93TSSYNC3ITransmit Sync for Elastic Store in Framer 3
21TSYNC0I/OTransmit Sync for Framer 0
55TSYNC1I/OTransmit Sync for Framer 1
89TSYNC2I/OTransmit Sync for Framer 2
115TSYNC3I/OTransmit Sync for Framer 3
125TSYSCLK0ITransmit System Clock for Elastic Store in Framer 0
31TSYSCLK1ITransmit System Clock for Elastic Store in Framer 1
65TSYSCLK2ITransmit System Clock for Elastic Store in Framer 2
91TSYSCLK3ITransmit System Clock for Elastic Store in Framer 3
15VDD-Positive Supply Voltage
79VDD-Positive Supply Voltage
111VDD-Positive Supply Voltage
14VSS-Signal Ground
78VSS-Signal Ground
110VSS-Signal Ground
63WR*/(R/W*)IWrite Input (Read/Write)
DS21Q42
14 of 119
DS21Q42
3. DS21Q42 PIN FUNCTION DESCRIPTION
TRANSMIT SIDE PINS
Signal Name: TCLK
Signal Description: Transmit Clock
Signal Type: Input
A 1.544 MHz primary clock. Used to clock data through the transmit side formatter.
Signal Name: TSER
Signal Description: Transmit Serial Data
Signal Type: Input
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: TCHCLK
Signal Description: Transmit Channel Clock
Signal Type: Output
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. This function is available when FMS = 1
(DS21Q41 emulation).
Signal Name: TCHBLK
Signal Description: Transmit Channel Block
Signal Type: Output
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 service, 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 12 for details.
Signal Name: TSYSCLK
Signal Description: Transmit System Clock
Signal Type: Input
1.544 MHz or 2.048 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. Can be burst at rates up
to 8.192 MHz.
Signal Name: TLCLK
Signal Description: Transmit Link Clock
Signal Type: Output
4 KHz or 2 KHz (ZBTSI) demand clock for the TLINK input. See Section 15 for details.
15 of 119
DS21Q42
Signal Name: TLINK
Signal Description: Transmit Link Data
Signal Type: Input
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.
Signal Name: TSYNC
Signal Description: Transmit Sync
Signal Type: Input /Output
A pulse at this pin will establish either frame or multiframe boundaries for the transmit side. Via TCR2.2,
the DS21Q42 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: TSSYNC
Signal Description: Transmit System Sync
Signal Type: Input
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: TSIG
Signal Description: Transmit Signaling Input
Signal Type: Input
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. This function is available when
FMS = 0.
Signal Name: TPOS
Signal Description: Transmit Positive Data Output
Signal Type: Output
Updated on the rising edge of TCLK 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.
Signal Name: TNEG
Signal Description: Transmit Negative Data Output
Signal Type: Output
Updated on the rising edge of TCLK with the bipolar data out of the transmit side formatter.
16 of 119
DS21Q42
RECEIVE SIDE PINS
Signal Name: RLINK
Signal Description: Receive Link Data
Signal Type: Output
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.
Signal Name: RLCLK
Signal Description: Receive Link Clock
Signal Type: Output
A 4 KHz or 2 KHz (ZBTSI) clock for the RLINK output.
Signal Name: RCHCLK
Signal Description: Receive Channel Clock
Signal Type: Output
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. This function is available when FMS = 1
(DS21Q41 emulation).
Signal Name: RCHBLK
Signal Description: Receive Channel Block
Signal Type: Output
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 12 for details.
Signal Name: RSER
Signal Description: Receive Serial Data
Signal Type: Output
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: RSYNC
Signal Description: Receive Sync
Signal Type: Input /Output
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 20 for details.
Signal Name: RFSYNC
Signal Description: Receive Frame Sync
Signal Type: Output
An extracted 8 KHz pulse, one RCLK wide, is output at this pin which identifies frame boundaries.
17 of 119
DS21Q42
Signal Name: RMSYNC
Signal Description: Receive Multiframe Sync
Signal Type: Output
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. This function is available when FMS = 1 (DS21Q41 emulation).
Signal Name: RSYSCLK
Signal Description: Receive System Clock
Signal Type: Input
1.544 MHz or 2.048 MHz clock. Only used when the elastic store function is enabled. Should be tied low
in applications that do not use the elastic store. Can be burst at rates up to 8.192 MHz.
Signal Name: RSIG
Signal Description: Receive Signaling Output
Signal Type: Output
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.
This function is available when FMS = 0.
Signal Name: RLOS/LOTC
Signal Description: Receive Loss of Sync / Loss of Transmit Clock
Signal Type: Output
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 usec. This function is available when FMS = 1 (DS21Q41
emulation).
Signal Name: CLKSI
Signal Description: 8 MHz Clock Reference
Signal Type: Input
A 1.544 MHz reference clock used in the generation of 8MCLK. This function is available when
FMS = 0.
Signal Name: 8MCLK
Signal Description: 8 MHz Clock
Signal Type: Output
A 8.192 MHz output clock that is referenced to the clock that is input at the CLKSI pin. This function is
available when FMS = 0.
18 of 119
DS21Q42
Signal Name: RPOS
Signal Description: Receive Positive Data Input
Signal Type: Input
Sampled on the falling edge of RCLK for data to be clocked through the receive side framer. RPOS and
RNEG can be tied together for an NRZ interface. Connecting RPOS to RNEG disables the bipolar
violation monitoring circuitry.
Signal Name: RNEG
Signal Description: Receive Negative Data Input
Signal Type: Input
Sampled on the falling edge of RCLK for data to be clocked through the receive side framer. RPOS and
RNEG can be tied together for an NRZ interface. Connecting RPOS to RNEG disables the bipolar
violation monitoring circuitry.
Signal Name: RCLK
Signal Description: Receive Clock Input
Signal Type: Input
Clock used to clock data through the receive side framer.
PARALLEL CONTROL PORT PINS
Signal Name: INT*
Signal Description: Interrupt
Signal Type: Output
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.
Signal Name: FMS
Signal Description: Framer Mode Select
Signal Type: Input
Set low to select DS21Q42 feature set. Set high to select DS21Q41 emulation.
Signal Name: MUX
Signal Description: Bus Operation
Signal Type: Input
Set low to select non–multiplexed bus operation. Set high to select multiplexed bus operation.
Signal Name: D0 to D7/ AD0 to AD7
Signal Description: Data Bus or Address/Data Bus
Signal Type: Input /Output
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: A0 to A5, A7
Signal Description: Address Bus
Signal Type: Input
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.
19 of 119
DS21Q42
Signal Name: ALE(AS)/A6
Signal Description: A6 or Address Latch Enable (Address Strobe)
Signal Type: Input
In non–multiplexed bus operation (MUX = 0), serves as address bit 6. In multiplexed bus operation
(MUX = 1), serves to demultiplex the bus on a positive–going edge.
Signal Name: BTS
Signal Description: Bus Type Select
Signal Type: Input
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: RD*(DS*)
Signal Description: Read Input (Data Strobe)
Signal Type: Input
RD* and DS* are active low signals. Note: DS is active high when MUX=1. Refer to bus timing
diagrams in section 21 .
Signal Name: FS0 AND FS1
Signal Description: Framer Selects
Signal Type: Input
Selects which of the four framers to be accessed.
Signal Name: CS*
Signal Description: Chip Select
Signal Type: Input
Must be low to read or write to the device. CS* is an active low signal.
Signal Name: WR*( R/W*)
Signal Description: Write Input(Read/Write)
Signal Type: Input
WR* is an active low signal.
TEST ACCESS PORT PINS
Signal Name: TEST
Signal Description: 3–State Control
Signal Type: Input
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 in board level testing.
20 of 119
DS21Q42
Signal Name: JTRST*
Signal Description: IEEE 1149.1 Test Reset
Signal Type: Input
This signal is used to asynchronously reset the test access port controller. At power up, JTRST* must be
set low and then high. This action will set the device into the DEVICE ID mode allowing normal device
operation. If boundary scan is not used and FMS = 0, this pin should be held low. This function is
available when FMS = 0. When FMS=1, this pin is held LOW internally. This pin is pulled up internally
by a 10K ohm resistor.
Signal Name: JTMS
Signal Description: IEEE 1149.1 Test Mode Select
Signal Type: Input
This pin is sampled on the rising edge of JTCLK and is used to place the test port into the various defined
IEEE 1149.1 states. This pin is pulled up internally by a 10K ohm resistor. If not used, this pin should be
left unconnected. This function is available when FMS = 0.
Signal Name: JTCLK
Signal Description: IEEE 1149.1 Test Clock Signal
Signal Type: Input
This signal is used to shift data into JTDI pin on the rising edge and out of JTDO pin on the falling edge.
If not used, this pin should be connected to VSS. This function is available when FMS = 0.
Signal Name: JTDI
Signal Description: IEEE 1149.1 Test Data Input
Signal Type: Input
Test instructions and data are clocked into this pin on the rising edge of JTCLK. This pin is pulled up
internally by a 10K ohm resistor. If not used, this pin should be left unconnected. This function is
available when FMS = 0.
Signal Name: JTDO
Signal Description: IEEE 1149.1 Test Data Output
Signal Type: Output
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. This function is available when FMS = 0.
SUPPLY PINS
Signal Name: VDD
Signal Description: Positive Supply
Signal Type: Supply
2.97 to 3.63 volts.
Signal Name: VSS
Signal Description: Signal Ground
Signal Type: Supply
09–Not used(set to 00H)
0AR/WCommon Control 7CCR7
0B–Not used(set to 00H)
0C–Not used(set to 00H)
0D–Not used(set to 00H)
0E–Not used(set to 00H)
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
1FRReceive DS0 MonitorRDS0M
20R/WStatus 1SR1
21R/WStatus 2SR2
22R/WReceive Information 1RIR1
23RLine Code Violation Count 1LCVCR1
24RLine Code Violation Count 2CVCR2
25RPath Code Violation Count 1PCVCR1
26RPath Code violation Count 2PCVCR2
27RMultiframe Out of Sync Count 2MOSCR2
28RReceive FDL RegisterRFDL
29R/WReceive FDL Match 1RMTCH1
ABBREVIATION
DS21Q42
REGISTER
22 of 119
REGISTER
ADDRESSR/WREGISTER NAME
ABBREVIATION
2AR/WReceive FDL Match 2RMTCH2
2BR/WReceive Control 1RCR1
2CR/WReceive Control 2RCR2
2DR/WReceive Mark 1RMR1
99–Not used(set to 00H)
9A–Not used(set to 00H)
9B–Not used (set to 00H)
9C–Not used (set to 00H)
9D–Not used (set to 00H)
9E–Not used (set to 00H)
9F–Not used (set to 00H)
DS21Q42
Notes:
1. Test Registers 1 and 2 are used only by the factory; these registers must be cleared (set to all zeros) on
power– up initialization to insure proper operation.
2. Register banks AxH, BxH, CxH, DxH, ExH, and FxH are not accessible.
25 of 119
DS21Q42
5. PARALLEL PORT
The DS21Q42 is controlled via either a nonmultiplexed (MUX = 0) or a multiplexed (MUX = 1) bus b y
an external microcontroller or microprocessor. The DS21Q42 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 21 for more details.
6. CONTROL, I D AND TEST REGISTERS
The operation of each framer within the DS21Q42 is configured via a set of eleven control registers.
Typically, the control registers are only accessed when the system is first powered up. Once a channel in
the DS21Q42 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 Register (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. There is a device Identification Register (IDR)
at address 0Fh. The MSB of this read–only register is fixed to a zero indicating that the DS21Q42 is
present. The E1 pin–for–pin compatible version of the DS21Q42 is the DS21Q44 and it also has an ID
register at address 0Fh and the user c an read the MSB to determine which chip is present since in the
DS21Q42 the MSB will be set to a zero and in the DS21Q44 it will be set to a one. The lower four bits of
the IDR are used to display the die revision of the chip.
Power–Up Sequence
The DS21Q42 does not automatically clear its register space on power–up. After the supplies are stable,
each of the four framer’s register space should be confi gured for operation by writing to all of the internal
registers. This includes setting the Test and all unused registers to 00Hex.
This can be accomplished using a two-pass approach on each framer within the DS21Q42.
1. Clear framer’s register space by writing 00H to the addresses 00H through 09FH.
2. Program required registers to achieve desired operating mode.
Note:
When emulating the DS21Q41 feature set (FMS = 1), the full address space (00H through 09FH) must be
initialized. DS21Q41 emulation requires address pin A7 to be used.
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).
RSDWRCR2.5RSYNC Double–Wide. (note: this bit must be set to zero when
RSMRCR2.4RSYNC Mode Select. (A Don’t Care if RSYNC is programmed as
RSIORCR2.3RSYNC I/O Select. (note: this bit must be set to zero when CCR1.2
RD4YMRCR2.2
FSBERCR2.1
MOSCRFRCR2.0
Receive Side ZBTSI Enable.
0 = ZBTSI disabled
1 = ZBTSI enabled
RCR2.4 = 1 or when RCR2.3 = 1)
0 = do not pulse double wide in signaling frames
1 = do pulse double wide in signaling frames
an input)
0 = frame mode (see the timing in Section 20)
1 = multiframe mode (see the timing in Section 20)
= 0)
0 = RSYNC is an output
1 = RSYNC is an input (only valid if elastic store enabled)
Receive Side D4 Yellow Alarm Select.
0 = zeros in bit 2 of all channels
1 = a one in the S–bit position of frame 12
PCVCR 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
Multiframe Out of Sync Count Register Function Select.
0 = count errors in the framing bit position
1 = count the number of multiframes out of sync
28 of 119
DS21Q42
TCR1: TRANSMIT CONTROL REGISTER 1 (Address=35 Hex)
(MSB)(LSB)
LOTCMCTFPTTCPTTSSEGB7STFDLSTBLTYEL
SYMBOLPOSITIONNAME AND DESCRIPTION
LOTCMCTCR1.7Loss Of Transmit Clock Mux Control. Determines whether the
transmit side formatter should switch to RCLK if the TCLK input
should fail to transition (see Figure 1.1 for details).
0 = do not switch to RCLK if TCLK stops
1 = switch to RCLK if TCLK stops
TFPTTCR1.6Transmit F–Bit Pass Through. (see note below)
0 = F bits sourced internally
1 = F bits sampled at TSER
TCPTTCR1.5Transmit CRC Pass Through. (see note below)
0 = source CRC6 bits internally
1 = CRC6 bits sampled at TSER during F–bit time
TSSETCR1.4Software Signaling Insertion Enable. (see note below)
0 = no signaling is inserted in any channel
1 = signaling is inserted in all channels from the TS1-TS12 registers
(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
TFDLSTCR1.2TFDL Register Select. (see note below)
0 = source FDL or Fs bits from the internal TFDL register (legacy
FDL support mode)
1 = source FDL or Fs bits from the internal HDLC/BOC controller
or 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 description of how the bits in TCR1 affect the transmit side formatter, see Figure 20-15.
29 of 119
DS21Q42
TCR2: TRANSMIT CONTROL REGISTER 2 (Address=36 Hex)
(MSB)(LSB)
TEST1TEST0TZBTSITSDWTSMTSIOTD4YMTB7ZS
SYMBOLPOSITIONNAME AND DESCRIPTION
TEST1TCR2.7Test Mode Bit 1 for Output Pins. See Table 6–1.
TEST0TCR2.6Test Mode Bit 0 for Output Pins. See Table 6–1.
TZBTSITCR2.5
TSDWTCR2.4TSYNC Double–Wide. (note: this bit must be set to zero when
TSMTCR2.3
TSIOTCR2.2
TD4YMTCR2.1
TB7ZSTCR2.0
Transmit Side ZBTSI Enable.
0 = ZBTSI disabled
1 = ZBTSI enabled
TCR2.3=1 or when TCR2.2=0)
0 = do not pulse double–wide in signaling frames
1 = do pulse double–wide in signaling frames
TSYNC Mode Select.
0 = frame mode (see the timing in Section 20)
1 = multiframe mode (see the timing in Section 20)
TSYNC I/O Select.
0 = TSYNC is an input
1 = TSYNC is an output
Transmit Side D4 Yellow Alarm Select.
0 = zeros in bit 2 of all channels
1 = a one in the S–bit position of frame 12
Transmit Side Bit 7 Zero Suppression Enable.
0 = no stuffing occurs
1 = Bit 7 force to a one in channels with all zeros
OUTPUT PIN TEST MODES Table 6-1
TEST 1TEST 0EFFECT ON OUTPUT PINS
00operate normally
01force all of the selected framer’s output pins 3–state (excludes other
framers I/O pins and parallel port pins)
10force all of the selected framer’s output pins low (excludes other
framers I/O pins and parallel port pins)
11force all of the selected framer’s output pins high (excludes other
framers I/O pins and parallel port pins)
30 of 119
Loading...
+ 89 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.