DS2143/DS2143Q
E1 Controller
www.dalsemi.com
FEATURES
E1/ISDN-PRI framing transceiver
Frames to CAS, CCS, and CRC4 formats
Parallel control port
Onboard two frame elastic store slip buffer
Extracts and inserts CAS signaling bits
Programmable output clocks for fractional E1
links, DS0 loopbacks, and drop and insert
applications
Onboard Sa data link support circuitry
FEBE E-Bit detection, counting and
generation
Pin-compatible with DS2141A T1 Controller
5V supply; low power (50 mW) CMOS
Available in 40-pin DIP and 44-pin PLCC
(DS2143Q)
PIN ASSIGNMENT
TCLK
TSER
TCHCLK
TPOS
TNEG
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
BTS
RD(DS)
CS
ALE(AS)
WR(R/W)
RLINK
VSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
VDD
TSYNC
TLINK
TLCLK
INT1
INT2
RLOS/LOTC
TCHBLK
RCHBLK
LI_CS
LI_CLK
LI_SDI
SYSCLK
RNEG
RPOS
RSYNC
RSER
RCHCLK
RCLK
RLCLK
40-Pin DIP (600-mil)
TNEG
TPOS
TCHCLK
TSER
TCLK
VDD
TSYNC
TLINK
TLCLK
INT1
INT2
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
BTS
RD(DS)
NC
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
5
4
3
2
1
44
43
42
41 40
39
38
37
36
35
44-PIN PLCC
34
33
32
31
30
29
28
RLOS/LOTC
TCHBLK
RCHBLK
LI_CS
LI_CLK
LI_SDI
NC
NC
SYSCLK
RNEG
RPOS
DESCRIPTION
The DS2143 is a comprehensive, software-driven E1 framer. It is meant to act as a slave or coprocessor to
a microcontroller or microprocessor. Quick access via the parallel control port allows a single micro to
handle many E1 lines. The DS2143 is very flexible and can be configured into numerous orientations via
software. The software orientation of the device allows the user to modify their design to conform to
future E1 specification changes. The controller contains a set of 69 8-bit internal registers which the user
1 of 44
112099
NC
CS
ALE(AS)
WR(R/W)
RLINK
VSS
RLCLK
RCLK
RCHCLK
RSER
RSYNC
DS2143/DS2143Q
can access. These internal registers are used to configure the device and obtain information from the E1
link. The device fully meets al l of the latest E1 specifications, including CCITT G.704, G.706, and
G.732.
1.0 INTRODUCTION
The DS2143 E1 Controller has four main sections: the receive side, the transmit side, the line interface
controller, and the parallel control port. See the Block Diagram. On the receive side, the device will
clock in the serial E1 stream via the RPOS and RNEG pins. The synchronizer will locate the frame and
multiframe patterns and establish their respective positions. This information will be used by the rest of
the receive side circuitry.
The DS2143 is an “off-line” framer, which means that all of the E1 serial stream that goes into the device
will come out of it unchanged. Once the E1 data has been framed to, the signaling data can be extracted.
The two-frame elastic store can either be enabled or bypassed.
The transmit side clocks in the unframed E1 stream at TSER and add in the framing pattern and the
signaling. The line interface control port will update line interface devices that contain a serial port. The
parallel control port contains a multiplexed address and data structure which can be connected to either a
microcontroller or microprocessor.
Reader’s Note:
This data sheet assumes a particular nomenclature of the E1 operating environment. There are 32 8-bit
timeslots in an E1 systems which are number 0 to 31. Timeslot 0 is transmitted first and received first.
These 32 timeslots are also referred to as channels with a numbering scheme of 1 to 32. Timeslot 0 is
identical to channel 1, timeslot 1 is identical to channel 2, and so on. Each timeslot (or channel) is made
up of 8 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:
FAS
CRC4
CAS
CCS
MF
Sa
Si
E-bit
Frame Alignment Signal
Cyclical Redundancy Check
Channel Associated Signaling
Common Channel Signaling
Multiframe
Additional bits
International bits
CRC4 Error Bits
2 of 44
DS2143/DS2143Q
DS2143 FEATURES
Parallel control port
Onboard two-frame elastic store
CAS signaling bit extraction and insertion
Fully independent transmit and receive sections
Full alarm detection
Full access to Si and Sa bits
Loss of transmit clock detection
HDB3 coder/decoder
Full transmit transparency
Large error counters
Individual bit-by-bit Sa data link support circuitry
Programmable output clocks
Frame sync generation
Local loopback capability
Automatic CRC4 E-bit support
Loss of receive clock detection
G.802 E1 to T1 mapping support
DS2143 BLOCK DIAGRAM
3 of 44
DS2143/DS2143Q
PIN DESCRIPTION
Table 1
PIN
1
2
3
SYMBOL
TCLK
TSER
TCHCLK
TYPE
DESCRIPTION
I
Transmit Clock.
2.048 MHz primary clock. A clock must be
applied at the TCLK pin for the parallel port to operate properly.
I
Transmit Serial Data.
Transmit NRZ serial data, sampled on the
falling edge of TCLK.
O
Transmit Channel Clock.
256 kHz clock which pulses high during
the LSB of each channel. Useful for parallel-to-serial conversion of
channel data. See Section 13 for timing details.
O
Transmit Bipolar Data.
Updated on rising edge of TCLK. For
optical links, can be programmed to output NRZ data.
I/O
Address/Data Bus.
An 8-bit multiplexed address/data bus.
I
Bus Type Select.
Strap high to select Motorola bus timing; strap
low to select Intel bus timing. This pin controls the function of
RD
(DS), ALE(AS), and
WR
(R/
W
) pins. If BTS=1, then these pins
assume the function listed in parentheses ().
I
Read Input (Data Strobe).
I
Chip Select.
Must be low to read or write the port.
I
Address Latch Enable (Address Strobe).
A positive-going edge
serves to demultiplex the bus.
I
Write Input (Read/Write).
O
Receive Link Data.
Outputs Sa bits. See Section 13 for timing
details.
-
Signal Ground.
0.0 volts.
O
Receive Link Clock.
4 kHz to 20 kHz demand clock for the
RLINK output. Controlled by RCR2. See Section 13 for timing
details.
I
Receive Clock.
2.048 MHz primary clock. A clock must be applied
at the RCLK pin for the parallel port to operate properly.
O
Receive Channel Clock.
256 kHz clock which pulses high during
the LSB of each channel. Useful for serial to parallel conversion of
channel data. See Section 13 for timing details.
O
Receive Serial Data.
Received NRZ serial data, updated on rising
edges of RCLK.
I/O
Receive Sync.
An extracted pulse, one RCLK wide, is output at this
pin which identifies either frame (RCR1.6=0) or multiframe
boundaries (RCR1.6=1). If the elastic store is enabled via the
RCR2.1, then this pin can be enabled to be an input via RCR1.5 at
which a frame boundary pulse is applied. See Section 13 for timing
details.
I
Receive Bipolar Data Inputs.
Sampled on falling edge of RCLK.
Tie together to receive NRZ data and disable BPV monitoring
circuitry.
I
System Clock.
1.544 MHz or 2.048 MHz clock. Only used when
the elastic store function is enabled via the RCR2.1. Should be tied
low in applications that do not use the elastic store.
4
5
6-13
14
TPOS
TNEG
AD0-AD7
BTS
15
16
17
18
19
20
21
RD
(DS)
CS
ALE(AS)
WR
(R/
W
)
RLINK
V
SS
RLCLK
22
23
RCLK
RCHCLK
24
25
RSER
RSYNC
26
27
28
RPOS
RNEG
SYSCLK
4 of 44
DS2143/DS2143Q
PIN
29
SYMBOL
LI_SDI
30
LI_CLK
31
LI_
CS
32
33
RCHBLK
TCHBLK
34
RLOS/LOTC
35
36
INT2
INT1
37
TLCLK
38
TLINK
39
TSYNC
40
VDD
TYPE
DESCRIPTION
O
Serial Port Data for the Line Interface.
Connects directly to the
SDI input pin on the line interface. See Sections 12 and 13 for
timing details.
O
Serial Port Clock for the Line Interface.
Connects directly to the
SCLK input pin on the line interface. See Sections 12 and 13 for
timing details.
O
Serial Port Chip Select for the Line Interface.
Connects directly
to the
CS
input pin on the line interface. See Sections 12 and 13 for
timing details.
O
Receive/Transmit Channel Block.
A user programmable output
that can be forced high or low during any of the 32 E1 channels.
Useful for blocking clocks to a serial UART or LAPD controller in
applications where not all E1 channels are used such as Fractional
E1 or ISDN-PRI. Also useful for locating individual channels in
drop-and-insert applications. See Sections 9 and 13 for details.
O
Receive Loss of Sync/Loss of Transmit Clock.
A dual function
output. If TCR2.0=0, then this pin will toggle high when the
synchronizer is searching for the E1 frame and multiframe. If
TCR2.0=1, then this pin will toggle high if the TCLK pin has not
toggled for 5
µs.
O
Receive Alarm Interrupt 2.
Flags host controller during conditions
defined in Status Register 2. Active low, open drain output.
O
Receive Alarm Interrupt 1.
Flags host controller during alarm
conditions defined in Status Register 1. Active low, open drain
output.
O
Transmit Link Clock.
4 kHz to 20 kHz demand clock for the
TLINK input. Controlled by TCR2. See Section 13 for timing
details.
I
Transmit Link Data.
If enabled, this pin will be sampled on the
falling edge of TCLK to insert Sa bits. See Section 13 for timing
details.
I/O
Transmit Sync.
A pulse at this pin will establish either frame or
CAS multiframe boundaries for the DS2143. Via TCR1.1, the
DS2143 can be programmed to output either a frame or multiframe
pulse at this pin. See Section 13 for timing details.
-
Positive Supply.
5.0 volts.
5 of 44