• Simple serial interface used for configuration, control
and status monitoring in “processor” mode
• “Hardware” mode requires no host processor; in-
tended for stand-alone applications
• Selectable 0, 2, 4, 16 state robbed bit signaling modes
• Allows mix of “clear” and “non-clear” DS0 channels on
same DS1 link
• Alarm generation and detection
• Receive error detection and counting for transmission
performance monitoring
• 5V supply, low-power CMOS technology
• Surface mount package available, designated
DS2180AQ
• Industrial temperature range of -40°C to +85°C avail-
able, designated DS2180AN or DS2180AQN
• Compatible to DS2186 Transmit Line Interface,
DS2187 Receive Line Interface, DS2188 Jitter Attenuator, DS2175 T1/CEPT Elastic Store, DS2290 T1
Isolation Stik, and DS2291 T1 Long Loop Stik
DESCRIPTION
The DS2180A is a monolithic CMOS device designed to
implement primary rate (1.544 MHz) T -carrier transmission systems. The 193S framing mode is intended to
support existing Ft/Fs applications (12 frames/superframe). The 193E framing mode supports the extended
superframe format (24 frames/superframe). Clear
channel capability is provided by selection of appropriate zero suppression and signaling modes.
Copyright 1995 by Dallas Semiconductor Corporation.
All Rights Reserved. For important information regarding
patents and other intellectual property rights, please refer to
Dallas Semiconductor data books.
041995 1/36
DS2180A
Several functional blocks exist in the transceiver. The
transmit framer/formatter generates appropriate framing bits, inserts robbed bit signaling, supervises zero
suppression, generates alarms, and provides output
clocks useful for data conditioning and decoding.
The receive synchronizer establishes frame and multiframe boundaries by identifying frame signaling bits, extracts signaling data, reports alarms and transmission
errors, and provides output clocks useful for data conditioning and decoding.
The control block is shared between transmit and receive sides. This block determines the frame, zero sup-
DS2180A BLOCK DIAGRAM Figure 1
TMSYNC
TFSYNC
TCLK
TLCLK
TLINK
TSER
TABCD
Transmit
Timing
F-Bit
Data
Yellow
Alarm
pression, alarm and signaling formats. User access to
the control block is by one of two modes.
In the processor mode, pins 14 through 18 are a microprocessor/microcontroller-compatible serial port which
can be used for device configuration, control and status
monitoring.
In the hardware mode, no offboard processor is required. Pins 14 through 18 are reconfigured into “hardwired” select pins. Features such as selection “clear”
DS0 channels, insertion of idle code and alteration of
sync algorithm are unavailable in the hardware mode.
1TMSYNCITransmit Multiframe Sync. May be pulsed high at multiframe boundaries
2TFSYNCITransmit Frame Sync. Rising edge identifies frame boundary; may be
3TCLKITransmit Clock. 1.544 MHz primary clock.
4TCHCLKOTransmit Channel Clock. 192 KHz clock which identifies time slot (channel)
5TSERITransmit Serial Data. NRZ data input, sample on falling edge of TCLK.
6TMOOTransmit Multiframe Out. Output of internal multiframe counter indicates
7TSIGSELOTransmit Signaling Select. .667 KHz clock which identifies signaling frame
8TSIGFROTransmit Signaling Frame. High during signaling frames, low otherwise.
9TABCDITransmit ABCD Signaling. When enabled via TCR.4, sampled during
10TLINKIT ransmit Link Data. Sampled during the F-bit time (falling edge of TCLK) of
11TLCLKOTransmit Link Clock. 4 KHz demand clock for TLINK input.
12
13
TPOS
TNEG
to reinforce multiframe alignment or tied low, which allows internal multiframe
counter to free run.
pulsed every frame to reinforce internal frame counter or tied low (allowing
TMSYNC to establish frame and multiframe alignment).
boundaries. Useful for parallel-to-serial conversion of channel data.
multiframe boundaries. 50% duty cycle.
A and C in 193E framing. 1.33 KHz clock in 193S.
channel LSB time in signaling frames on falling edge of TCLK.
odd frames for insertion into the outgoing data stream (193E-FDL insertion).
Sampled during the F-bit time of even frames for insertion into the outgoing
data (193S-External S-Bit insertion).
OTransmit Bipolar Data Outputs. Updated on rising edge of TCLK.
DS2180A
PORT PIN DESCRIPTION (40–PIN DIP ONLY) Table 2
PINSYMBOLTYPEDESCRIPTION
14INT
1
OReceive Alarm Interrupt. Flags host controller during alarm conditions. Ac-
tive low, open drain output.
15SDI
16SDO
1
1
ISerial Data In. Data for onboard registers. Sampled on rising edge of SCLK.
OSerial Data Out. Control and status information from onboard registers. Up-
dated on falling edge of SCLK, tri-stated during serial port write or when CS
is high.
17CS
18SCLK
1
1
IChip Select. Must be low to write or read the serial port registers.
ISerial Data Clock. Used to write or read the serial port registers.
19SPSISerial Port Select. T ie to VDD to select serial port. Tie to VSS to select hard-
ware mode.
NOTE:
1. Multifunction pins. See “Hardware Mode Description.”
041995 3/36
DS2180A
POWER AND TEST PIN DESCRIPTION (40–PIN DIP ONLY) Table 3
PINSYMBOLTYPEDESCRIPTION
20V
SS
–Signal Ground. 0.0 volts.
32TESTITest Mode. T ie to VSS for normal operation.
40V
DD
–Positive Supply. 5.0 volts.
RECEIVE PIN DESCRIPTION (40–PIN DIP ONLY) Table 4
PINSYMBOLTYPEDESCRIPTION
21RYELOReceive Yellow Alarm. Transitions high when yellow alarm detected, goes
22RLINKOReceive Link Data. Updated with extracted FDL data one RCLK before start
23RLCLKOReceive Link Clock. 4 KHz demand clock for RLINK.
24RCLKIReceive Clock. 1.544 MHz primary clock.
25RCHCLKOReceive Channel Clock. 192 KHz clock identifies time slot (channel) bound-
26RSEROReceive Serial Data. Received NRZ serial data, updated on rising edges of
29RABCDOReceive ABCD Signaling. Extracted signaling data output, valid for each
30RSIGFROReceive Signaling Frame. High during signaling frames, low during resync
31RSIGSELOReceive Signaling Select. In 193E framing a .667 KHz clock which identi-
33RSTIReset. A high-low transition clears all internal registers and resets receive
34
35
RPOS
RNEG
36RCLOReceive Carrier Loss. High if 32 consecutive 0’s appear at RPOS and
37RBVOReceive Bipolar Violation. High during accused bit time at RSER if bipolar
38RFEROReceive Frame Error. High during F-Bit time when FT or FS errors occur
39RLOSOReceive Loss of Sync. Indicates sync status; high when internal resync is
low when alarm clears.
of odd frames (193E) and held until next update. Updated with extracted S-bit
data one RCLK before start of even frames (193S) and held until next update.
aries.
RCLK.
Bit position in each frame.
of multiframe, 50% duty cycle.
channel time in signaling frames. In non-signaling frames, RABCD outputs
the LSB of each channel word.
and non-signaling frames.
fies signaling frames A and C. A 1.33 KHz clock in 193S.
side counters. A high-low-high transition will initiate a receive resync.
Receive Bipolar Data Inputs. Samples on falling edge of RCLK. Tie togeth-
er to receive NRZ data and disable bipolar violation monitoring circuitry.
I
RNEG; goes low after next 1.
violation detected, low otherwise.
(193S) or when FPS or CRC errors occur (193E). Low during resync.
in progress, low otherwise.
041995 4/36
REGISTER SUMMARY Table 5
REGISTER ADDRESST/R
RSR0000R2Receive Status Register. Reports all receive alarm conditions.
RIMR0001RReceive Interrupt Mask Register. Allows masking of individual alarm-gen-
BVCR0010RBipolar Violation Count Register. 8-bit presettable counter which records
ECR0011RError Count Register. Two independent 4-bit counters which record OOF
3
CCR
RCR
TCR
TIR1
TIR2
TIR3
TTR1
TTR2
TTR3
RMR1
RMR2
RMR3
3
3
0100T/RCommon Control Register. Selects device operating characteristics com-
0101RReceive Control Register. Programs device operating characteristics
0110TTransmit Control Register. Selects additional transmit side modes.
0111
1000
1001
1010
1011
1100
1101
1110
1111
1
DESCRIPTION/FUNCTION
erated interrupts.
individual bipolar violations.
occurrences and individual frame bit or CRC errors.
mon to receive and transmit sides.
unique to the receive side.
T
Transmit Idle Registers. Designate which outgoing channels are to be substituted with idle code.
T
T
T
Transmit Transparent Registers. Designate which outgoing channels are
to be treated transparently. (No robbed bit signaling or bit 7 zero insertion.)
T
T
R
Receive Mark Registers. Designate which incoming channels are to be replaced with idle or digital milliwatt codes (under control of RCR).
R
R
DS2180A
NOTES:
1. Transmit or receive side register .
2. RSR is a read only register; all other registers are read/write.
3. Reserved bit locations in the control registers should be programmed to 0 to maintain compatibility with future
transceiver products.
SERIAL PORT INTERFACE
Pins 14 through 18 of the DS2180A serve as a microprocessor/microcontroller-compatible serial port. Sixteen
onboard registers allow the user to update operational
characteristics and monitor device status via host controller, minimizing hardware interfaces. Port read/write
timing is unrelated to the system transmit and receive
timing, allowing asynchronous reads and/or writes by
the host.
ADDRESS/COMMAND
Reading or writing the control, configuration or status
registers requires writing one address command byte
prior to transferring register data. The first bit written
(LSB) of the address/command word specifies register
read or write. The following 4-bit nibble identifies regis-
ter address. The next two bits are reserved and must be
set to 0 for proper operation. The last bit of the address/
command word enables burst mode when set; the burst
mode causes all registers to be consecutively written or
read.
Data is written to and read from the transceiver
LSB first.
CHIP SELECT AND CLOCK CONTROL
All data transfers are initiated by driving the CS input
low. Input data is latched on the rising edge of SCLK and
must be valid during the previous low period of SCLK to
prevent momentary corruption of register data during
Data is output on the falling edge of SCLK and
writes.
held on the next falling edge. All data transfers are terminated if the CS input transitions high. Port control logic is
disabled and SDO is tri-stated when CS is high.
041995 5/36
DS2180A
DATA I/O
Following the eight SCLK cycles that input an address/
command byte to write, a data byte is strobed into the
addressed register on the rising edges of the next eight
SCLK cycles. Following an address/command word to
read, contents of the selected register are output on the
falling edges of the next eight SCLK cycles. The SDO
pin is tri-stated during device write and may be tied to
BURST MODE
The burst mode allows all onboard registers to be consecutively read and written by the host processor. A
burst read is used to poll all registers; RSR contents will
be unaffected. This feature minimizes device initialization time on power-up or system reset. Burst mode is initiated when ACB.7 is set and the address nibble is 0000.
Burst is terminated by a low-high transition on CS
SDI in applications where the host processor has a bidirectional I/O pin.
ACB: ADDRESS COMMAND BYTE Figure 2
(MSB)(LSB)
BM
SYMBOLPOSITIONNAME AND DESCRIPTION
BMACB.7Burst Mode. If set (and ACB.1 through ACB.4=0) burst read or write is en-
–ACB.6Reserved, must be 0 for proper operation.
–ACB.5Reserved, must be 0 for proper operation.
ADD3ACB.4MSB of register address.
ADD0ACB.1LSB of register address.
0 = Detected B8ZS code words reported at RSR.2.
1 = COFA (Change-of-Frame Alignment) reported at RSR.2 when last resync resulted in change of frame or multiframe alignment.
EYELMDCCR.5193E Yellow Mode Select.
0 = Y ellow alarm is a repeating pattern set of 00 hex and FF hex.
1 = Y ellow alarm is a 0 in the bit 2 position of all channels.
SYELMDCCR.3193S Yellow Mode Select. Determines yellow alarm type to be transmitted
and detected while in 193S framing. If set, yellow alarms are a 1 in the S-bit
position of frame 12; if cleared, yellow alarm is a 0 in bit 2 of all channels.
Does not affect 193E yellow alarm operation.
B8ZSCCR.2Bipolar eight zero substitution.
0 = No B8ZS.
1 = B8ZS enabled.
(Note: This bit must be set to 0 when CCR.1=1)
B7CCR.1Bit seven zero suppression. If CCR.1=1, channels with an all zero con-
tent will be transmitted with bit 7 forced to 1. If CCR.1=0, no bit 7 stuffing
occurs.
(Note: This bit must be set to 0 when CCR.2=1)
LPBKCCR.0Loopback. When set, the device internally loops output transmit data into
the incoming receive data buffers and TCLK is internally substituted for
RCLK.
DS2180A
LOOPBACK (Refer to Figure 4)
Enabling loopback will typically induce an out-of-frame
(OOF) condition. If appropriate bits are set in the receive
control register, the receiver will resync to the looped
transmit frame alignment. During the looped condition,
the transmit outputs (TPOS, TNEG) will transmit unframed all 1’s. All operating modes (B8ZS, alarm,
signaling, etc.) except for blue alarm transmission are
available in loopback.
BIT SEVEN STUFFING
Existing systems meet 1’s density requirements by forcing bit 7 of all zero channels to 1. Bit 7 stuffing is globally
enabled by asserting bit CCR.1 and may be disabled on
an individual channel basis by setting appropriate bits in
TTR1–TTR3. Bit 7 stuffing and B8ZS modes should not
be enabled simultaneously. Enabling both results in
LOS.
041995 7/36
DS2180A
B8ZS
The DS2180A supports existing and emerging zero
suppression formats. Selection of B8ZS coding maintains system 1’s density requirements without disturbing data integrity as required in emerging clear channel
applications. B8ZS coding replaces eight consecutive
outgoing 0’s with a B8ZS code word. Any received
B8ZS code word is replaced with all 0’s. B8ZS and bit 7
stuffing modes should not be enabled simultaneously.
Enabling both results in LOS.
TCR: TRANSMIT CONTROL REGISTER Figure 5
(MSB)(LSB)
ODFTFPTTCPRBSETIS193SITBLTYEL
SYMBOLPOSITIONNAME AND DESCRIPTION
ODFTCR.7Output Data Format.
TFPTTCR.6Transmit Framing Pass-through.
TCPTCR.5Transmit CRC Pass-through.
RBSETCR.4Robbed Bit Signaling Enable.
TISTCR.3Transmit Idle Code Select. Determines idle code format to be inserted
193SITCR.2193S S-bit Insertion. Determines source of transmitted S-bit.
TBLTCR.1Transmit Blue Alarm.
TYELTCR.0Transmit Yellow Alarm.
0 = Bipolar data at TPOS and TNEG.
1 = NRZ data at TPOS; TNEG=0.
0 = FT/FPS sourced internally.
1 = FT/FPS sampled at TSER during F-bit time.
0 = Transmit CRC code internally generated.
1 = TSER sampled at CRC F-bit time for external CRC insertion.
1 = Signaling inserted in all channels during signaling frames.
0 = No signaling inserted. (The TTR registers allow the user to disable
signaling insertion on selected DS0 channels.)
into channels marked by the TIR registers.
0 = Insert 7F (Hex) into marked channels.
1 = Insert FF (Hex) into marked channels.
The blue alarm (also known as the AIS, Alarm Indication
Signal) is an unframed, all 1’s sequence enabled by asserting TCR.1. Blue alarm overrides all other transmit
data patterns and is disabled by clearing TCR.1. Use of
the TIR registers allows a framed, all 1’s alarm transmission if required by the network.
041995 8/36
TRANSMIT YELLOW ALARM
In 193E framing, a yellow alarm is a repeating pattern
set of FF(Hex) and 00 (Hex) on the 4 KHz facility data
link (FDL). In 193S framing the yellow alarm format is
dependent on the state of bit CCR.3. In all modes, yellow alarm is enabled by asserting TCR.0 and disabled
by clearing TCR.0.
DS2180A
TRANSMIT SIGNALING
When enabled (via TCR.4) channel signaling is inserted
in frames 6 and 12 (193S) or in frames 6, 12, 18 and 24
(193E) in the 8th bit position of every channel word.
Signaling data is sampled at T ABCD on the falling edge
of TCLK during bit 8 of each input word during signaling
frames. Logical combination of clocks TMO, TSIGFR
and TSIGSEL allows external multiplexing of separate
serial links for A, B or A, B, C, D signaling sources.
CH24TIR3.7Transmit Idle Registers. Each of these bit positions represents a DS0
CH1TIR1.0channel in the outgoing frame. When set, the corresponding channel will
TRANSMIT CHANNEL TRANSPARENCY
Individual DS0 channels in the T1 frame may be programmed clear (no inserted robbed bit signaling and no
bit 7 zero suppression) by setting the appropriate bits in
the transmit transparency registers. Channel transparency is required in mixed voice/data or data-only environments such as ISDN, where data integrity must be
maintained.
output an idle code format determined by TCR.2.
TRANSMIT IDLE CODE INSERTION
Individual outgoing channels in the frame can be programmed with idle code by asserting the appropriate
bits in the transmit idle registers. One of two idle code
formats, 7F (Hex) and FF (Hex) may be selected by the
user via TCR.3. If enabled, robbed bit signaling data is
inserted into the idle channel, unless the appropriate
TTR bit is set for that channel. This feature eliminates
external hardware currently required to intercept and
stuff unoccupied channels in the DS1 bit stream.
041995 9/36
DS2180A
TRANSMIT INSERTION HIERARCHY Figure 8
TSERTLINKTABCD
F-BIT
TSER
TSER
TSER + ABCD
+ B7
Y
Y
TSER + ABCD
B7 STUFF
TSER + ABCDTSER + B7
193S YELLOW ALARM – B2 STUFF
YY
IDLE
N
TSER
CLEAR
N
TSER
SIG
N
TSER
B7 STUFF
NN
TSER
Y
IDLE
CLEAR
N
IDLE
SIG
N
IDLEIDLE + ABCD
Y
IDLE
Y
041995 10/36
B8ZS
BLUE or LPBK
TPOS, TNEG
193S TRANSMIT MULTIFRAME TIMING Figure 9
DS2180A
FRAME #
TFSYNC
TMSYNC
1
TMO
TSIGSEL
TSIGFR
TLCLK
TABCD
3
TLINK
1
2
123 4567 891011121 23 45612
BABA
NOTES:
1. Transmit frame and multiframe timing may be established in one of four ways:
a. With TFSYNC tied low, TMSYNC may be pulsed high once every multiframe period to establish multiframe
boundaries, allowing internal counters to determine frame timing.
b. TFSYNC may be pulsed every 125 microseconds; pulsing TMSYNC once establishes multiframe bound-
aries.
c. TMSYNC and TFSYNC may be continuously pulsed to establish and reinforce frame and superframe tim-
ing.
d. If TMSYNC is tied low and TFSYNC is pulsed at frame boundaries, the transmitter will establish an arbi-
trary multiframe boundary as indicated by TMO.
2. Channels in which robbed bit signaling is enabled will sample TABCD during the LSB bit time in frames indi-
cated.
3. When external S-bit insertion is enabled, TLINK will be sampled during the F-bit time of even frames and in-
serted into the outgoing data stream.
041995 11/36
Loading...
+ 25 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.