CS62180B
T1 Framer
Features
General Description
•
• CS62180B Supports SF(D4®), T1DM,
The CS62180B is a monolithic CMOS device
which encodes and decodes T1 framing formats.
The device supports bit-seven and B8ZS zero suppression, and bit-robbed signaling. Clear channel mode can
be selected on a per channel basis.
Monolithic T1 Framing Device
ESF and SLC-96® Framing Formats
• CS62180B Contains Updated AIS and
Carrier Loss Detection Criteria
• CS62180B is Pin Compatible with
The serial interface has been enhanced to allow
the CS62180B to share a chip select signal and
register address space with the CS61535A,
CS61574A, and CS61575 Line Interface Units.
Applications
•
•
T1 Line Cards
ISDN Primary Rate Line Cards
Ordering Information:
DS2180A, and DS2180
TMSYNC
TFSYNC
1
2
3
TCLK
Transmit Timing
TLCLK
11
CS62180B-IL 44 Pin PLCC
TSER TABCD
5
9
7
6
4
8
CRC
TLINK
10
-40 to 85 °C
Data
Selector
F-Bit Data
Yellow Alarm
12
Bipolar
13
Coder
TSIGSEL
TMO
TCHCLK
TSIGFR
TPOS
TNEG
Transmitter
INT
CS
SCLK
SDI
SDO
SPS
14
17
18
15
16
19
RSER
RABCD
RLINK
26
29
22
RLCLK
RSIGFR
RSIGSEL
RCHCLK
23
30
31
25
Serial
Interface
Registers
Control
Code Gen.
Data
DeMUX
Receive
Timing
28
27
RMSYNC RFSYNC
Cirrus Logic, Inc.
www.cirrus.com
40
20 VDD
VSS
33
32 RST
TEST
Alarm
Detect
Receive Sync
Controller
CRC
39
37
36
Bipolar 34
Decoder 35
38
24
Synchronizer
21
RLOS
RBV
RCL
RPOS
RNEG
RFER
RCLK
Receiver
RYEL RBL (CS2180B-IL only)
Copyright Cirrus Logic, Inc 2003
(All Rights Reserved)
DEC '03
DS225PP2
1
CS62180B
ABSOLUTE MAXIMUM RATINGS
Parameter
Symbol
Min
Typ
Max
Units
DC Supply
(Referenced to GND)
VDD
-
-
6.0
V
Input voltage, any pin
(Referenced to GND)
VIN
-1.0
-
+7
V
Input Current, any pin
(Note 1)
IIN
-10
-
+10
mA
TA
-40
-
85
°C
TSTG
-65
-
150
°C
-
-
260
°C
Ambient Operating Temperature
Storage Temperature
Soldering Temperature for 10 s.
Notes: 1. Transient current of up to 100 mA will not cause SCR latch-up.
WARNING:
Operation at or beyond these limits may result in permanent damage to the device.
Normal operation is not guaranteed at these extremes.
RECOMMENDED OPERATING CONDITIONS
Parameter
DC Voltage
Supply Current
(Notes 2 and 3)
Ambient Operating Temperature
Symbol
Min
Typ
Max
Units
VDD
4.5
5.0
5.5
V
IDD
-
3
10
mA
TA
-40
25
85
°C
Power Consumption
(Notes 2 and 3)
PC
15
85
Notes: 2. TCLK = RCLK = 1.544 MHz. If RCLK is static and RST is high, IDD will typically be 1.0 mA.
3. Outputs open.
mW
DIGITAL CHARACTERISTICS (TA = -40 to 85 °C; VDD = 5.0 V ±10%; GND = 0 V)
Parameter
High-Level Input Voltage
(Note 4)
Low-Level Input Voltage
Symbol
Min
Typ
Max
Units
VIH
2.0
-
VDD +0.3
V
HIL
-0.3
-
+0.8
V
High-level Output Voltage
(Note 5)
VOH
VDD - 1.0
-
-
V
Low-Level Output Voltage
(IOUT = 1.6 mA)
VOL
-
-
0.4
V
Output Current @ 2.4 V
(Note 6)
IOH
-
-
-1
mA
Output Current @ 0.4 V
(Note 7)
IOL
+4
-
-
mA
IIL
-
-
1
µA
ILO
-
-
1
µA
CIN
-
-
5
pF
Input Leakage Current
Output Leakage Current
Input Capacitance
(Note 8)
Output Capacitance
COUT
7
pF
Notes: 4. VIH (min) = 2.2 V for VDD = 5.25 to 5.5 V and TA > 70 °C.
5. IOUT = -100 µA. This guarantees the ability to drive one TTL load (VOH = 2.4 V @ IOUT = -40 µA).
6. All outputs except INT, which is open drain.
7. All outputs.
8. Applies to SDO when tristated.
2
DS225PP2
CS62180B
SWITCHING CHARACTERISTICS - SERIAL PORT
(TA = -40 to 85 °C; VDD = 5V ± 10%; VIH = 2.0V; VIL = 0.8V; Maximum input rise & fall times of 10 ns)
Parameter
Symbol
Min
Typ
Max
Units
SDI to SCLK Setup
tDC
50
-
-
ns
SCLK to SDI Hold
tCDH1
50
-
-
ns
SCLK Low Time
tCL
250
-
-
ns
SCLK High Time
tCH
250
-
-
ns
tR, tF
-
-
500
ns
CS to SCLK Set up
tCC
50
-
-
ns
SCLK to CS Hold
tCCH
50
-
-
ns
CS Inactive Time
tCWH
250
-
-
ns
(Note 9)
tCDV
-
-
200
ns
(Note 10)
tCDH2
25
-
-
ns
75
ns
SCLK Rise & Fall Times
(Note 9)
SCLK to SDO Valid
SCLK Rising to MSB of SDO Hold
CS to SDO High-Z
tCDZ
Notes: 9. Output load capacitance = 100 pF.
10. SDO goes High-Z after rising edge of SCLK for MSB, regardless of the state of CS.
CS
t CC
t CH
t CWH
t CCH
SCLK
t DC
t CDH1
t CL
LSB
SDI
t CDH1
MSB
LSB
Control Byte
Data Byte
Serial Port Write Timing
11. In the CS62180B, data is latched on the rising edge of SCLK.
12. Shaded regions indicate don’t care states.
CS
t CDZ
SCLK
t CDV
SDO
t CDH2
High-Z
MSB
High-Z
Serial Port Read Timing
13. Serial port write must precede a port read to provide address information.
14. SDO will go High-Z: 1) if CS returns high at anytime; 2) after outputing MSB.
DS225PP2
3
CS62180B
SWITCHING CHARACTERISTICS - TRANSMITTER
(TA = -40 to 85 °C; VDD = 5V ± 10%; VIH = 2.0V; VIL = 0.8V; Maximum input rise & fall times of 10 ns)
Parameter
Symbol
Min
Typ
Max
Units
tP
250
648
-
ns
tWL, tWH
125
324
-
ns
TCLK Rise & Fall Times
tF, tR
-
20
-
ns
TSER, TABCD, TLINK Setup to TCLK Falling
tSTD
50
-
-
ns
TSER, TABCD, TLINK Hold from TCLK Falling
tHTD
50
-
-
ns
TFSYNC, TMSYNC Setup to TCLK Rising
tSTS
-125
-
125
ns
TFSYNC, TMSYNC Pulse Width
tTSP
100
-
-
ns
tPTS
-
-
75
ns
tPTCH
-
-
75
ns
TCLK Period
TCLK Pulse Width
Propagation Delays
TFSYNC to TMO, TSIGSEL, TSIGFR, TLCLK
TCLK Rising to TCHCLK
SWITCHING CHARACTERISTICS - RECEIVER
(TA = -40 to 85 °C; VDD = 5V ± 10%; VIH = 2.0V; VIL = 0.8V; Maximum input rise & fall times of 10 ns)
Parameter
Symbol
Min
Typ
Max
Units
tTTR
-
-
20
ns
tP
250
648
-
ns
tWL, tWH
100
324
-
ns
RCLK Rise & Fall Times
tF, tR
-
20
-
ns
RPOS, RNEG Setup to RCLK Falling
tSRD
50
-
-
ns
RPOS, RNEG Hold to RCLK Falling
tHRD
50
-
-
ns
Minimum RST Pulse Width on System Power Up or Restart
tRST
1
-
-
µs
RCLK to RMSYNC, RFSYNC,RSIGSEL,
RSIGFR, RLCLK, RCHCLK
tPRS
-
-
75
ns
RCLK to RSER, RABCD, RLINK
tPRD
-
-
75
ns
RCLK to RYEL, RCL, RFER, RLOS, RBV
tPRA
-
-
75
ns
Transition Time, All Outputs
RCLK Period
RCLK Pulse Width
Propagation Delays
Average Reframe Time
(Notes 15 and 16)
193S
RCR.2 = 0
RCR.2 = 1
tRS
-
3.75
7.25
-
ms
ms
193E
RCR.2 = 0
RCR.2 = 1
tRS
-
7.5
14.5
-
ms
ms
tRS
-
750
-
µs
tRS
-
6.0
-
ms
T1DM
®
SLC-96
Notes:15. Average reframe time is the time from the rising edge of RLOS until the rising edge of RMSYNC
which updates the receiver output timing.
16. With error free data.
4
DS225PP2
CS62180B
RLOS
t RS
RMSYNC
Old Alignment
New Alignment
Reframe Timing.
tR
tF
t TTR
90%
Logic 1
VDD - 1.0 V
10%
Logic 0
0.4 V
Rise and Fall Times for RCLK & TCLK.
Transition Times for All Receiver Outputs.
tP
TCLK
t STD
t HTD
t WH
t WL
TSER,
TABCE,
TLINK
t TSP
TFSYNC,
TMSYNC
t STS
TMO, TLCLK,
TSIGSEL
TSIGFR
t PTS
TLCLK
t PTCH
TCHCLK
Note: TMO, TLCLK, TSIGSEL and TSIGFR are generally coincident with the
rising edge of TCLK.
Transmitter Timing.
DS225PP2
5
CS62180B
tP
RCLK
t PRD
t WH
t WL
RSER, RABCD
RLINK
t PRS
RFSYNC, RMSYNC,
RSIGSEL, RSIGFR
RLCLK, RCHCLK
(RFSYNC)
tP
t PRA
RYEL, RCL, RBV,
RFER, RLOS
t RST
RST
t SRD
t HRD
RPOS, RNEG
Receiver Timing.
6
DS225PP2
CS62180B
GENERAL DESCRIPTION
ically counted in another set of registers which
can be arbitrarily reset via the serial interface to
provide variable saturation points. The Receive
Status Register (RSR) provides data on all error
and alarm conditions, and in conjunction with
the Receive Interrupt Mask Register (RIMR),
can be configured to signal an interrupt on INT
in response to any alarm condition.
The CS62180B is a monolithic CMOS circuit
that encodes and decodes T1 (1.544 MHz) digital transmission formats for SF(D4®) (193S: 12
frames per superframe), ESF (193E: 24
frames per superframe), SLC-96®
(SLC96: 72 frames per superframe) and
DDS® T1DM (T1DM: 12 frames per superframe
plus unique channel number 24) framing formats. Note: there are two different naming conventions
in practice concerning the numbering of bits
within a word. The most common convention in
EE and Computer Science is to number the bits
The CS62180B provides
as 0 - 7, starting from the LSB. This is the confull support for individual clear channels, bitvention used throughout this data sheet when
robbed signaling, alarm detection and generation,
referring to register bits. A different convention
zero suppression, and idle channels. An overview
®
is used in the telecom literature when referring
of the 193S, 193E, SLC-96 and T1DM framing
to the bits in a digital transmission stream. In
formats is provided in the Applications Section.
this case, they are numbered 1 - 8, starting from
The device provides independent transmit and
the MSB. This convention is maintained in this
receive sides, with a shared serial controller indata sheet whenever referring to the bits of a
terface for use with a host processor. A hardware
DS0 channel word.
mode is also available for operation independent
®
of a host controller. The SLC-96 and T1DM
CS62180B ENHANCEMENTS
formats can be selected only via the CS62180B
serial controller interface.
Enhancements made in the CS62180B include
the following. The SLC-96® and DDS® T1DM
The serial interface provides access to 16 onchip control and status registers. The control
framing formats are supported in host mode. The
registers are used to configure global parameters
AIS (Blue Code) detection is made compatible
such as the framing format and zero suppression
with TR-TSY-000191 requirements (unframed all
mode, as well as transmitter or receiver specific
ones), and a received-blue-alarm output pin is
parameters. A hardware interrupt is provided,
added to the PLCC package. The Receive Carrier
which can be configured via interrupt mask and
Loss detection criteria is made compatible with
status registers to signal any combination of
the industry standard requirement of 175 ±75 zealarm conditions.
ros. The receiver line code decoder is now
universal. The decoder will automatically decode
Transmitter commands include enabling external
either AMI or B8ZS. The CS62180B B8ZS conframing bit, CRC, or S-bit insertion, declaring
trol option controls only the transmitter’s
individual DS0 channels clear and/or idle, and
encoder. The universal decoder simplifies the
enabling yellow and blue alarm modes in differprovisioning of B8ZS in the network. Lastly, the
ent formats. The receiver can be configured to
serial control interface was simplified. When
replace individual incoming channels with idle
writing data bytes on SDI, it is no longer necesor digital milliwatt (µ-LAW) codes, and a large
sary to have SDI valid for both the rising and
variety of resync options are provided. Bipolar
falling edges of SCLK. Rather, SDI need be staviolations, CRC and framing errors are automatble only on the rising edge of SCLK.
DS225PP2
7
CS62180B
HOST MODE
Serial Interface
For applications in which the device is to interface
with a host processor, the CS62180B can
be configured to run in host modeby tying the
Serial Port Select pin (SPS) to the +5V supply
(VDD). This allows access to the serial port,
providing a large number of configuration options
via the 16 on-chip control and status registers.
All data is written to and read from the port LSB
first. When writing to the port, SDI input data is
sampled on the rising edge of SCLK.
D0 (LSB) is the R/W field, and specifies whether
the current operation is to be a read or a write: 1 =
read, 0 = write. The second 4 bits (D1 - D4) contain the address field. Written LSB first, they
specify which of the sixteen registers to access. D5
(Device Select) should be set to zero when addressing the CS62180B. However, if the CS62180B
shares the same serial interface lines with a
Cirrus TI Line Interface (see Figure 3), D5 will be
set to a "1" when addressing the Line Interface device.
The CS62180B will ignore any read/write
commandswith a "1" in D5,
allowing both parts to share CS.
D6 is reserved, and must be set to 0 for normal
operation.
Serial read/write timing, controlled by SCLK, is
entirely independent of the transmit and receive
timing. This allows the host microcontroller to
monitor the status register and counters, modify
configuration options, and issue commands asynchronously with the T1 system. A serial timing
overview is provided in Figure 1.
All data transfers are initiated by setting Chip Select (CS) low. Any read or write to the serial port is
initiated by writing an 8-bit command word. The
command word consists of 4 separate fields (see
Figure 2). When reading from the port, data is output on the falling edge of SCLK, and held until the
next falling edge.
CS
SCLK
SDI
R/W
ADD0 ADD1 ADD2 ADD3
0
0
BM
D0
D1
Write Address Command Byte (ACB)
D2
D3
D4
D5
D6
D7
Read or Write Register Data
SDO
D0
D1
D2
D3
D4
D5
D6
D7
Figure 1. Serial Read/Write Timing
7
(MSB)
BM
0
6
5
0
Individual
Burst
DS
3
ADD3
2
ADD2
1
ADD1
0
ADD0
0
Set to "0"
1
4
CS62180B
Crystal
1
LIU
(MSB)
Register Address Field
(LSB)
R/W
0
Write
1
Read
(LSB)
Figure 2. Address Command Byte (ACB)
8
DS225PP2
CS62180B
TO HOST CONTROLLER
V+
SPS
MODE
CLKE
SCLK
TPOS
TPOS
SCLK
SDO
TNEG
TNEG
SDO
SDI
RNEG
RNEG
SDI
CS
RPOS
RPOS
CS
RCLK
RCLK
TCLK
TCLK
CS62180B
1.544 MHz
CLOCK
SIGNAL
ACLKI
CS61535A
CS61574A or CS61575
Figure 3. Interfacing to a Crystal T1 LIU.
ADDR
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
D7 (MSB) specifies burst mode if set to 1. When
using burst mode, the address field of the command word must be "0000", any other value will
invalidate the command, and the CS62180B
will simply ignore it. This effectively
means that the command for a burst write is 80
(hex) and a burst read is 81 (hex).
Burst mode allows the sixteen registers to be
consecutively read or written. Writing all registers allows fast initialization at power-up or
system reset. (Note that the Receiver Status Register, RSR, is read-only, so a write during burst
mode will have no effect.) When using burst
mode, registers are read or written in address order, 0000 (RSR) to 1111 (RMR3). Burst mode
ends on the first rising edge of CS. See Table 1
for a complete list of the CS62180B
on-chip registers.
(T) TRANSMIT
REGISTER NAME AND DESCRIPTION
(R) RECEIVE
RSR Receive Status Register - A read only register which reports all active receiver
R
alarm conditions.
RIMR Receive Interrupt Mask Register - A mask which allows selection of individual
R
alarm conditions for generation of hardware interrupt.
BVCR Bipolar Violation Count Register - A bipolar violation alarm is generated after
R
this 8 bit counter surpasses it’s user definable limit.
ECR Error Count Register - Two separate 4 bit counters, which record OOF errors,
R
and frame bit or CRC errors. Like BVCR, each can be preset to a saturation
point.
CCR Common Control Register - Selects global configuration options, such as:
T/R
framing mode, zero suppression, or loopback.
RCR Receive Control Register - Selects receiver specific options, such as the resync
R
algorithm or insertion of digital milliwatt codes.
TCR
Transmit Control Register - Selects transmitter specific options, such as alarm
T
generation, clear or idle channel enable, and external S-bit or CRC insertion.
TIR1 Transmit Idle Registers - Each bit of the three TIR registers corresponds to an
T
TIR2
individual DS0 channel. When set, that channel is replaced with an idle code.
TIR3
TTR1 Transmit Transparent Registers - Each bit corresponds to a DS0 channel. When
T
TTR2
set, that signaling and B7 zero suppression is disabled for that channel.
TTR3
RMR1 Receive Mark Registers - Each bit corresponds to a DS0 channel. When set, the
R
RMR2
channel data is replaced with an idle or digital milliwatt code.
RMR3
Table 1. On-Chip Registers
DS225PP2
9
CS62180B
7
(MSB)
6
FM1
See Fig. 4b
5
4
FRSR2 EYELMD
0
1
B8ZS
COFA
0
1
FDL
Bit 2
3
FM
See Fig. 4b
2
YELS
0
1
Bit 2
S-bit
1
B8ZS
0
1
Disable
Enable
0
B7
0 Transparent 0
1 B7 Stuffing 1
(LSB)
LPBK
Normal
Loopback
Figure 4a. Common Control Register (CCR)
Common Control Register
The Common Control Register (CCR) determines global operating characteristics common
to both the transmitter and receiver. It currently
provides for selection of the framing mode
(193S, 193E, SLC-96® or T1DM), the format of
yellow alarms, the zero suppression format (B7
or B8ZS), loopback operation, and control of
output to RSR.2.
See Figure 4a for an overview of the CCR.
Loopback
CCR.0: LPBK
with all zeros to be transmitted with bit 7 (2nd
LSB) forced to a "1". B7 mode only affects the
transmitter, the receiver does not decode B7.
Note that bit 7 stuffing can be disabled on an
individual channel basis for clear channel transmission via the Transmit Transparent Registers
TTR1 - TTR3 (see description of transmitter
which follows).
B8ZS coding operates independent of channel
boundaries, and is transparent to all other functions. When using B8ZS, the final transmission
stream is examined before transmission, and
any eight consecutive zeros will be replaced
with a B8ZS code word before transmission.
S et tin g LP BK (CCR. 0) to "1" puts the
CS62180B into loopback mode.
While in loopback, the TPOS/TNEG and TCLK
outputs are internally rerouted directly to the
RPOS/RNEG and RCLK inputs, while an unframed, all "1’s" stream is output on the
TPOS/TNEG pins. All operating modes, except
blue alarm transmission, remain functional during loopback. Note that enabling loopback will
usually invoke an out-of-frame (OOF) error until the receiver can resync to the new framing
alignment. See the section on the Receive Control Register (RCR) for a description of the
resync options available.
If B8ZS (CCR.2) is set to a
"1", B8ZS zero substitution will be enabled in
the transmitter. Independent of the setting of
CCR.2, any incoming B8ZS codes will be intercepted by the receiver and replaced with 8
zeros before being processed by the rest of the
receive side. The receiver is always capable of
receving either AMI or B8ZS encoded data.
Zero Suppression
CCR.1: B7
CCR.2: B8ZS
Note: For T1DM, CCR.1 and CCR.2 should be
set to a "0" since DDS® equipment assures a 1in-8 one’s density.
B7 and B8ZS select the zero suppression mode.
Setting B7 (CCR.1) to "1" will enable bit 7
zero substitution. This causes any channel word
10
DS225PP2
CS62180B
193S Yellow Alarm Format
CCR.3: YELS
193E Yellow Alarm Format
CCR.5: EYELMD
The CS62180B supports two different
yellow alarm formats for 193S framing.
Whichever format is selected, it will be used by
both the transmit side, for yellow alarm generation, and the receive side, for alarm detection.
The CS62180B supports two different
yellow alarm formats for 193E framing.
Whichever format is selected, it will be used by
both the transmit side, for yellow alarm generation, and the receive side, for alarm detection.
When using 193S framing, a "0" in YELS
(CCR.3) will encode/decode yellow alarms as a
"0" in bit 2 (2nd MSB) of all channels. Setting
CCR.3 to "1" will cause yellow alarms to be encoded/decoded as a "1" is the S-bit position of
frame 12.
When using 193E framing, a "0" in EYELMD
(CCR.5) will encode/decode yellow alarms as a
repeating sequence of 00FF (hex) on the 4 kHz
facility data link (FDL). If CCR.5 is set, 193E
yellow alarms will be handled as a "0" in bit 2
(2nd MSB) of all channels.
Note: For T1DM and SLC-96®, CCR.3 should
be set to a "0".
Control of RSR.2
CCR.6: FRSR2
Framing Format
CCR.4: FM
CCR.7: FM1
CCR.6 allows you to change the meaning of D2
in the Receive Status Register (RSR.2). If CCR.6
is clear, RSR.2 will report the detection of B8ZS
codes in the received T1 input. If CCR.6 is set to
a "1", RSR.2 will be used to signal a Change of
Frame Alignment (COFA). A COFA is reported
when the last receiver resync resulted in a
change of framing or multiframing alignment.
Refer to the description of the Receive Status
Register for further information.
As shown in Figure 4b, CCR.4 and CCR.7 select
the framing format.
See the text for
the Transmit Control Register (TCR) and Receive Control Register (RCR) for further
information on the particular options available
for each framing format.
7
4
FM1
FM
Format Selected
0
0
1
1
0
1
0
1
193S (D4)
193E (ESF)
SLC-96
T1DM
Figure 4b. Framing Format Selection
Note: Changing the framing mode does not
force the receiver to resynchronize. A forced
resync should be done to insure correct receiver
synchronization after the framing mode is
changed.
DS225PP2
11
CS62180B
TRANSMITTER
The transmit sides of the CS62180B
have three types of inputs, the clock,
sync, and data inputs. Control is handled through
the serial port in host mode, and through the
mode control pins in hardware mode (see the last
section for a description of hardware mode operation).
Input Data
None of the data inputs are buffered, so the data
at each input must be available at the appropriate
time for the CS62180B to multiplex
into the output stream. All inputs are
sampled on the falling edge of TCLK. The delay
from input to output is 10 TCLK cycles.
NRZ data for DS0 channels is input on TSER.
Framing bits (FT or FPS bits) and CRC data may
either be generated internally or supplied by the
host system. If this data is to be externally supplied, it must be inserted into the DS0 input
stream at the appropriate frames and input via
TSER.
S-bits may be generated internally, or externally
provided via TLINK. FDL bits are always provided externally on TLINK. Bit-robbed
signaling, when enabled, is always sampled at
TABCD. The CS62180B muxes
in data from these 3 sources (TSER, TLINK, and
TABCD) automatically depending on the transmitter configuration.
Output Data
The completed T1 data stream, ready for line
transmission, is output on TPOS/TNEG. For operation with a line interface which is transparent
to line coding, the output can be set to dualunipolar format by clearing bit 7 of the Transmit
Control Register (TCR.7). TCR.7 should be set
to a "1" for operation with a line interface which
provides AMI or B8ZS coding. In this configura12
tion, the data will be output on TPOS in NRZ
format, and TNEG will remain low. When operating in hardware mode, output defaults to the
dual-unipolar format. TPOS and TNEG may not
be tied together, so an external OR gate is recommended if NRZ output is required while in
hardware mode.
Frame/Multiframe Synchronization
The CS62180B maintain timing
for frame and multiframe alignment with internal
counters driven by TCLK. The timing signals
generated by those counters are output on
TCHCLK, TMO, TSIGSEL, TSIGFR, and
TLCLK. These counters determine when the
CS62180B will insert F-bits and
sample external signaling data. The frame and
multiframe counters can be reset independently
via TMSYNC and TFSYNC. If left to run without a sync pulse, the CS62180B
will arbitrarily choose a framing alignment.
A low to high transition of TMSYNC, occurring
near the rising edge of TCLK, resets the
CS62180B’s counters to mark
the bit-period concurrent with the next falling
edge of TCLK as the F-bit of the first frame of a
new superframe. All other timing will be set to
match the superframe alignment automatically.
TMSYNC may be pulsed once at start-up and
left low, or left running in sync with superframe
timing.
A low to high transition of TFSYNC, occurring
near the rising edge of TCLK, resets the
CS62180B’s counters to mark
the bit-period concurrent with the next falling
edge of TCLK as the F-bit of a new frame. If
TMSYNC is used to set superframe alignment,
frame alignment will also be set, and TFSYNC
may be tied low. There is, of course, no harm in
using both TMSYNC and TFSYNC together, as
TFSYNC has no effect on multiframe alignment
if it is in sync. If, however, TFSYNC is used out
of sync with TMSYNC, the superframe alignDS225PP2
CS62180B
TCLK
TMSYNC
TFSYNC
TMO,
TSIGSEL,
TLCLK
TSIGFR
TCHCLK
TSER
TABCD
7
1
2
3
4
5
D23
6
7
2
3
4
5
6
7
8
D23
1
2
3
4
5
6
7
1
2
3
D24 F1
1
D24
F1
TLINK
TPOS,
TNEG
1
10 TCLK Cycle Delay
7
Figure 5. Bit Level Transmit Timing (193E, signaling enabled)
ment will be moved forward by the least number
of bits necessary to be in alignment with the new
frame boundary.
channels. TMO is high for channel A, and low
for B. See Figure 6 for timing diagram.
193E Timing
Figure 5 shows the bit-level timing (with signalling enabled). Note that the delay from input to
output is 10 TCLK cycles. TCHCLK transitions
high at the beginning of every DS0 channel
(50% duty cycle).
193S Timing
Frame and multiframe timing is output on
TCHCLK, TMO, TSIGSEL, TSIGFR, and
TLCLK. TMO transitions high at the beginning
of every superframe (50% duty cycle). TSIGFR
goes high during signaling frames (every 6
frames). TLCLK is a 4 kHz clock for the TLINK
input. TLCLK goes high during odd frames (external S-bit insertion).
Frame and multiframe timing is output on
TCHCLK, TMO, TSIGSEL, TSIGFR, and
TLCLK. TMO transitions high at the beginning
of every superframe (50% duty cycle). TSIGFR
goes high during signaling frames (every 6
frames). TLCLK is a 4 kHz clock for the TLINK
input. TLCLK goes high during odd frames
(FDL insertion).
TSIGSEL runs at twice the frequency of TMO.
Logical combination of TMO and TSIGSEL provides a way to distinguish the 6th, 12th, 18th,
and 24th frames for external multiplexing of signaling channels. TMO is high for channels A
and B, and TSIGSEL is high for channels A and
C. See Figure 7 for timing diagram.
TSIGSEL runs at twice the frequency of TMO.
Logical combination of TMO and TSIGSEL provides a way to distinguish the 6th and 12th
frames for external multiplexing of signaling
DS225PP2
13
CS62180B
Frame
X 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9
TMSYNC
TFSYNC
TMO
TSIGSEL
TSIGFR
A
B
A
B
A
TLCLK
Figure 6. 193S Multiframe Transmit Timing
Frame
X 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 2 3 4 5 6 7 8 9
TMSYNC
TFSYNC
TMO
TSIGSEL
TSIGFR
A
B
C
D
A
TLCLK
Figure 7. 193E Multiframe Transmit Timing
SLC-96® Timing
Figure A6 of the Application Section, shows the
SLC-96® superframe structure. Note that in Figure A6, the first C bit (C1) resides in frame 12.
A low to high transition of TMSYNC identifies
Frame 1 of Figure A6.
Frame and multiframe timing is output on
TCHCLK, TMO, TSIGSEL, TSIGFR and
TLCLK. TSIGSEL can be used to identify the
location of the DL bits. The TSIGSEL output is
high during frames 58 to 11, and is low during
frames 12 to 57. When TSIGSEL is low, the
CS62180B accepts DL bits on TLINK at a 4
kHz rate, The DL bits which are input on
14
TLINK are: C1-C11, DC, DC, DC, M1-M3, A1,
A2, S1-S4. "DC" signifies "don’t care" bits. The
DC-bit positions correspond to the spoiler bits.
The CS62180B internally generates the spoiler
bits. The data input on TLINK in the DC position is ignored by the CS62180B. TLCLK is a 4
kHz clock for the TLINK input. TLCLK goes
high during odd frames.
TMO transitions high at the beginning of every
12th frame. TSIGFR goes high during signaling
frames (every 6 frames). The rising edge of
TMO identifies the 6th frame, and the falling
edge of TMO identifies the 12th frame for external multiplexing of signaling channels. See
Figure 8 for timing diagram.
DS225PP2
CS62180B
Frame
X 11 12 13 14 15 16 17 18 19 20 21 22
Data Link
C1
C2
C3
C4
C5
C6
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
M3
A1
A2
S1
S2
S3
72 1 2 3
S4
TMSYNC
TFSYNC
TMO
TSIGSEL
TSIGFR
B
A
B
A
B
TLCLK
Figure 8. SLC-96® Multiframe Transmit Timing
Frame
X 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9
TMSYNC
TFSYNC
TMO
TLCLK
TSIGSEL
TSIGFR
Figure 9. T1DM Multiframe Transmit Timing
T1DM Timing
Frame and multiframe timing is output on
TCHCLK, TMO, and TLCLK. TMO transitions
high at the beginning of every superframe (50%
duty cycle). TSIGFR goes high during signaling
frames (every 6 frames).
TSIGSEL and TSIGFR serve no purpose in the
T1DM mode and can be ignored. However,
TSIGSEL and TSIGFR operate as in 193S
mode.
The channel 24 data link is input on TLINK using TLCLK. TLCLK is a 8 kHz clock with a
duty cycle of 1 bit period high per frame. When
TLCLK is high, TLINK will be sampled on the
falling edge of TCLK. See Figure 9 and
"Switching Characteristics - Transmitter" for timing diagrams.
DS225PP2
15
CS62180B
7
(MSB)
6
ODF
0
1
Bipolar
NRZ
5
TFPT
0
1
Internal
External
4
TCP
0
1
Internal
External
3
RBSE
0
1
Disabled
Enabled
2
TIS
0
1
7F (Hex)
FF (Hex)
1
193SI
0
1
Internal
External
0
TBL
(LSB)
TYEL
0
Normal
0
Normal
1 Blue Alarm 1 Yel. Alarm
Figure10. Transmit Control Register (TCR)
Transmitter Control Register (TCR)
When in host mode, there are a number of options available for transmitter configuration
which can be enabled via the Transmit Control
Register (TCR), Transmit Transparent Registers
(TTR1 - TTR3), and Transmit Idle Registers
(TIR1 - TIR3). Serial read and write operations
to access these registers are explained in the Serial Interface section above. When operating in
hardware mode, all control bits in the TCR default to "0" (except TCR.4, which defaults to "1"
to enable bit-robbed signaling), and dynamic
control is limited to the mode control pins as described under hardware mode below.
SLC-96® yellow alarm via the data link. In
T1DM mode, the yellow alarm is transmitted in
bit 5 of channel 24 (and CCR.3 should be set to
a "0"). Clearing TCR.0 disables yellow alarm
transmission.
Transmit Blue Alarm
TCR.1: TBL
Setting TBL (TCR.1) to a "1" generates a blue
alarm; an unframed sequence of all "1’s". If a
framed, all "1’s" signal is required, an FF (hex)
idle code may be output on all channels via appropriate settings of TCR.3 and the TIR registers
(see Transmit Idle Code Select below). Blue
alarm (Alarm Indication Signal, or AIS) overrides all other transmission data, and a blue
alarm is automatically output during loopback.
Clearing TCR.1 disables blue alarm transmission.
The TCR provides control to enable bit-robbed
signaling, external framing bit, CRC, or S-bit insertion, and yellow and blue alarm modes. It also
provides for two different idle code formats, and
selection of bipolar or NRZ output. Figure 10
shows an overview of the Transmit Control Register.
193S, SLC-96® and T1DM S-bit Insertion
TCR.2: 193SI
Transmit Yellow Alarm
TCR.0: TYEL
TCR.2 is applicable to 193S, SLC-96® and
T1DM modes, but not to the 193E mode.
Setting TYEL (TCR.0) to a "1" causes the
CS62180B to automatically generate
and transmit a yellow alarm in the
appropriate format. In 193S mode the yellow
alarm format used will be determined by the setting of CCR.3. In 193E mode, the yellow alarm
format will be determined by the setting of
CCR.5. See Common Control Register, above,
for description of the available yellow alarm formats for 193S and 193E modes. In SLC-96®
mode, the CS62180B does not generate the yellow alarm code. rather, the user transmits the
In the 193S and T1DM modes, setting 193SI
(TCR.2) to a "1" allows the S-bit (all even Fbits) to be externally supplied via TLINK. When
TCR.2 is clear, the S-bit will be internally generated.
16
In the SLC-96® mode, setting 193SI (TCR.2) to
a "1" allows the S-bit (selected even F-bits) to be
externally supplied via TLINK, and the user
must input all Fs, spoiler and DL bits. When
TCR.2 is clear, the CS62180B generates the
SLC-96® spoiler bits and Fs bits, and the user
DS225PP2
CS62180B
inputs all other DL bits on TLINK using
TLCLK.
CRC Pass-through
TCR.5: TCP
Note: When using internal S-bit generation
(TCR.2 = 0) in conjunction with external FT bit
insertion (TCR.6 = 1), the CS62180B
will logically ’OR’ the value at TSER
with the internally generated value. This means
that the data on TSER during S-bit periods
should always be "0" to avoid corrupting the
generated FS pattern.
In 193E framing mode, the CRC bits (F-bit of
frames 2, 6, 10, 14, 18, and 22) may be either
generated internally, or supplied by the user.
Clearing TCP (TCR.5) causes the CS62180B
to generate and insert the CRC bits
automatically. If TCR.5 is set to a "1", data
for the CRC channel may be externally supplied.
When using this mode, CRC bits are sampled
from TSER, and must be externally multiplexed
into the DS0 channel data at the F-bit times of
CRC frames.
Transmit Idle Code Select
TCR.3: TIS
Individual DS0 channels can be replaced with
idle codes by setting the corresponding bits in
the Transmit Idle Registers (TIR1 - TIR3) described below. TIS (TCR.3) selects which of two
codes to use. A "0" in TCR.3 will cause a 7F
(hex) to be inserted into the channels specified in
the TIR. Setting TCR.3 to a "1" will select an FF
(hex) code. By asserting all 24 channels idle in
the TIR, this setting can be used to generate a
"framed" blue alarm. Whichever mode is selected, bit-robbed signaling will still effect idle
channels unless they are programmed clear (see
Transmit Transparent Registers, below).
FT/FPS Pass Through
TCR.6: TFPT
Robbed Bit Signaling Enable
TCR.4: RBSE
Output Data Format
TCR.7: ODF
A "0" in RBSE (TCR.4) will disable bit-robbed
signaling. Setting TCR.4 to a "1" will enable signaling in all channels. In this mode, data on
TABCD is inserted into the LSB of all DS0
channels during signaling frames. For mixed
voice and data transmission, individual DS0
channels can be programmed clear by setting the
corresponding bits in the Transmit Transparent
Registers (TTR1 - TTR3) described below.
ODF (TCR.7) allows the format of the output
data at TPOS/TNEG to be set to either dualunipolar or NRZ format. Clearing TCR.7 selects
for dual-unipolar format on TPOS/TNEG. Setting TCR.7 to a "1" causes data to be output on
TPOS in NRZ format, and TNEG is held low.
When operating in hardware mode, output defaults to the dual-unipolar format. TPOS and
TNEG may not be tied together, so an external
OR gate is recommended if NRZ is required
while in hardware mode.
DS225PP2
When TFPT (TCR.6) is clear, the framing bits
for 193S, T1DM and SLC-96® (FT), or 193E
(FPS) are generated internally and automatically
inserted into the outgoing data stream. Setting
TCR.6 to a "1" allows the framing bits to be externally provided. When using this mode,
framing bits are sampled from TSER, and must
be externally multiplexed into the DS0 channel
data at the F-bit times of the appropriate frames.
See note under TCR.2, above.
17
CS62180B
7
TTR1
TTR2
TTR3
(MSB)
6
CH8
CH16
CH24
5
CH7
CH15
CH23
"0" = Normal
4
CH6
CH14
CH22
3
CH5
CH13
CH21
2
CH4
CH12
CH20
1
CH3
CH11
CH19
0
CH2
CH10
CH18
(LSB)
CH1
CH9
CH17
"1" = Corresponding DS0 Channel is Transparent. (Not signaling or B7 Insertion.)
Figure11. Transmit Transparent Registers (TTR1 - TTR3)
7
TIR1
TIR2
TIR3
(MSB)
CH8
CH16
CH24
"0" = Normal
6
5
CH7
CH15
CH23
4
CH6
CH14
CH22
3
CH5
CH13
CH21
2
CH4
CH12
CH20
1
CH3
CH11
CH19
0
CH2
CH10
CH18
(LSB)
CH1
CH9
CH17
"1" = Corresponding DS0 Channel is Replaced with Idle Code. (See TCR.3)
Figure 12. Transmit Idle Registers (TIR1 - TIR3)
Transmit Transparent Registers (TTR)
Transmit Idle Registers (TIR)
The Transmit Transparent Registers allow individual DS0 channels to be programmed clear,
disabling robbed bit signaling and B7 zero suppression for that channel (if selected, B8ZS is
unaffected by transparent channels). There are 3
TTR registers: TTR1, TTR2, and TTR3. Each bit
in the TTR registers corresponds to a DS0 channel: TTR1.0 = channel 1, TTR1.7 = channel 8,
TTR2.7 = channel 16, etc. A channel is programmed clear by setting the bit which
corresponds to that channel in the appropriate
TTR register. See Figure 11.
By setting the appropriate bits in the Transmit
Idle Registers, individual DS0 channels can be
replaced with the idle code selected via TCR.3
(see above). If the idle channel is not also programmed clear (via TTR1 - TTR3), the code
may be corrupted during signaling frames if
robbed bit signaling is enabled (TCR.4 = 1).
There are 3 TIR registers: TIR1, TIR2, and
TIR3. Each bit in the TIR registers corresponds
to a DS0 channel: TIR1.0 = channel 1, TIR1.7 =
channel 8, TIR2.7 = channel 16, etc. A channel
is programmed idle by setting the bit which corresponds to that channel in the appropriate TIR
register. See Figure 12.
Transmission Insertion Hierarchy
Figures 13a - 13c give an overview of the decision hierarchy which determines the final
composition of the output stream. It shows the
various control options as inputs into decision
branches of the flow chart, and the order in
which the various optional signals are muxed
into the final data stream.
18
DS225PP2
CS62180B
TSER
F-bit Insertion
193S, SLC-96®, T1DM
1 = External
TSER
FT
1 = External
TLINK
FS
193E
Framing Mode
TCR.6
FPS Passthrough
TCR.6
FT Passthrough
0 = Internal
0 = Internal
TCR.5
CRC Passthrough
TCR.2
S-bit Insertion
SLC-96®
0 = Internal
DL bits
TLINK
FS
0 = Internal
FDL
1 = External
FPS
TSER
1 = External
CRC
TSER
TLINK
Idle Code Insertion
Robbed Bit Signaling &
B7 Zero Suppression
Yellow Alarm Insertion
B8ZS Zero Suppression
Blue Alarm or Loopback
TPOS/TNEG
Figure 13a. Transmit Insertion Hierarchy: Framing Bits
DS225PP2
19
CS62180B
TSER
F-bit Insertion
Idle Code Insertion
1
1 = Idle
TCR.3
Idle Code
TIR
Idle Channels?
0 = Normal
0
FF
7F
1 = Transparent
TTR
Transparent Channels?
Robbed Bit Signaling &
B& Zero Suppression
0 = Normal
1 = Signaling
TABCD
b8
TCR.4
Robbed Bit
Signaling?
0 = Disabled
1 = B7
B7
CCR.1
B7 Zero Suppression
0 = Disabled
Yellow Alarm Insertion
B8ZS Zero Suppression
Blue Alarm or Loopback
TPOS/TNEG
Figure 13b. Transmit Insertion Hierarchy: Idle Codes, Signaling, and B7
20
DS225PP2
CS62180B
TSER
F-bit Insertion
Idle Code Insertion
Robbed Bit Signaling &
B7 Zero Suppresion
TCR.0
Yellow Alarm?
Yellow Alarm Insertion
0 = No
1 = Yes
SLC-96 ®
193S
1
T1DM
CCR.3
Alarm Format
193S
0
S 12
b2
193E
CCR.5
Alarm Format
193E
0
DL
TLINK
C 24
FDL
1
b2
1 = Yes
CCR.2
B8ZS Zero Suppression?
B8ZS
B8ZS Zero Suppression
1 = Yes
BLUE
Blue Alarm
TCR.1
Blue Alarm?
0 = No
1 = Yes
BLUE
Loopback
0 = No
CCR.0
Loopback?
0 = No
TPOS/TNEG
Figure 13c. Transmit Insertion Hierarchy: Alarms, B8ZS, and Loopback
DS225PP2
21
CS62180B
RECEIVER
The receive sides of the CS62180B
have only three inputs: the clock (RCLK), the incoming signal (RPOS/RNEG), and a reset pin
(RST). The receiver determines the framing synchronization of the incoming data, and outputs the
timing information on the six timing clocks:
RLCLK, RCHCLK, RFSYNC, RMSYNC,
RSIGFR, and RSIGSEL. Alarms and error conditions are recorded in the Receive Status Register,
and output in real time on the five status pins:
RYEL, RCL, RBV, RFER, and RLOS. The decoded data is separated into it’s component
channel, link, and signaling components and output
on RSER, RLINK, and RABCD respectively.
When in host mode, the Receive Control Register
allows control of the sync algorithm, and insertion
of idle or digital milliwatt (µ-LAW) codes into individual DS0 channels. The internal error counters
can be accessed, and the Interrupt Mask Register
can be programmed to specify the conditions under
which a hardware interrupt is generated on INT.
When running in hardware mode, receiver status
can still be monitored on the status pins; and access
to the error counters, sync algorithm, interrupt
mask, and the insertion of idle codes are disabled.
Input Data
The receiver accepts the incoming T1 stream via
RPOS/RNEG in dual-unipolar format. Tying
RPOS/RNEG together disables the bipolar violation alarm and allows reception of data in NRZ
format. Input data is sampled on the falling edge of
RCLK. Delay from input at RPOS/RNEG to output on RSER is 13 RCLK periods.
Output Data
The receiver will attempt to sync and decode the
framing format selected via CCR.4 and CCR.7.
The decoded T1 stream is output in NRZ format on
RSER, and updated every RCLK period. Output
22
data is latched on the rising edge of RCLK, and
held until the next update.
Link and signaling data is always output on
RLINK and RABCD respectively, independent of
the transmitter configuration. RABCD outputs the
LSB of every DS0 channel word, whether it is currently a signaling frame or not. The data is updated
on the channel boundary, concurrent with the MSB,
and held until the next update (8 or 9 bits). RLINK
outputs either S-bit, SLC-96® DL or FDL bits,
depending on the framing format. Data is updated 1 bit period prior to the FS or FDL frame
and held until the next update (2 frames).
Output Clocks
Several timing clocks are provided for identifying this data. The timing clocks are RLCLK,
RCHCLK, RFSYNC, RMSYNC, RSIGFR, and
RSIGSEL. Logical combination of these six signals allows easy extraction of any part of the
received data stream. RMSYNC runs on a 50%
duty cycle, and transitions high at the start of
each new superframe output on RSER. RFSYNC
transitions high at the start of every new frame.
Individual DS0 channels are identified by
RCHCLK, which runs on a 50% duty cycle and
transitions high at the MSB of every individual
time slot. Bit level timing is shown in Figure 14.
193S Timing
Link data can be identified by RLCLK, which
goes high for all odd numbered frames. RSIGFR
is high for signaling frames, and low at all other
times. RSIGSEL runs at twice the frequency of
RMSYNC. Logical combination of RMSYNC
and RSIGSEL provides a way to distinguish the
6th and 12th frames for external multiplexing of
signaling channels. RMSYNC is high for those
frames containing A signaling bits, and low for
frames containing B bits. Refer to Figure 15 for
a timing diagram.
DS225PP2
CS62180B
RCLK
RPOS,
RNEG
D24 F1
1
2
3
4
5
6
7
8
1
2
3
5
6
7
D23
1
2
3
4
5
6
7
4
5
6
7
8
1
2
3
4
D24 F1
1
2
3
4
5
6
7
RFSYNC
RMSYNC,
RSIGSEL,
RLCLK
RSIGFR
RCHCLK
3
RSER
4
D23
RABCD
D24
Channel 1 LSB
F23
RLINK
F1
Figure 14. Bit Level Receive Timing (193E mode)
Frame
12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9
RFSYNC
RMSYNC
RSIGSEL
RSIGFR
B
A
B
A
B
A
RLCLK
RLINK
S12
S2
S4
S6
S8
S 10
S 12
S2
S4
S6
S8
S 10
S 12
S2
S4
S6
S8
Figure 15. 193S Multiframe Receive Timing
Frame
24 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 2 3 4 5 6 7 8 9
RFSYNC
RMSYNC
RSIGSEL
RSIGFR
D
A
B
C
D
A
RLCLK
RLINK
F1
F3
F5
F7
F9
F11
F13
F15
F17
F19
F21
F23
F1
F3
F5
F7
Figure 16. 193E Multiframe Receive Timing
DS225PP2
23
CS62180B
Frame
X 11 12 13 14 15 16 17 18 19 20 21 22
Data Link
C1
C2
C3
C4
C5
C6
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
M3
A1
A2
S1
S2
S3
72 1 2 3
S4
RMSYNC
RFSYNC
RSIGSEL
RSIGFR
B
A
B
A
B
RLCLK
RLINK
FS
C1
C2
C3
C4
C5
C6
M3
A1
A2
S1
S2
S3
S4
FS
FS
Figure 17. SLC-96® Multiframe Receive Timing
Frame
12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9
RFSYNC
RMSYNC
RLINK
RSIGSEL
RSIGFR
RLCLK
Figure 18. T1DM Multiframe Receive Timing
193E Timing
SLC-96® Timing
Link data can be identified by RLCLK, which
goes high for all odd numbered frames. RSIGFR
is high for signaling frames, and low at all other
times. RSIGSEL runs at twice the frequency of
RMSYNC. Logical combination of RMSYNC
and RSIGSEL provides a way to distinguish the
6th, 12th, 18th, and 24th frames for external multiplexing of signaling channels. RMSYNC is
high for frames containing A and B signaling
bits, and RSIGSEL is high for frames with A
and C bits. Refer to Figure 16 for a timing diagram.
The CS62180B will output 36 bits of the DL on
RLINK using RLCLK. RSIGSEL can be used to
locate the DL bits. RSIGSEL will be held high
in those frames where Fs bits and the last spoiler
bit are present (frames 58 to 11). RSIGSEL is
held low in all other frames (frames 12 to 57).
RSIGFR is high for signaling frames, and low at
all other times. RMSYNC is high for frames
containing A signaling bits, and low for frames
containg B bits. Refer to Figure 17 for a timing
diagram. In SLC-96® mode, the start of a new
multiframe occurs on the second rising edge of
RMSYNC which occurs while RSIGSEL is high.
A multiframe synchronization signal can be generated from RMSYNC and RSIGSEL using the
24
DS225PP2
CS62180B
7
0
1
(MSB)
6
5
ARC
OOF
OOF/RCL 0
OOF only 1
2 out of 4
2 out of 5
4
RCI
0
1
3
RCS
Disabled
Enabled
0
1
Idle (7F)
Milliwatt
2
SYNCC
1
SYNCT
0 Ft/FPS only 0
1 Fs/CRC 1
10 bits
24 bits
0
(LSB)
SYNCE RESYNC
0 Autoresync
1 Disabled
rising edge
triggered.
Figure 19. Receive Control Register (RCR)
circuit shown in Figure A1 in the Applications
section.
T1DM Timing
The 8 kHz link data can be sampled on RLINK
using the falling edge of RFSYNC. Refer to Figure 18 and "Switching Characteristics–Receiver"
for timing diagrams. RSIGFR, RSIGSEL and
RLCLK serve no purpose in the T1DM mode
and may be ignored.
Receive Control Register (RCR)
The RCR provides for insertion of either idle or
digital milliwatt codes, and has six different control bits which enable a large number of options
for tailoring the receiver resync behavior. Refer
to Figure 19 for an overview of the RCR.
Receive Code Select/Insert
RCR.4: RCS
RCR.5: RCI
When enabled via RCI (RCR.5), the Receive
Mark Registers are used to select individual DS0
channels for insertion of idle or digital milliwatt
codes, as selected via RCS (RCR.4). There are
three RMR registers: RMR1, RMR2, and RMR3
(Figure 20). Each bit in the RMR registers corre7
RMR1
RMR2
RMR3
(MSB)
CH8
CH16
CH24
"0" = Normal
6
5
CH7
CH15
CH23
sponds to a received DS0 channel: RMR1.0 =
channel 1, RMR1.7 = channel 8, RMR2.7 =
channel 16, etc. A channel is marked for code
insertion by setting the bit which corresponds to
that channel in the appropriate RMR register.
When RCR.5 is clear, code insertion is disabled,
and the contents of the RMR registers are ignored.
RCS (RCR.4) selects whether to insert an idle
code, or a digital milliwatt code, into the individual DS0 channels marked in the three Receive
Mark Registers (RMR1 - RMR3). Clearing
RCR.4 will select for an idle code (7F hex) to be
inserted into marked channels. Setting RCR.4 to
a "1" will cause a digital milliwatt code (µ-LAW
format) to be inserted into all marked channels.
Receiver Synchronization
The receiver monitors the incoming signal for
loss of frame alignment (based on FT or FPS bits
only). Unless auto resync has been disabled via
RCR.1 (see below), the receiver will automatically initiate a search for the correct framing
alignment when loss of synchronization is detected, and RLOS (pin 39) will go high until a
new framing alignment is declared.
4
CH6
CH14
CH22
3
CH5
CH13
CH21
2
CH4
CH12
CH20
1
CH3
CH11
CH19
0
CH2
CH10
CH18
(LSB)
CH1
CH9
CH17
"1" = Corresponding DS0 Channel is Replaced with Idle or Digital Milliwatt Code. (See RCR.4 and RCR.5)
Figure 20. Receive Mark Registers (RMR1 - RMR3)
DS225PP2
25
CS62180B
When the receiver initiates an auto resync,
RSIGFR is held low, but all other output timing
will continue in the old alignment until the new
framing is found. When the new framing alignment is qualified, the output timing will change
to the new alignment at the beginning of the next
superframe (or at the start of frame 13 in SLC96® mode), and RLOS will return low one bit
period before the F-bit of the second frame.
A receiver resync has no effect on the transmit
side timing or configuration, and behavior of the
output timing and RLOS pin is the same as that
for an auto resync described above. This is in
contrast to a reset initiated via the RST pin,
which clears all internal registers on the falling
edge, including the transmit side registers, resets
the output timing while RST is low, and then initiates a receiver resync on the rising edge.
The time it takes the receiver to resync depends
on resync algorithm selected via RCR.2 and
RCR.3. The remaining bits in the RCR (1, 6, and
7) determine under what conditions an automatic
resync will be initiated.
Forced Resync
RCR.0: RESYNC
RESYNC (RCR.0) can be used to force a receiver resync. Toggling RCR.0 will initiate a
resync immediately on the rising edge. It must
then be cleared and set again to initiate another
resync. Toggling RCR.0 when going into loopback mode will force the receiver to resync to
the new frame alignment immediately. This is
faster than waiting for the internal hardware to
recognize an out-of-frame (OOF) condition and
initiating an automatic resync.
Note: A forced resync should be issued after a
change in framing mode to insure correct synchronization.
26
Auto Resync Conditions
RCR.1: SYNCE
RCR.6: OOF
RCR.7: ARC
SYNCE (RCR.1) can be set to a "1" to completely disable automatic resync. If RCR.1 is
clear, a resync will automatically be initiated
when the conditions specified by RCR.6 and
RCR.7 are detected.
OOF (RCR.6) specifies how many framing bits
(FT or FPS channels only) must be in error before the receiver declares an out-of-frame (OOF)
condition. A resync is always initiated (unless
disabled) when an OOF is detected. If RCR.6 is
clear, an OOF is declared if 2 out of 4 FT or FPS
bits are in error. If RCR.6 is set to a one, an
OOF is declared if 2 out of 5 framing bits are
errored. Note that the setting of RCR.6 also effects the reporting of OOF events to the Receive
Status Register (RSR) and Error Count Register
(ECR). Refer to the appropriate sections below
for details.
ARC (RCR.7) declares whether the receiver will
initiate a resync on an OOF event only, or resync
on both OOF and carrier loss (RCL). If RCR.7 is
cleared, the receiver will commence resync upon
detection of either an OOF event (as defined by
RCR.6 above), or an RCL. If RCR.7 is set, the
receiver will only resync in response to an OOF
condition.
Resync Algorithm
RCR.2: SYNCT
RCR.3: SYNCC
SYNCT (RCR.2) allows you to declare how
many bits must be qualified in the framing pattern before the receiver declares synchronization.
When RCR.2 is clear, 10 consecutive FT or FPS
framing bits preceding an RMSYNC rising edge
must be qualified. Setting RCR.2 to a "1" requires the CS62180B to qualify 24 consecutive
FT or FPS bits preceding an RMSYNC
DS225PP2
CS62180B
rising edge before declaring synchronization.
SYNCC (RCR.3) allows you to modify the algorithm employed to search for and qualify the
framing alignment. There are two different qualifying conditions available for each framing
mode, and the meaning of RCR.3 depends on
which framing mode has been selected via
CCR.4.
193S Resync
When operating with the 193S framing format,
RCR.3 selects whether or not the CS62180B
will qualify the FS bits during resync.
If a non-standard S-bit pattern is being used,
clearing RCR.3 will enable the device to first
search for the FT framing pattern to find frame
alignment, and then only reset multiframe alignment if the FS pattern can be found. This means
that if a valid FS pattern is not found, synchronization will be declared anyway, and the
multiframe alignment indicated by RMSYNC
may be false. The S-bits output on RLINK can
be used to decode framing externally in such applications.
When using standard FS signaling, setting
RCR.3 to a "1" will cause the device to cross
check the FT and FS patterns to find sync, and
both patterns must be valid before sync is declared. Synchronization will be declared after the
number of FT bits selected by RCR.2 separated
by valid FS bits have been qualified. Note that
in either setting, S-bit format yellow alarms are
recognized by the synchronizer if they have been
selected by setting CCR.3.
193E Resync
Clearing RCR.3 while in 193E mode will cause
the CS62180B to use only the
FPS framing pattern when looking for a valid
framing alignment. If RCR.3 is set, the device
will attempt to qualify the CRC bits after a canDS225PP2
didate alignment has been found. If the CRC
codes match, then the new alignment will be declared, if not, the device will try two more times.
If the third CRC code does not qualify, then the
device will start a new resync procedure and
continue in this manner until a framing alignment can be verified with the CRC codes.
Note that after 24 ms, if there are still multiple
candidates for framing alignment, the device will
test the CRC codes to eliminate false candidates
regardless of the setting of RCR.3. After the
framing alignment has been found, it takes about
9 ms for the device to check the CRC codes for
the first superframe. If that superframe fails, it
takes about 3 ms to check each additional CRC
code.
SLC-96® Resync
When operating with the SLC-96® framing format, the receiver should be programmed for
FS/FT cross-coupling (RCR.3=1) and for minimum resync time (RCR.2=0). This causes the
CS62180B to sync on the 10 valid FT bits
seprated by valid Fs bits in frames 65 through
11, and prevents false synchronization to data
link and/or spoiler bits.
Note: The CS62180B does not check SLC-96®
multiframe alignment once synchronization is
declared. In applications such as test equipment
where the input data framing format may change
or the multiframe alignment may change when
the frame alignment does not, the datalink processor should check the phase between RSIGSEL
and the DL spoiler bits on RLINK and issue a
forced resync when multiframe alignment is incorrect. In the SLC-96® applications, a forced
resync should be issued after the device is configured. Since the CS62180B defaults to the
193S framing mode at power up it may sync to
SLC-96® data while in the 193S mode. If this
occurs the multiframe alignment may be incorrect after the CS62180B is programmed for
SLC-96® mode even though the frame alignment
27
CS62180B
7
1=
(MSB)
6
5
BVCS
ECS
BVCR
Saturation
ECR
Saturation
4
RYEL
3
RCL
Yellow Alarm Carrier Loss
Detected
Detected
2
1
0
(LSB)
FERR
B8ZSD
RBL
RLOS
Frame Error
Detected
B8ZS/COFA
Detected
Blue Alarm
Detected
Resync in
progress
Figure 21. Receive Status Register (RSR)
is correct. Since the frame alignment is correct
no OOF event or auto resync occurs. A forced
resync will force the 62180B to synchronize to
the frame and multiframe alignment.
T1DM Resync
Resync is based upon the 6-bit sync word in
channel 24. Once the sync word is recognized,
6 consecutive frames with the correct sync word
and FS/FT bits are required before declaring synchronization. RCR.2 must be set to "0". RCR.3
is ignored. When frame synchronization is declared, RLOS goes low and RFSYNC is output
concurrent with the f-bits. However, the superframe output clocks (RMSYNC, RSIGFR and
RSIGSEL) are held low for an additional short
period of time until superframe synchronization
is found.
Errored F-bit
RSER
F
2nd Frame
F
Receive Status Register (RSR)
The CS62180B monitors the incoming
T1 data for a number of error conditions.
These alarms are recorded in the Receive Status
Register (RSR), and output in real time on the
status pins: RYEL, RCL, RBV, RFER, and
RLOS. Three presettable counters are provided
which count the number of occurrences of Bipolar Violations, Framing and CRC errors. The
Receive Interrupt Mask Register, RIMR, can be
set to specify which of the eight errors recorded
in the RSR will generate a hardware interrupt on
INT. When operating in hardware mode, all
these registers are cleared, and only the status
pins provide real time alarm information.
Loss of Carrier
(32nd or 128th "0")
Bipolar Violation
"0" "0" "0" "1"
F
RCLK
RMSYNC
RFSYNC
RFER
RBV
RCL
RLOS
Resync
OOF
Resync
Reframed
Loss of Carrier (RCL)
Bipolar Violation
CRC Error
Figure 22. Receive Status Pin Timing
28
DS225PP2
CS62180B
Each of the eight bits of the RSR (Figure 21)
corresponds to an alarm condition. A bit in the
RSR is set when the corresponding alarm is detected. It will be cleared by a direct read (a burst
read will have no effect) of the RSR, unless the
alarm condition persists (see Alarm Servicing,
below). TCLK is used to clock the internal circuitry which clears RSR after it is directly read;
therefore, a 1.544 MHz signal must always be
input to TCLK, even for a "receiver-only" application. The status pins which correspond to
many of the RSR bits operate in real time. They
go high when the error is detected, and return
low either immediately, or as soon as the error
condition is cleared. Alarms are reported synchronously with the emergence of the offending
bits on RSER. See Figure 22, and the corresponding alarm description below for further
description of status pin timing.
Receive Loss of Sync
RSR.0: RLOS
RLOS (RSR.0) goes high when a receiver resync
is in progress. When the receiver is set to auto
resync (RCR.1 = 0), the receiver will commence
resync when an OOF event or loss of carrier is
detected. If in response to an OOF, RLOS transitions high synchronously with the output of the
offending F-bit on RSER (see RCR.6).
If in response to an RCL, RLOS goes high
with the 128th ±1 consecutive zero bit.
The RLOS pin will return low one bit period
prior to the F-bit of the second frame after the
new alignment has been declared (timing signals
will reset at the start of the new superframe). Refer to Receiver Synchronization, above, for more
information.
DS225PP2
Receive Blue Alarm
RSR.1: RBL
RBL (RSR.1) will transition high when a blue
alarm is detected, and is updated at the beginning of odd-numbered frames.
A blue alarm is reported whenever
unframed all ones occurs, as per Bellcore
TR-TSY-000191. The algorithm used is to simultaneously check for an out-of-frame (OOF)
condition, and check for 14 or less zeros out of
13,895 bits. All bits, including frame bits, are
tested. RBL goes high on a frame boundary.
RBL goes low immediately (indicating the termination of the AIS condition) if OOF goes low, or
if 15 or more zeros are counted and the number
of bit periods is less than or equal to 13,895.
RBL is reported on pin 3 of the 44-pin PLCC
package. There is no status pin corresponding to
RBL on the 40-pin DIP package.
B8ZS/COFA Detect
RSR.2: B8ZSD
B8ZSD (RSR.2) is a multifunction bit. It can be
configured either to report the detection of B8ZS
codes, or to indicate a change of framing alignment. This selection is performed through the
setting of CCR.6 (see Common Control Register,
above). There is no status pin corresponding to
RSR.2.
If CCR.6 is clear, RSR.2 will go high every time
a B8ZS code is detected in the incoming T1
data. This detector remains operational, whether
or not B8ZS substitution has been enabled via
CCR.2.
29
CS62180B
If CCR.6 is set to a "1", RSR.2 will go high in
response to a Change of Frame Alignment
(COFA). A COFA is reported when the last receiver resync resulted in a change of frame or
multiframe alignment. RSR.2 will go high at the
same time the timing signals are reset after a
resync. (See Receiver Synchronization, above.)
Frame Bit Error
RSR.3: FERR
FERR (RSR.3) is set whenever a framing bit is
in error.
193S Frame Bit Errors: The framing bits for the
193S is the FT channel (odd F-bits). The RFER
status pin (pin 38) signals the same FT errors,
but in addition, signals FS errors as well. When
signaling a frame bit error, RFER will go high
simultaneously with the output of the offending
F-bit on RSER, and hold for 2 bit periods.
193E Frame Bit Errors: The framing bits for the
193E mode are the FPS channel (F-bits of
frames 4, 8, 12, 16, 20, and 24). The RFER
status pin (pin 38) signals the same FPS errors,
but in addition, signals CRC errors as well.
When signaling a frame bit error, RFER will go
high simultaneously with the output of the offending F-bit on RSER, and hold for 2 bit
periods. When signaling a CRC error, RFER will
transition high 1/2 bit before the new superframe
to indicate a CRC error in the previous superframe. It goes high on the falling edge of RCLK,
and is held for only one period, returning low on
the next falling edge of RCLK.
SLC-96® Frame Bit Errors: The framing bits for
the SLC-96® mode is the FT channel (odd Fbits). The RFER status pin (pin 38) signals the
same FT errors, but in addition, signals FS errors
as well. The presence of DL bits in FS bit positions will not be reported as frame bit errors on
pin RFER, or in registers RSR.3 and ECR.0-3,
and will not contribute to determining that an
OOF condition exists. When signaling a frame
30
bit error, RFER will go high simultaneously with
the output of the offending F-bit on RSER, and
hold for two bit periods.
T1DM Frame Bit Errors: The framing bits for
the T1DM mode are the FT and FS bits, plus the
channel 24 sync word. The RFER status pin (pin
38) signals errors in the frame bits. RFER will
go high simultaneously with the F-bit of the
frame following the frame in which the error(s)
occured, and will remain high for two bit periods.
Receive Carrier Loss
RSR.4: RCL
Carrier loss is declared when
128±1 consecutive zero’s are detected at
RPOS/RNEG. RCL (RSR.2) and the RCL pin
(pin 36) transition high with the output of the
128th±1 zero bit on RSER. The RCL pin will
return low as soon as the next "1" is received at
RPOS/RNEG.
Receive Yellow Alarm
RSR.5: RYEL
RYEL (RSR.5) transitions high when a yellow
alarm is detected. The format of the alarm detected is determined by the settings of either
CCR.3 or CCR.5, depending on the framing format being used. The RYEL pin (pin 21) will
return low as soon as the alarm clears, that is,
when the next expected alarm bit no longer indicates an alarm.
DS225PP2
CS62180B
7
(MSB)
6
OOFD3 OOFD2
OOF Count
5
4
OOFD1
OOFD0
Presetable.
Saturates at 15 (1111).
3
2
ESFD3 ESFD2
ESF Error Count
1
0
ESFD1
(LSB)
EFSD0
Presetable.
Saturates at 15 (1111).
Figure 23. Error Count Register (ECR)
When using a bit 2 yellow alarm, in either 193S
or 193E mode, a yellow alarm is defined as a
"0" in bit 2 (2nd MSB) of every DS0 channel.
RYEL will signal a bit 2 yellow alarm when 256
or more consecutive channels are detected with a
"0" in bit 2. The alarm will clear at the next "1"
detected in a bit 2 position.
When using an FDL yellow alarm in 193E
mode, RYEL will declare a yellow alarm after
16 repetitions of "00FF" on the FDL. The alarm
will clear at the next bit which is out of sequence.
When using an S-bit yellow alarm in 193S
mode, RYEL will transition high whenever a "1"
is detected in the F-bit of frame 12. The alarm is
not cleared until a zero is detected in the F-bit of
frame 12.
In T1DM mode , a yellow alarm is detected by
checking the channel 24 sync word. In SLC-96®
mode, the CS62180B does not recognize yellow
alarms, rather, they are recognized by the user
via the DL.
Error Count Saturation
RSR.6: ECS
ECS (RSR.6) monitors the status of the Error
Count Register (ECR), as shown in Figure 23.
The ECR provides two, separate, 4 bit counters
at one register address: the ESF Error Count (D0
- D3), and the OOF Count (D4 - D7). RSR.6
will go high after either of these 4 bit counters
becomes saturated (at 15), and new OOF or ESF
event is detected (the 16th or greater).
DS225PP2
The OOF Counter (D4 - D7) records the number
of out-of-frame events. An OOF event occurs
when 2 out of either 4 or 5 consecutive framing
bits are in error, as defined by RCR.6. In 193S
mode, the FT bits are monitored for OOF events,
while in 193E mode, the FPS bits are used.
The ESF counter (D0 - D3) records the number
of "Errored Superframes". An ESF event in 193E
mode is defined as an OOF event, or a CRC error. The ESF counter will be advanced each time
either event is detected. In 193S mode, the ESF
counter records individual framing bit errors. If
RCR.3 is set, requiring FS bits to be qualified for
synchronization, both FT and FS bit errors will
advance the ESF counter. If RCR.3 is clear, only
FT bits will be monitored.
The OOF and ESF operate separately, each
counting up from 0 (hex) and saturating at F
(hex). The saturation threshold can be changed
for each counter separately, by presetting the
counter to some value higher than 0. Because
they share the same register address, both counters must be read or written simultaneously.
There is no status pin directly corresponding to
the ECS bit, but FERR signals individual frame
bit and CRC errors, and RLOS signals an OOF
event. ECS counter increments are disabled
when resync is in progress (RLOS high).
Bipolar Violation Count Saturation
RSR.7: BVCS
Individual Bipolar Violations are recorded in an
8 bit counter, the Bipolar Violation Count Register (BVCR), as show in Figure 24. The BVCR
counts up from 0 (all "0’s") to 255 (all "1’s").
After reaching saturation at 255, every Bipolar
31
CS62180B
7
(MSB)
6
BVD7
5
BVD6
4
BVD5
3
BVD4
2
BVD3
1
BVD2
0
BVD1
(LSB)
BVD0
Counts individual Bipolar Violations. Sets RSR.7 high when overfolws past 255 (11111111).
Presetable to any starting value to limit the number of Bipolar Violations needed to overflow.
Figure 24. Bipolar Violation Count Register (BVCR)
7
(MSB)
BVCS
0
1
6
5
ECS
4
RYEL
3
RCL
2
FERR
1
B8ZSD
0
RBL
(LSB)
RLOS
Disables interrupts for the corresponding bit of the RSR.
Enables an interrupt whenever the corresponding bit of the RSR goes high.
Figure 25. Receive Interrupt Mask Register (RIMR)
Violation received will cause BVCS (RSR.7) to
be set to a "1". The BVCR can be preset, to a
value greater than 0, to lower the threshold at
which it saturates and signals an alarm in RSR.7.
Bipolar Violations in valid B8ZS codes are never
counted by the CS62180B. Note also that the
Bipolar Violation monitoring circuit is disabled
entirely when using NRZ input at
RPOS/RNEG (selected by tying RPOS/RNEG
together).
Individual Bipolar Violations are also reported in
real time on RBV (pin 37). RBV will go high
simultaneously with the output of the accused bit
at RSER. It will only be held for that bit period,
falling at the next bit, unless another violation is
detected.
Interrupts
When operating in host mode, an interrupt pin,
INT (pin 14), is provided to signal the host processor of alarm conditions. INT is an open drain
output, and should be tied to the positive supply
through a resistor. The INT pin can be programmed to respond whenever any bit of the
Receive Status Register (RSR) goes high by setting the corresponding bit of the Receive
Interrupt Mask Register (RIMR). Each bit of the
RIMR is ’AND’ed with the corresponding bit of
the RSR to determine the interrupt. Clearing any
32
bit in the RIMR will disable the interrupt for that
alarm condition. When an interrupt has been signaled, the CS62180B must be serviced by the
host processor to clear the alarm, as described below.
Figure 25 shows an overview of the RIMR.
Alarm Servicing
The CS62180B must be serviced
by the host processor to clear the interrupt.
Clearing the appropriate bit (or bits, if more than
1 alarm condition exists) in the Receive Interrupt
Mask Register (RIMR) will clear any interrupt
unconditionally. The interrupt for that alarm will
remain disabled until the bit in the RIMR is set
again.
Depending on the type of alarm condition, an interrupt may also be cleared without changing the
RIMR. If the alarm is in response to a counter
saturation (see Bipolar Violation Count Saturation and Error Count Saturation, above), then
the counter must be reset to a value other than
all "1’s" to clear the alarm. If the interrupt is in
response to a real time event, then it may be
cleared by a direct read (a burst read will have
no effect) of the RSR. Note that reading the RSR
will only clear the interrupt if the alarm condition no longer persists. For real time events of
long duration, clearing the appropriate bits in the
RIMR is the only way to clear the interrupt.
DS225PP2
CS62180B
PIN NUMBER
DIP
PLCC
14
16
REGISTER
MAPPING
DESCRIPTION
FUNCTION
TCR.2
193S: S-bit Insertion
0 = Internal
1 = External
0 = 193S
1 = 193E
0 = Disabled
1 = Enabled
0 = Transparent
1 = B7 Stuffing
0 = Disabled
1 = Enabled
15
17
CCR.4
Framing Mode Select
16
18
TCR.0
Transmit Yellow Alarm
17
19
CCR.1
B7 Zero Suppression
18
20
CCR.2
B8ZS Zero Suppression
Table 2. Hardware Mode Control Pins
HARDWARE MODE
For stand alone applications or prototyping in
which the device is to operate without a host
processor, the CS62180B can be
configured to run in hardware mode by tying the
Serial Port Select pin (SPS) to ground (VSS).
This disables the serial port and redefines pins
14-18 (16-20, PLCC) as mode control pins. All
registers are cleared, with the exception of the
control bits which are mapped to the mode control pins, and TCR.4, which is set to "1",
enabling robbed bit signaling. This means that,
with the exception of robbed bit signaling, the
configuration of the CS62180B
in hardware mode is the same as if it were in
host mode with all control bits cleared. Dynamic
control of a few of the control bits is provided
by mapping them directly to pins 14-18 (16-20,
PLCC). Operation of these pins is described in
Hardware Mode Control Pins and Table 2. Note
that the SLC-96® and T1DM framing formats
are not supported in the hardware mode.
When operating in hardware mode, bit-robbed
signaling is enabled for all channels. Signaling
data sampled from TABCD is inserted into the
8th bit position (LSB) of every DS0 channel during signaling frames (every 6th frame). There is
no facility for programming individual channels
clear, however; all channels may be made transparent by tying TABCD to TSER.
DS225PP2
When pulling 193SI high for external S-bit insertion in 193S mode, data is sampled from
TLINK and inserted into the F-bits of even
frames. The 193SI pin has no effect when the
device is in 193E mode. When using 193E format, TLINK is sampled for insertion into every
odd F-bit (FDL). CRC data is internally generated and cannot be externally supplied.
The receiver will initiate a resync if 2 of the previous 4 framing bits were in error. It will declare
synchronization after 10 consecutive F-bits are
qualified. When in 193E mode, CRC errors will
be reported on RFER, but not used to qualify
synchronization. Receiver status can be monitored via the status outputs: RYEL, RCL, RBV,
RFER, and RLOS. There is no support for generating blue alarms or idle code insertion when
in hardware mode.
Hardware Mode Control Pins
Framing Format
The FM pin allows selection of the framing
mode for both transmit and receive sides. Holding this pin low selects 193S framing mode.
193E framing may be selected by pulling the
FM pin high.
33
CS62180B
Yellow Alarm
A yellow alarm may be generated on the transmit side by pulling TYEL high. In 193S mode,
bit 2 yellow alarms are supported internally. In
193E mode, FDL yellow alarms are supported.
These formats are also detected by the receiver
and reported on RYEL. Blue alarms are not supported in hardware mode, except for the
transmission of all "1’s" on TPOS/TNEG during
loopback.
If S-bit yellow alarm is desired while in 193S
mode, it may be externally provided via S-bit insertion, enabled by pulling the 193SI pin high.
There is, however, no way to generate a bit 2
yellow alarm while in 193E mode. Moreover, the
device will not decode either of these formats,
while in hardware mode. If they are required, external alarm detection must be provided.
34
Zero Suppression
B7 selects the B7 zero suppression format for the transmitter. Pulling the B7
pin high enables bit 7 stuffing. Pulling the B8ZS
pin high enables B8ZS encoding on the transmitter. The receiver is always capable of decoding
either B8ZS or AMI-encoded data. Transparent
mode may be selected by holding both pins low.
Loopback
Loopback is also provided in the hardware mode
by simultaneously driving the B7 and B8ZS pins
high. The previous state of the pins is maintained, and the selected zero suppression mode
remains effective during loopback. While in
loopback, an unframed all "1’s" signal (Blue
alarm) is output on TPOS/TNEG.
DS225PP2
CS62180B
PIN DESCRIPTION
‘
TRANSMIT MULTIFRAME SYNC
TRANSMIT FRAME SYNC
TRANSMIT CLOCK
TRANSMIT CHANNEL CLOCK
TRANSMIT SERIAL DATA
TRANSMIT MULTIFRAME OUT
TRANSMIT SIGNALING SELECT
TRANSMIT SIGNALING FRAME
TRANSMIT ABCD SIGNALING
TRANSMIT LINK DATA
TRANSMIT LINK CLOCK
TRANSMIT POSITIVE BIPOLAR DATA
TRANSMIT NEGITIVE BIPOLAR DATA
TMSYNC
TFSYNC
TCLK
TCHCLK
TSER
TMO
TSIGSEL
TSIGFR
TABCD
TLINK
TLCLK
TPOS
TNEG
RECEIVE ALARM INTERRUPT
SERIAL DATA IN
SERIAL DATA OUT
CHIP SELECT
SERIAL DATA CLOCK
SERIAL PORT SELECT
SIGNAL GROUND
(193SI)INT
(FM)SDI
(TYEL)SDO
(B7)CS
(B8ZS)SCLK
SPS
VSS
1
40
2
39
3
38
4
37
5
36
6
35
7
34
8
33
9
32
10
31
11
30
CS62180B-IP
12
29
13
28
14
27
15
26
16
25
17
24
18
23
19
22
20
21
TMSYNC
TFSYNC
VDD
RLOS
RFER
RBV
RCL
RNEG
RPOS
RST
TEST
RSIGSEL
RSIGFR
RABCD
RMSYNC
POSITIVE POWER SUPPLY
RECEIVE LOSS OF SYNC
RECEIVE FRAME ERROR
RECEIVE BIPOLAR VIOLATION
RECEIVE CARRIER LOSS
RECEIVE NEGITAVE BIPOLAR DATA
RECEIVE POSITIVE BIPOLAR DATA
RESET
TEST MODE
RECEIVE SIGNALING SELECT
RECEIVE SIGNALING FRAME
RECEIVE ABCD SIGNALING
RECEIVE MULTIFRAME SYNC
RSFYNC
RSER
RCHCLK
RECEIVE FRAME SYNC
RECEIVE SERIAL DATA
RECEIVE CHANNEL CLOCK
RCLK
RLCLK
RLINK
RYEL
RECEIVE
RECEIVE
RECEIVE
RECEIVE
VDD
RBL (CS62180B PLCC only)
RLOS
TCLK
RFER
TCHCLK
RBV
NC
RCL
TSER
TMO
TSIGSEL
TSIGFR
6
4
2
1 44
42
RNEG
RPOS
40
7
39
8
38
9
37
10
36
11
35
TLINK
TLCLK
12
34
TPOS
15
31
16
30
TABCD
TNEG
(193SI) INT
(FM) SDI
(TYEL) SD0
(B7) CS
(B8ZS) SCLK
SPS
VSS
CLOCK
LINK CLOCK
LINK DATA
YELLOW ALARM
13
33
CS62180B-IL
14
32
17
29
18
20
22
24
26
28
RST
TEST
RSIGSEL
RSIGFR
RABCD
RMSYNC
RFSYNC
RSER
RCHCLK
NC
RCLK
RLCLK
NC
RLINK
RYEL
DS225PP2
35
CS62180B
Power Supply Connections
VDD - Positive Supply, Pin 40 (PLCC, Pin 44).
Positive digital power supply. Nominally +5.0 Volts.VDD current requirements increase if
RCLK is static, and if RST is held high.
VSS - Signal Ground, Pin 20 (PLCC, Pin 22).
Power supply ground. Nominally 0 volts.
Host Mode Serial Interface
Pins 14 - 18 (PLCC, 16 - 20) are multifunctional. When in Host mode, they operate as serial
interface pins. When in hardware mode, they are redefined as mode control pins. Their hardware mode operation is described separately under Hardware Mode Control Pins, below.
SPS - Serial Port Select, Pin 19 (PLCC, Pin 21).
Must be tied to VDD to select host mode, allowing operation of serial port. Tying SPS to VSS
selects hardware mode. Selecting hardware mode clears all internal registers except the common control register (CCR) and transmitter control register (TCR), and redefines pins 14
through 18 (PLCC, 16 - 20) as mode control pins.
Inputs
SDI - Serial Data In, Pin 15 (PLCC, Pin 17).
Serial data input for addressing and writing to on-board control registers. Data is input LSB
first. Input data is latched on the rising edge of SCLK.
CS - Chip Select, Pin 17 (PLCC, Pin 19).
CS low enables serial port for read or write. When CS transitions high, all data transfers are
terminated, port control logic is disabled, and SDO is tri-stated to allow for multiprocessor
interface.
SCLK - Serial Data Clock, Pin 18 (PLCC, Pin 20).
Used to read or write the serial port. Data at SDO is output on the falling edge of SCLK and
held to the next falling edge. Input data on SDI is latched on the rising edge of SCLK.
Outputs
INT - Receive Alarm Interrupt, Pin 14 (PLCC, Pin 16).
Pulled low to flag host controller when an alarm interrupt condition occurs. The user may select
which alarm conditions will trigger an interrupt by appropriately setting the Receive Interrupt
Mask Register (RIMR). INT is an open drain output, and should be tied to the positive supply
(VDD) through a resistor.
36
DS225PP2
CS62180B
SDO - Serial Data Out, Pin 16 (PLCC, Pin 18).
When reading the serial port, data is output LSB first. Data is updated on the falling edge of
SCLK and held to the next falling edge. SDO goes to a high impedance state when CS is high
or after the rising edge of SCLK corresponding to the output of the MSB (last bit output).
Hardware Mode Control Pins
Pins 14 - 18 (PLCC, 16 - 20) are multifunctional. When in Host mode, they operate as serial
interface pins. When in hardware mode, they are redefined as mode control pins. Their host
mode operation is described separately under Host Mode Serial Interface, above. SPS must be
tied low to enable hardware mode.
193SI - 193S S-bit Insertion, Pin 14 (PLCC, Pin 16).
In hardware mode, this pin is redefined as a control pin and maps directly to TCR.2. Holding
the pin low while in 193S framing format, configures the CS62180B to generate the
FS framing pattern internally for transmission. Pulling 193SI high allows external insertion
of transmitted S-bits via TLINK.
FM - Frame Mode Select, Pin 15 (PLCC, Pin 17).
In hardware mode, this pin is redefined as a control pin and maps directly to CCR.4. Holding
the FM pin low configures the CS62180B for 193S framing format, pulling it high selects the
193E format.
TYEL - Transmit Yellow Alarm, Pin 16 (PLCC, Pin 18).
In hardware mode, this pin is redefined as a control pin and maps directly to TCR.0. Pulling the
TYEL pin high enables transmission of a yellow alarm in the default format. In 193S mode
yellow alarms default to a "0" in bit 2 (D6) of all DS0 channels. In 193E mode, yellow alarms
are encoded/decoded as a repeating pattern of 00FF (hex) on the FDL.
B7 - Bit 7 Zero Suppression, Pin 17 (PLCC, Pin 19).
In hardware mode, this pin is redefined as a control pin and maps directly to CCR.1. Holding
the B7 pin low disables bit 7 stuffing (B7) for transparent operation. Pulling the pin high
enables B7 zero suppression. Pulling the B7 and B8ZS pins high simultaneously puts the
CS62180B into loopback operation.
B8ZS - Bipolar Eight Zero Suppression, Pin 18 (PLCC, Pin 20).
In hardware mode, this pin is redefined as a control pin and maps directly to CCR.2. On the
CS62180B, pulling the B8ZS pin high enables B8ZS zero suppression in just the transmitter,
since the CS62180B receiver is always capable of receiving either B8ZS or AMI-encoded data.
Pulling the B7 and B8ZS pins high simultaneously puts the CS62180B into loopback
operation.
DS225PP2
37
CS62180B
Transmitter
Inputs
TCLK - Transmit Clock, Pin 3 (PLCC, Pin 4).
1.544 MHz primary transmitter clock. Divided down internally to provide timing signals. TPOS
and TNEG are updated on the rising edge of TCLK. Input transmission data (TSER, TABCD,
and TLINK) is sampled on the falling edge of TCLK.
A 1.544 MHz signal must be input into TCLK even for those applications where the transmitter
is not being used. TCLK is used by the circuitry which clears status registers after those registers have been directly read (non-burst mode read).
TMSYNC - Transmit Multiframe Sync, Pin 1 (PLCC, Pin 1).
A low to high transition of TMSYNC, occurring near the rising edge of TCLK, resets transmitter’s frame and multiframe counters, identifying bit period (at TSER) concurrent with the next
falling edge of TCLK as the F-bit of frame 1. If tied low, TFSYNC may be used to set frame
alignment, and the CS62180B will arbitrarily choose multiframe alignment.
Internal channel, frame, and multiframe counters are output on TCHCLK, TMO, TSIGSEL,
TSIGFR, and TLCLK.
TFSYNC - Transmit Frame Sync, Pin 2 (PLCC, Pin 2).
A low to high transition of TFSYNC, occurring near the rising edge of TCLK, resets transmitter’s frame counters, identifying bit period (at TSER) concurrent with the next falling edge of
TCLK as the F-bit of a new frame. If tied low, TMSYNC may be used to set both frame and
multiframe alignment. Without any sync input, the CS62180B will arbitrarily
choose both frame and multiframe alignment. Internal channel, frame, and multiframe counters
are output on TCHCLK, TMO, TSIGSEL, TSIGFR, and TLCLK.
TSER - Transmit Serial Data, Pin 5 (PLCC, Pin 7).
Input data (NRZ format), sampled on the falling edge of TCLK. TSER may also be used to
provide externally supplied data for insertion into FT, FPS, and CRC channels. Refer to Transmit Control Register, bits 5 and 6. Delay from TSER to TPOS/TNEG is 10 TCLK periods.
TABCD - Transmit ABCD Signaling, Pin 9 (PLCC, Pin 11).
When enabled, by setting bit 4 of the Transmit Control Register (TCR), data provided on
TABCD is inserted into the 8th bit position (LSB) of every DS0 channel during signaling
frames. Those are frames 6 and 12 in 193S format, and 6, 12, 18, and 24 in 193E. Signaling on
individual DS0 channels may be suppressed by declaring those channels transparent in the
Transmit Transparent Registers (TTR). Signaling in hardware mode is always enabled. Delay
from TABCD to TPOS/TNEG is 10 TCLK periods.
38
DS225PP2
CS62180B
TLINK - Transmit Link Data, Pin 10 (PLCC, Pin 12).
In 193S framing mode, setting bit 2 of the Transmission Control Register (TCR) enables data
on TLINK to be inserted into the S-bit channel (F-bit of all even frames). In 193E mode,
TLINK is sampled for data to be inserted into the F-bit of all odd frames for the 4 kHz facility
data link (FDL). In the SLC-96® mode, TLINK is sampled for data to be inserted into the DL.
In T1DM mode, TLINK is sampled for data to be inserted into the channel 24 "A" data link.
Delay from TLINK to TPOS/TNEG is 10 TCLK periods. In hardware mode, external S-bit
insertion on TLINK is enabled by setting pin 14 (193SI) high.
Outputs
TPOS, TNEG - Transmit Bipolar Data Outputs, Pins 12 and 13 (PLCC, Pins 14 and 15 ).
Coded data for transmission, updated on rising edge of TCLK. If TCR.7 is clear, or the
CS62180B is in hardware mode, data is output in dual-unipolar format. If
TCR.7 is set to a "1", data is output on TPOS in NRZ format, and TNEG is held low. Delay
from input to TPOS/TNEG is 10 TCLK periods.
TCHCLK - Transmit Channel Clock, Pin 4 (PLCC, Pin 5).
192 kHz clock which identifies DS0 channel boundaries. TCHCLK rises to indicate that the
next bit input on TSER is the first bit (MSB) of the DS0 channel. TCHCLK has a 50% duty
cycle.
TMO - Transmit Multiframe Out, Pin 6 (PLCC, Pin 8).
Output of internal multiframe counter. Rising edge marks beginning of multiframe, with 50%
duty cycle. Internal multiframe counter can be set on the rising edge of TMSYNC. In 193S
mode, TMO is high for frames 1-6, and low for frames 7-12, allowing easy distinction of
signaling channels A and B. In 193E mode, TMO is high for 1-12, and low for 13-24, and can
be used together with TSIGSEL to distinguish channels A, B, C, and D.
TSIGSEL - Transmit Signaling Select, Pin 7 (PLCC, Pin 9).
In 193S, 193E and T1DM modes, TSIGSEL runs at 2x TMO with a 50% duty cycle. Together
with TMO, TSIGSEL provides a way to distinguish signaling channels A, B, C, and D in 193E
mode. TMO is high for channels A and B. TSIGSEL is high for channels A and C (frames 1-6
and 13-18). In SLC-96® mode, TSIGSEL provides a way to distinquish when the DL bits are
to input.
TSIGFR - Transmit Signaling Frame, Pin 8 (PLCC, Pin 10).
TSIGFR goes high during signaling frames only, remaining low at all other times. Signaling
frames are frames 6 and 12 in 193S, SLC-96® and T1DM modes, and 6, 12, 18, and 24 in
193E mode.
TLCLK - Transmit Line Clock, Pin 11 (PLCC, Pin 13).
In 193S, 193E and SLC-96® modes, TLCLK runs at 4 kHz with a 50% duty cycle. It’s high
during odd numbered frames, and is useful for marking FS or FDL channel timing (input on
TLINK), and FT, FPS, and CRC channels (input on TSER). In T1DM, TLCLK runs at 8 kHz,
with a duty cycle of one bit period high per frame.
DS225PP2
39
CS62180B
Receiver
Inputs
RCLK - Receive Clock, Pin 24 (PLCC, Pin 27).
1.544 MHz primary receiver clock. Receiver data is output on the rising edge, and input on the
falling edge of RCLK. If no signal is present on RCLK, RST should be held low to minimize
power consumption.
RPOS, RNEG - Receive Bipolar Data Inputs, Pins 34 and 35 (PLCC, Pins 38 and 39).
Recovered data, sampled on falling edge of RCLK. Tie pins together to receive NRZ data and
disable bipolar violation monitoring circuitry. Delay from RPOS/RNEG to output at RSER is
13 RCLK periods.
RST - Reset, Pin 33 (PLCC, Pin 37).
Falling edge of RST clears all internal registers and resets receiver error counters. A receiver
resync is forced when RST returns high. This resync effects only the receiver synchronization,
and has no effect on transmit timing, but transmit control modes are cleared. The host processor
should restore all control modes following a reset by writing the appropriate control registers.
NOTE: On system power-up, RST must be held low to insure initialization of all on-board
registers.
Outputs
RYEL - Receive Yellow Alarm, Pin 21 (PLCC, Pin 23).
Transitions high when a yellow alarm is detected, returns low when yellow alarm is cleared.
When in Host mode, Yellow alarm formats for both 193S and 193E modes can be selected via
bits 3 and 5 of the Common Control Register. When in hardware mode, the 193S mode defaults
to bit 2 Yellow alarms, and the 193E mode defaults to FDL yellow alarms. Refer to bit 5 of the
Receive Status Register (RYEL) for a description of alarm detection conditions.
RCL - Receive Carrier Loss, Pin 36 (PLCC, Pin 40).
On the CS62180B, RCL transitions high if 1281 consecutive "0’s" are detected on RPOS
and RNEG and returns low on the next "1".
RBL - Receive Blue Alarm, (CS62180B PLCC only, Pin 3).
Transitions high on a frame boundary if an unframed-all ones and an out-of-frame condition
simultaneously occur. Returns low when either out-of-frame ends or zeros are detected.
RBV - Receive Bipolar Violation, Pin 37 (PLCC, Pin 41).
If a bipolar violation is detected, RBV goes high simultaneous with output of accused bit on
RSER, low otherwise.
40
DS225PP2
CS62180B
RFER - Receive Frame Error, Pin 38 (PLCC, Pin 42).
Transitions high with the output of an errored framing bit, and is held for 2 bit periods. FT and
FS bits are tested in 193S and SLC-96® modes, and FPS bits are tested in 193E. In T1DM
mode, the FS, FT and channel 24 sync bits are tested. Also signals CRC errors in 193E mode,
by going high 1/2 bit before the next extended superframe, and holding for 1 period (from
falling edge of RCLK to next falling edge).
RLOS - Receive Loss of Sync, Pin 39 (PLCC, Pin 43).
Transitions high during receiver resync, low otherwise. Transitions high when receiver begins a
resync, and falls low one frame after new timing is declared.
RSER - Receive Serial Data, Pin 26 (PLCC, Pin 30).
Received data, output in NRZ format. Data on RSER is valid and stable on the falling edges of
RCLK. Delay from RPOS/RNEG to RSER is 13 RCLK periods.
RABCD - Receive ABCD Signaling, Pin 29 (PLCC, Pin 33).
Signaling data extracted from LSB of DS0 channels during signaling frames is valid on
RABCD during corresponding channel output on RSER (LSB is available on RABCD seven bit
periods before it appears at RSER). During non-signaling frames, RABCD continues to output
LSB concurrently with word on RSER. After update, data on RABCD is valid and stable on
the falling edge of RCLK.
RLINK - Receive Link Data, Pin 22 (PLCC, Pin 24).
In 193S mode, S-bit data is output on RLINK one RCLK prior to start of corresponding even
frame, and held for 2 frames until next update. In 193E mode, FDL data is output on RLINK
one RCLK prior to start of corresponding odd frame, and held for 2 frames until next update.
After update, data on RLINK is valid and stable on the falling edge of RCLK.
In SLC-96® mode, all Fs and DL bits are output on RLINK using RLCLK. In T1DM mode,
channel 24 "A" link data is output on RLINK, and is valid and stable on the falling edge of
RFSYNC.
RLCLK - Receive Link Clock, Pin 23 (PLCC, Pin 26).
RLCLK runs at 4 kHz with a 50% duty cycle. It’s high during odd numbered frames. RCLK is
useful for marking S-bit, DL or FDL channel timing, output on RLINK. RLCLK is present,
but serves no useful purpose in the T1DM mode.
RCHCLK - Receive Channel Clock, Pin 25 (PLCC, Pin 29).
192 kHz clock which identifies DS0 channel boundaries output on RSER. RCHCLK is useful
for parallel to serial conversion of DS0 channel data.
RFSYNC - Receive Frame Sync, Pin 27 (PLCC, Pin 31).
Goes high for one RCLK period concurrent with the F-bit of each new frame output on RSER,
low otherwise. In the T1DM mode, the falling edge of RFSYNC can be used to sample the "A"
link channel on RLINK.
DS225PP2
41
CS62180B
RMSYNC - Receive Multiframe Sync, Pin 28 (PLCC, Pin 32).
Rising edge signals the F-bit of 1st frame of multiframe. RMSYNC runs on 50% duty cycle,
high for frames 1-6 in 193S mode, distinguishing signaling channels A and B. In 193E mode,
it’s high for frames 1-12, and can be used with RSIGSEL to distinguish channels A, B, C, and
D.
RSIGFR - Receive Signaling Frame, Pin 30 (PLCC, Pin 34).
High during signaling frames, low at all other times, including resync. Serves no purpose in
T1DM mode.
RSIGSEL - Receive Signaling Select, Pin 31 (PLCC, Pin 35).
In 193E mode, RSIGSEL goes high for frames 1-6 and 13-18, identifying signaling channels A
and C. Used together with RMSYNC, which is high for channels A and B, it allows identification of all 4 signaling channels. In 193S mode, RSIGSEL goes high for frames 1-3 and 7-9.
Serves no purpose in T1DM mode. In SLC-96® mode, RSIGSEL goes high in those frames
where Fs bits (frames 59 to 11) and the last spolier bit (frame 58) are present; goes low in all
other frames (frames 12 to 57).
Miscellaneous
TEST - Test Mode, Pin 32 (PLCC, Pin 36).
Tie to VSS for normal operation. Factory use only.
42
DS225PP2
CS62180B
21
40
40 pin
Plastic DIP
E1
20
1
DIM
A
A1
B
B1
C
D
E1
e1
eA
L
D
A
SEATING
PLANE
B1
e1
∝
L
A1
C
eA
B
NOTES:
1. POSITIONAL TOLERANCE OF LEADS SHALL BE WITHIN
0.25mm (0.010") AT MAXIMUM MATERIAL CONDITION, IN
RELATION TO SEATING PLANE AND EACH OTHER.
2. DIMENSION eA TO CENTER OF LEADS WHEN FORMED PARALLEL.
3. DIMENSION E1 DOES NOT INCLUDE MOLD FLASH.
∝
MILLIMETERS
MIN NOM MAX
3.94 4.32 5.08
0.51 0.76 1.02
0.36 0.46 0.56
1.02 1.27 1.65
0.20 0.25 0.38
51.69 52.20 52.71
13.72 13.97 14.22
2.41 2.54 2.67
15.24
15.87
3.81
3.18
15°
0°
MIN
0.155
0.020
0.014
0.040
0.008
2.035
0.540
0.095
0.600
0.125
0°
INCHES
NOM MAX
0.170 0.200
0.030 0.040
0.018 0.022
0.050 0.065
0.010 0.015
2.055 2.075
0.550 0.560
0.100 0.105
0.625
0.150
15°
-
28/44 pin
PLCC
NO. OF TERMINALS
28
44
MILLIMETERS
E1 E
DIM
MIN NOM MAX
INCHES
MIN
NOM MAX
MILLIMETERS
INCHES
MIN NOM MAX
MIN NOM MAX
A
4.20
4.45
4.57 0.165 0.175 0.180 4.20
4.45
A1
2.29
2.79
3.04 0.090 0.110 0.120 2.29
2.79
3.04 0.090 0.110 0.120
B
0.33
0.41
0.53 0.013 0.016 0.021 0.33
0.41
0.53 0.013 0.016 0.021
4.57 0.165 0.175 0.180
D/E 12.32 12.45 12.57 0.485 0.490 0.495 17.40 17.53 17.65 0.685 0.690 0.695
D1
D1/E1 11.43 11.51 11.58 0.450 0.453 0.456 16.51 16.59 16.66 0.650 0.653 0.656
D
D2/E2 9.91 10.41 10.92 0.390 0.410 0.430 14.99 15.50 16.00 0.590 0.610 0.630
e
B
1.19
1.27
1.35 0.047 0.050 0.053 1.19
1.27
1.35 0.047 0.050 0.053
e
A1
A
D2/E2
DS225PP2
43
CS62180B
APPLICATIONS
System Connection Diagram
+5V
28
27
31
Backplane Interface
1.544 MHz Serial Backplane
Signalling
PCM Data
Control
PCM Data
30
25
26
29
2
6
7
8
4
5
9
Signalling
23
VDD
D
PQ
C Q
D
RSIGSEL
RMSYNC
PQ
C Q
SLC-96 ®
multiframe
sync
(optional)
22
11
10
TV+
RV+
40
19
TCLK
TPOS
TNEG
RSIGSEL
RSIGFR
RCLK
RPOS
RSER
24
34
RNEG
35
RABCD
TFSYNC
TMO
TSIGSEL
TSIGFR
TCHCLK
TSER
TABCD
RLCLK
RLINK
TLCLK
TLINK
Data Link
Supervision
TCLK
TPOS
TNEG
3
12
13
RCHCLK
INT
14
CS
SCLK
SDI
SDO
17
18
15
RST
16
33
RYEL
RCL
21
36
RBV
RFER
RLOS
37
38
TRING
Transmit Line
MODE
TMSYNC
RMSYNC
RFSYNC
TTIP
RCLK
RPOS
RNEG
CLKE
INT
CS
SCLK
SDI
SDO
CS61535A/74A/75
32
1
VDD
SPS
VSS
TEST
CS62180B
20
RTIP
RRING
Receive Line
39
Host Processor
Figure A1. Typical System Connection
T1 Frame Formats
T1 is the basic format in the T-carrier PCM
transmission system used in the United States.
Detailed technical specifications can be found in
ANSI T1.107-1988, ANSI T1.403-1993, ANSI
T1.408-1990.
The T1 format time-division multiplexes 24 digitized voice (telephone) or data channels into a
single, 1.544 Mbps data stream. This format is
used primarily for transmission over dual
twisted-pair cable with digital repeaters at 6000
ft. intervals. The T-carrier system also defines
higher level formats for long-haul transmission
via satellite or microwave relay. These higher
level formats are constructed by multiplexing
44
several T1 lines into higher and higher data
rates. Figure A2 gives an overview of the T-carrier hierarchy.
Level
T-1
T-1C
T-2
T-3
T-4
Number of
voice channels
24
48
96
672
4032
Bit Rate
(Mbps)
1.544
3.152
6.312
44.736
274.176
Figure A2. T-carrier Hiearchy
DS225PP2
CS62180B
The T1 format provides a 64 kbps channel for
each individual voice or data line. These PCM
voice channels consist of 8-bit samples which
are sampled at 8 kHz for a data rate of 64 kbps.
A T1 frame is constructed by multiplexing 24 of
these DS-0 channels and inserting a framing bit
at the beginning of the series. This results in 192
bits of channel data, plus an F-bit, for a total of
1.544 Mbps (193 bits/frame transmitted at 8
kHz). See Figure A3.
8 bits
Framing bit
Channel 1
64 kbps
each
193 bits
T1 Frame = 1.544 Mbps
f
CH 1
CH 24
TDM
8 kHz Sampling
Channel 24
Figure A3. T1 Overveiw
Multiple T1 frames are then grouped into superframes of 12 or 24 frames to provide for framing
and signaling synchronization. The older 193S or
SF(D4®) format defines a superframe as 12
frames, with the F-bits carrying 2 channels of
synchronization signals. The emerging 193E, or
Extended Superframe Format (ESF) calls for 24
frames in a superframe. This allows the 24 F-bits
Frame 1 (F1)
f
CH 1
Frame 12 (F12)
CH 24
f
CH 1
CH 24
12 Frames = 193S Superframe
F1
F2
F3
F4
F5
F6
F7
F8
F9
Frame 1 (F1)
f
CH 1
F10
F11
F12
Frame 24 (F24)
CH 24
f
CH 1
CH 24
24 Frames = 193E Superframe
F1
F2
F3
F4
F5
F20
F21
F22
F23
F24
to be divided into 3 separate channels for framing, CRC checks, and system messages.
Additional variations on T1 are used for Subscriber Loop Carrier (SLC-96®) and Digital Data
Service (DDS®) T1DM.
193S Framing Format
Figure A5 shows the bit uses in the 193S framing format. The framing bits are divided into two
channels. The odd F-bits are designated as the
FT (terminal framing) channel, which always
carries a repeating pattern of "101010". This pattern allows synchronization to the frame
boundaries, and distinguishes the even and odd
frames. The even F-bits are designated as the FS
(signaling framing) channel. This channel carries
a different synchronization code (001110) which
identifies superframe alignment. The FS channel
can alternately be used as a message channel for
system use, in which case there is no facility
provided for multiframe synchronization.
Signaling information associated with each individual voice channel, such as on-hook/off-hook,
call progress, dialing digits, etc., is transmitted
within the voice channel itself. The signaling
data is transmitted in the LSB of each channel
193S
F-bits Channel bits
Frame
1
2
3
4
5
6
7
8
9
10
11
12
FT
1
FS
Data
Signaling
Options
Signaling
T
2
4
Bit 8
-
A
A
Bit 8
-
A
B
0
1-8
0
0
1
1
1-7
0
1
1-8
1
1
0
0
1-7
Figure A5. 193S Framing Format
Figure A4. Framing Overveiw
DS225PP2
45
CS62180B
during the 6th and 12th frames. The original LSB
of the channel is actually replaced with the signaling data, hence this is known as "robbed-bit"
signaling. The 6th and 12th frames can be treated
as one, 2-state channel, allowing a 2-state signal
to be updated twice every superframe. The two
frames can also be treated as separate channels
(A and B), yielding up to 4 separate codes for
each channel every superframe. For voice grade
applications, these signaling bits offer no noticeable degradation in the signal quality. When
error-free data transmission is required however,
robbed bit signaling can be disabled (transparent
mode), and some other signaling facility must be
provided by the host system.
193E
F-bits
Frame
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FPS FDL CRC
m
C1
m
0
m
C2
m
0
m
C3
m
1
m
C4
m
0
m
C5
m
1
m
C6
m
1
Channel
bits
Data
Signaling
Options
Signaling
T
2
4
16
Bit 8
-
A
A
A
Bit 8
-
A
B
B
1-8
1-7
1-8
1-7
1-8
1-7
Bit 8
-
A
A
C
Bit 8
-
A
B
D
1-8
1-7
Figure A6. 193E Framing Format
46
193E Framing Format
The 193E or Extended Superframe Format allows much greater flexibility in both the use of
the framing bits, and the number of signaling
channels provided. As shown in Figure A6, the
framing bits are divided into 3 channels. The
FPS, or Framing Pattern Sequence, provides a
synchronization signal for determining frame and
superframe alignment. The FDL, or 4 kHz Facility Data Link, provides a dedicated channel for
system messages. The CRC (Cyclic Redundancy
Check) channel allows CRC check sums to be
transmitted with each superframe to monitor line
quality. As with the 193S format, every 6th
frame is designated as a signaling frame. The 4
signaling frames (6, 12, 18, and 24) can be multiplexed in different configurations to provide 2,
4, or 16-state signaling codes.
SLC-96® Framing Format
The SLC-96® T1 format is used between the Local Digital Switch (LDS) and a SLC-96®
Remote Terminal (RT). The framing format is a
SF(D4®) superframe format with specialized
Data Link (DL) information bits. The DL bits
consist of Concentrator (C), Spoiler (S), Maintenance (M), Alarm (A) and Protection Line
Switch (PLS) bits as shown in Figure A7.
T1DM Framing Format
The T1DM T1 format is used for DDS® service
among hub and local intermediate DDS® offices.
As shown in Figure A8, the framing format is a
SF(D4®) superframe format with a specialized
channel 24 structure. The T1DM accepts up to
23 DS-0 signals and inserts one seven-bit byte
from each signal into the first twenty-three 8-bit
channel slots of the DS1 frame. The 24th channel slot contains a special synchronizing byte as
shown in Figure A9. DDS® equipment insures
that every DS0 channel contains at least one "1".
Therefore, neither B8ZS nor bit-7 zero substitution should be selcted in the CS62180B.
DS225PP2
CS62180B
SLC-96®
F-bits
Frame
FT
1
1
FS
2
Channel bits
DL
Data
Signaling
0
3
1
7
0
1-7
Bit 8 (A)
1
9
0
13
1
14
1-7
Bit 8 (B)
C2
15
16
C3
17
18
1
19
0
C4
20
1-7
Bit 8 (A)
23
24
0
25
1
26
29
30
1
31
0
35
36
49
1
1-8
A2
1
55
0
1-8
PLS3
64
1
C10
67
0
S=0
70
S=1
71
72
1-7
Bit 8 (B)
Bit 8 (B)
1-8
0
1
68
0
1-7
0
0
65
66
69
1-8
0
C9
1-8
Bit 8 (A)
S=1
62
Bit 8 (A)
1-7
PLS4
1
1
1-7
Bit 8 (B)
PLS2
53
54
63
1-7
PLS1
0
61
1
34
0
C7
C11
33
47
48
0
Bit 8 (B)
Bit 8 (A)
A1
58
1-7
1-7
M3
1
59
60
1-8
32
M2
C6
0
28
0
57
C8
27
43
56
1-8
1
22
1-8
52
C5
21
1
51
Signaling
M1
50
1-8
0
Data
S=0
46
C1
Channel bits
DL
0
41
42
45
1
11
12
1
44
1-8
1
10
37
FS
40
1
8
FT
39
0
5
6
F-bits
Frame
38
1-8
0
4
SLC-96®
1-7
Bit 8 (A)
1
1-8
1
1
0
0
1-7
Bit 8 (B)
Figure A7. SLC-96® Framing Format
T1DM
F-bits
Frame
FT
1
1
2
FS
Channel
Bits
Bit
0
3
0
4
0
5
6
1
7
0
1
8
1-7
(Bit 8 of user channels is
reserved for network use)
1
9
1
10
11
12
1
0
0
Figure A8. T1DM Framing Format
DS225PP2
0
1
2
3
4
5
6
7
Assignment
Synchronization Pattern = 1
Synchronization Pattern = 0
Synchronization Pattern = 1
Synchronization Pattern = 1
Synchronization Pattern = 1
Yellow Alarm: 0 = alarm; 1 = no alarm
8 kHz Data Link ("A" channel)
Synchronization Pattern = 0
Figure A9. T1DM Channel 24 Format
47
CS62180B
Alarms
Figure A10 shows a useful overview of the alarm
operation in a PCM link. When an intermediate
monitoring system (or central office repeater) detects a loss of signal, it transmits an all "1’s"
signal (Blue alarm, or Alarm Indication Signal)
on the line to maintain clock recovery operation
in the subsequent digital repeaters and the destination’s receiver. The same Blue alarm may be
used by the source transmitter if, for some reason, it cannot maintain normal functionality
(such as during loopback).
When the loss of signal is detected at the intermediate monitor, an internal Red alarm (also
known as a Service Alarm Indication, or Prompt
Maintenance Alarm) is generated. While in a
Red alarm mode, the monitor transmits a Yellow
alarm back to the source’s receiver, indicating a
remote loss of alignment. This Yellow alarm informs the source that there’s a problem farther
down the line and it’s transmission is not being
received at the destination.
Source
Transmit
Monitor
Blue Alarm
Blue
Alarm
Destination
Receive
Loss of
Signal = Red
Alarm
Receive
Yellow Alarm
B7 Zero Substitution
B7 zero substitution guarantees at least one "1"
in all DS0 channels. This satasfies the 12.5 %
ones density, and guarantees that more than 15
consecutive zeros will never occur. In B7 substitution systems, the 7th bit (2nd LSB) of an all
zero channel is forced to a "1". This strategy
maintains 1’s density in voice grade transmission, with negligible audible interference. The
drawback with the B7 format is that it’s impossible for the receiving end to detect and remove
the changed bits. This makes B7 zero suppression unacceptable for clear channel transmission,
in which the integrity of the data must be maintained.
B8ZS Zero Substitution
Yellow
Yellow
Alarm Digital Alarm
Repeater
Transmit
Figure A10. Alarm Operation on a T1 Link.
Zero Substitution
As was mentioned in the T1 overview, data is
transmitted over dual twisted-pair cable with
digital repeaters at 6000 ft. intervals. It is encoded in a bipolar AMI (Alternate Mark
Inversion) format. Successive "1’s" are encoded
alternately as positive and negative voltage
pulses. A zero is simply an absence of pulses.
This means that a long stream of "0’s" is indistinguishable from a dead line. Clock recovery
48
circuits in the network maintain clock synchronization by syncing to the "1’s" pulses in the
transmission stream. Synchronization may be
lost if there are too many consecutive zero’s,
hence there is a general requirement that there be
at least 12.5 % "1’s" density in the transmission
stream. Furthermore, no more than 15 consecutive "0’s" are allowable. Various zero substitution
schemes have been developed to meet these requirements. The CS62180B supports B7
and B8ZS zero suppression formats.
B8ZS (Bipolar Eight Zero Substitution) satisfies
the one’s density requirement without corrupting
transmission data. Instead of operating on individual channels, the B8ZS format looks at the
entire transmission stream. Any eight consecutive
zeros are replaced with an 8 bit code. This code
uses specific bipolar violations of the AMI format to distinguish it from the ordinary data. If
the last "1" transmitted before a string of zeros
was encoded as a positive pulse, then the B8ZS
code for the next eight bits will be 000+-0-+.
Similarly, if the last "1" was a negative pulse,
then the code will be 000-+0+-. In either case,
bipolar violations occur in the fourth and seventh
bits. These violations are decoded as a string of
DS225PP2
CS62180B
zeros by the CS62180B if B8ZS
is enabled. The received B8ZS code is replaced
with eight zeros before any other processing is
done on the incoming data. Note also that even
if B8ZS is not enabled, the CS62180B
monitors the incoming signal for B8ZS codes,
and reports them on RSR.2 (if CCR.6 = 0).
A serious provisioning problem exists in the network regarding B8ZS. It is sometimes difficult to
selectively turn-on B8ZS on all segments of an
end-to-end path through the network, especially
when some equipment types, such as M13s,
sometimes require that all four lines on a line
card be configured the same way. It is thereby
highly desireable that all receivers in the network
be able to receive B8ZS independent of the provisioning of B8ZS on the corresponding
transmitter. Therefore, the CS62180B has its
B8ZS receiver turned on all of the time, and bit
CCR.2 controls only the B8ZS encoder in the
transmitter. The CS62180B reports B8ZS occurrences on RSR.2. B8ZS substitutions will not
increment the Bipolar Violation Count register.
Digital Milliwatt Code
The Digital Milliwatt code is the digital representation of a 0 dBm0, 1 kHz signal. It’s used as
a test reference for calibrating channel bank
equipment as specified in AT&T Publication
43801.
DS225PP2
49
CS62180B
Revision
Date
PP1
May 1996
PP2
15 December 2003
Changes
Initial Release
Remove end-of-life part
Contacting Cirrus Logic Support
For a complete listing of Direct Sales, Distributor, and Sales Representative contacts, visit the Cirrus Logic web site at:
http://www.cirrus.com/
IMPORTANT NOTICE
Cirrus Logic, Inc. and its subsidiaries ("Cirrus") believe that the information contained in this document is accurate and reliable. However, the information is subject
to change without notice and is provided "AS IS" without warranty of any kind (express or implied). Customers are advised to obtain the latest version of relevant
information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale
supplied at the time of order acknowledgment, including those pertaining to warranty, patent infringement, and limitation of liability. No responsibility is assumed by
Cirrus for the use of this information, including use of this information as the basis for manufacture or sale of any items, or for infringement of patents or other rights
of third parties. This document is the property of Cirrus and by furnishing this information, Cirrus grants no license, express or implied under any patents, mask work
rights, copyrights, trademarks, trade secrets or other intellectual property rights. Cirrus owns the copyrights associated with the information contained herein and gives
consent for copies to be made of the information only for use within your organization with respect to Cirrus integrated circuits or other products of Cirrus. This consent
does not extend to other copying such as copying for general distribution, advertising or promotional purposes, or for creating any work for resale.
An export permit needs to be obtained from the competent authorities of the Japanese Government if any of the products or technologies described in this material
and controlled under the "Foreign Exchange and Foreign Trade Law" is to be exported or taken out of Japan. An export license and/or quota needs to be obtained
from the competent authorities of the Chinese Government if any of the products or technologies described in this material is subject to the PRC Foreign Trade Law
and is to be exported or taken out of the PRC.
CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL APPLICATIONS”). CIRRUS PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE
IN AIRCRAFT SYSTEMS, MILITARY APPLICATIONS, PRODUCTS SURGICALLY IMPLANTED INTO THE BODY, LIFE SUPPORT PRODUCTS OR OTHER CRITICAL APPLICATIONS (INCLUDING MEDICAL DEVICES, AIRCRAFT SYSTEMS OR COMPONENTS AND PERSONAL OR AUTOMOTIVE SAFETY OR SECURITY
DEVICES). INCLUSION OF CIRRUS PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLY AT THE CUSTOMER’S RISK AND CIRRUS DISCLAIMS AND MAKES NO WARRANTY, EXPRESS, STATUTORY OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR PARTICULAR PURPOSE, WITH REGARD TO ANY CIRRUS PRODUCT THAT IS USED IN SUCH A MANNER. IF THE CUSTOMER OR CUSTOMER’S
CUSTOMER USES OR PERMITS THE USE OF CIRRUS PRODUCTS IN CRITICAL APPLICATIONS, CUSTOMER AGREES, BY SUCH USE, TO FULLY INDEMNIFY CIRRUS, ITS OFFICERS, DIRECTORS, EMPLOYEES, DISTRIBUTORS AND OTHER AGENTS FROM ANY AND ALL LIABILITY, INCLUDING ATTORNEYS’
FEES AND COSTS, THAT MAY RESULT FROM OR ARISE IN CONNECTION WITH THESE USES.
Cirrus Logic, Cirrus, and the Cirrus Logic logo designs are trademarks of Cirrus Logic, Inc. All other brand and product names in this document may be trademarks
or service marks of their respective owners.
50
DS225PP2