IntroductionThis application note describes the differences between the DS2155 and the DS26401. The DS2155 contains both a line interface unit (LIU) and a T1/E1 framer, while the DS26401 is only a T1/E1 framer. Therefore, none of the LIU functions are present in the DS26401.
While the DS2155 is available in 1-port and 4-port devices, the DS26401 is an 8-port device. Each port in these devices is programmed and operates independently of the others.
Indirect RegistersThe DS2155 uses indirect registers for the following "per-channel" functions. The DS26401 uses direct registers for these functions. The only use of indirect registers in the DS26401 is for loading repetitive patterns, up to 512 bytes, in the BERT.
Indirect Register Function DS26401
Direct Register Comments
TerminologySome terminology in the DS26401 data sheet is different from previous T1/E1 data sheets from Dallas Semiconductor. As an example, previous data sheets used the acronym RLOS to refer to receive loss of sync. In the DS26401 data sheet RLOS more correctly refers to receive loss of signal. The table below shows the differences.
T1 and E1 Modes AIS for E1 Mode; Blue Alarm for T1 Mode
T1 and E1 Modes RAI for E1 Mode; Yellow Alarm for T1 Mode
Register MappingFor each of the 8 ports in the DS26401, most of the functions are independently programmed. Therefore, there are eight separate but identical registers for each port. In the following tables only the base address is shown for each register. The full address for each port is found by the following.
The only functions that are shared by all 8 ports are the Global and BERT Functions. The Global Function registers are GCR1, GCR2, GSR1, GSR2 and the IDR register. All addresses are shown in hexadecimal.
Direct Register MappingThe following registers in the DS2155 can be mapped directly to registers in the DS26401.
NS = not supported
Bit-Level MappingAlthough the following DS2155 registers do not have direct mappings to registers in the DS26401, this table shows how to map the individual bits of the DS2155 registers into the individual bit in the DS26401 registers.
1 = RMMR.0 & TMMR.0
2 =
3 =
4 =
5 =
6 =
7 =
1 = TIOCR.2
2 = TIOCR.0
3 = TIOCR.1
4 = RIOCR.2
5 = RIOCR.0
6 = RIOCR.1
7 = RIOCR.3
1 = TIOCR.4
2 = RIOCR.5
3 = TIOCR.5
4 = TIOCR.4
5 = RIOCR.6
6 = TIOCR.7
7 = RIOCR.7
1 = RCR1.1
2 = RCR1.7
3 = RCR1.3
4 = RCR2.2
5 = RCR2.3
6 = RCR1.4
7 =
1 = RCR1.2
2 = NS *
3 = NS **
4 = RCR2.4
5 = RCR1.6
6 = RCR1.5
7 =
* ZBTSI not supported in the DS26401
** Information available in the HDLC section
1 = TCR1.1
2 = TCR2.7
3 = TCR1.3
4 = TCR1.4
5 = TCR1.5
6 = TCR1.6
7 = TCR1.7
1 = NS *
2 = TCR2.2
3 = TCR2.3
4 = TCR2.4
5 = NS **
6 = TCR2.6
7 = TCR1.2
* ZBTSI not supported in the DS26401
Information available in the HDLC section
1 = TCR2.1
2 = TCR3.2
3 = TCR4.2
4 = TCR4.3
5 =
6 =
7 =
1 = RLS2.1 *
2 = RLS2.2 *
3 = RLS2.3 *
4 = RLS2.4 *
5 = RLS2.5 *
6 = TLS1.3 *
7 = RLS2.7 *
* T1 Mode Only
1 = NS *
2 = NS *
3 = NS *
4 = NS *
5 = NS *
6 = NS **
7 = BER.0 ***
* LIU functions are not supported
** Specific BOC function not supported
*** Information available in BERT section
1 = RLS2.4 *
2 = RLS2.6 *
3 =
4 =
5 =
6 =
7 =
* E1 Mode Only
1 = NS *
2 = NS *
3 = NS *
4 = NS *
5 = RLS4.3
6 = RLS4.1
7 = NS *
* LIU functions are not supported
1 = NS *
2 = NS *
3 = NS *
4 = NS *
5 = RIM4.3
6 = RIM4.1
7 = NS *
* LIU functions are not supported
1 = RLS1.1 **
2 = RLS1.2
3 = RLS1.3 ***
4 = RLS1.4
5 = RLS1.5
6 = RLS1.6
7 = RLS1.7 ***
* The DS2155 data sheet used the acronym RLOS (Receive Loss of Synchronization) to refer to RLOF (Receive Loss of Frame)
** The DS2155 data sheet used the acronym RCL (Receive Carrier Loss) to refer to RLOS (Receive Loss of Signal)
*** T1 Mode Only
1 = RIM1.1
2 = RIM1.2
3 = RIM1.3
4 = RIM1.4
5 = RIM1.5
6 = RIM1.6
7 = RIM1.7
1 = RLS3.0 **
2 = RLS3.1 **
3 = RLS3.3 **
4 = TLS1.0 **
5 = RLS3.0 **
6 = RLS3.1 **
7 = RLS3.2 **
* E1 Mode Only
** The DS26401 uses separate interrupt clear bits, while the DS2155 uses a double polled interrupt bit
DS26401 interrupt and clear bits
RLS3.0
RLS3.1
RLS3.3
TLS1.0
RLS3.0
RLS3.1
RLS3.2 DS26401 Clear
RLS1.7
RLS3.5
RLS3.7
TLS1.1
RLS1.4
RLS1.5
RLS1.6
1 = RIM3.1
2 = RIM3.2
3 = RIM3.3
4 = RIM1.4
5 = RIM3.5
6 = RIM3.6
7 = RIM3.7
1 = RLS2.1
2 = RLS4.0
3 = TLS1.3
4 = TLS1.2
5 = RLS2.2
6 = RLS2.3
7 = RLS7.4
1 = RIM2.1
2 = RIM4.0
3 = TIM1.3
4 = TIM1.1
5 = RIM2.2
6 = RIM2.3
7 = RIM7.4
1 = RLS4.6
2 = RLS4.7
3 = TLS1.5
4 = TLS1.6
5 = TLS1.7
6 =
7 =
1 = RIM2.1
2 = RIM4.0
3 = TIM1.3
4 = TIM1.2
5 = RIM2.2
6 =
7 =
1 = NS *
2 = TLS2.4
3 = RLS7.2
4 = NS *
5 = RLS7.1
6 =
7 =
1 =
2 = TIM2.4
3 = RIM7.2
4 = TIM1.2
5 = RIM7.1
6 =
7 =
1 = RRTS7.1
2 = RRTS7.0
3 = RRTS7.3
4 = RRTS7.4
5 = RRTS7.5
6 = RRTS7.6
7 = RRTS7.7
1 = RCR1.1
2 = RCR1.2
3 = RCR1.3
4 = RCR1.4
5 = RCR1.6
6 = RCR1.5
7 = RCR3.5
1 =
2 = NS *
3 = NS *
4 = NS *
5 = NS *
6 = NS *
7 = NS * * The RLINK and RLCLK functions are not supported on the DS26401
1 = TCR1.5
2 = TCR1.2
3 = TCR1.3
4 = TCR1.4
5 = TCR1.1
6 = TCR1.6
7 = TCR1.7
1 = TCR2.6
2 = TCR2.7
3 = NS *
4 = NS *
5 = NS *
6 = NS *
7 = NS *
* The TLINK and TLCLK functions are not supported on the DS26401
1 = RBOCC.1
2 = RBOCC.2
3 = RBOCC.7
4 = NS *
5 =
6 =
7 =
* The DS26401 has a dedicated receieve BOC message register
1 =
2 =
3 = RSIGC.2
4 = RSIGC.1
5 =
6 =
7 = NS **
* The DS26401 forces signaling to all ones on a per channel basis using the RSAOI1 - RSAOI4 registers
** THe DS26401 selects signaling re-insertion on a per channel basis using the SRI1 - SRI4 registers
1 = ERCNT.1
2 = ERCNT.2
3 = ERCNT.0
4 = ERCNT.3
5 = ERCNT.4
6 = ERCNT.5
7 = -
* T1 Mode
** E1 Mode
1 = RCR3.1
2 = RCR3.2
3 = NS *
4 = NS *
5 = -
6 = -
7 = -
* LIU functions are not supported
1 = RESCR.1
2 = RESCR.2
3 = RESCR.3
4 = TESCR.0
5 = TESCR.1
6 = TESCR.2
7 = TESCR.3
1 = TCR3.4
2 = TCR3.5
3 = NS *
4 = TCR3.6
5 = RSIGC.0
6 = TCR3.0
7 = NS *
* The DS26401 does not use Indirect Registers
** LIU functions are not supported
1 = GCR2.4
2 = GCR2.5
3 =
4 =
5 =
6 =
7 =
1 = RESCR.7
2 = TESCR.6
3 = TESCR.7
4 =
5 =
6 = GCR1.0
7 = NS *
* Unsupported function in the DS26401
1 = NS *
2 = NS *
3 = NS *
4 = NS **
5 = NS **
6 = NS **
7 = NS **
* The DS26401 does not have user definable output pins
** LIU functions are not supported
1 = RIBCC.1
2 = RIBCC.2
3 = RIBCC.3
4 = RIBCC.4
5 = RIBCC.5
6 = TCR4.0
7 = TCR4.1
1 = RSCC.1
2 = RSCC.2
3 =
4 =
5 =
6 =
7 =
084
188 Function
Receive IBO Control
Transmit IBO Control
HDLC ControllerThe DS26401 has a single HDLC controller that may be mapped to any time slot or to the FDL (T1 mode) or any combinations of Sa bits (E1 mode). The table below list the differences between the DS2155's and the DS26401's HDLC function.
Facilities Data Link bit stream;
Any combination of Sa bits Any single DS0;
Facilities Data Link bit stream;
Any combination of Sa bits
2155 BIT = 26401 REG. BIT COMMENTS
1 =
2 =
3 =
4 =
5 =
6 = RHC1.5
7 = RHC1.6 * The DS26401 does not have support for Signaling System 7 (SS7)
1 = THC1.1
2 = THC1.2
3 = THC1.3
4 = THC1.4
5 = THC1.5
6 = THC1.6
7 = THC1.7
1 = RHFC.1
2 = NS *
3 = THFC.0
4 = THFC.1
5 = NS *
6 =
7 = * The HDLC FIFO is only 64 bytes deep on the DS26401
The DS26401 can only receive HDLC data in a single DSO channel
The DS26401 can only transmit HDLC data in a single DSO channel
RHPBA
THF
RHF
TFBA
BERT FunctionsThe DS26401 BERT functions are more full featured than the DS2155, therefore a direct register mapping is not possible. The DS26401 pseudorandom patterns are fully programmable over 32 bits compared to the fixed set of pseudorandom patterns found in the DS2155. Also, large repetitive patterns up to 512 bytes may be loaded via an indirect register. The BERT register set for the DS2155 is below but the DS26401 data sheet should be consulted for all BERT functions.
Featured Exclusive to the DS26401The DS26401 has many new features, which are summarized below.
Transmit-Side SynchronizerThe DS26401 has a basic synchronizer on the transmit side. This function allows the transmitter to align to the data stream present at TSER when there is no externally supplied frame sync signal available.
TSYNCC.0: Resynchronize (RESYNC). When toggled from low to high, a resynchronization of the transmit side framer is initiated. Must be cleared and set again for a subsequent resync.
TSYNCC.1: Sync Enable (SYNCE)
0 = Automatic resync enabled
1 = Automatic resync disabled
TSYNCC.2: Transmit Synchronizer Enable (TSEN)
0 = Transmit-Side Synchronizer Disabled
1 = Transmit-Side Synchronizer Enabled
TLS3.0: Loss-of-Frame Synchronization Detect (LOFD). This is a latched bit which is set when the transmit synchronizer is searching for the sync pattern in the incoming data stream.
TLS3.1: Loss of Frame (LOF). A real-time status bit which indicates that the transmit side synchronizer is searching for the synchronization pattern in the incoming data stream.
Other Functions Exclusive to the DS26401A low-to-high transition on this bit latches the framer performance monitor counters, and the internal BERT counters (only when enabled). Each framer as well as the BERT can be independently enabled to accept this input. Must be cleared and set again to perform another counter latch.
GCR1.2: Bulk Write Enable (BWE). When this bit is set, a port write to one of the octal ports will be mapped into all eight ports. Useful for device initialization.
0 = Normal operation
1 = Bulk write is enabled
GCR1.3: Reference Clock Frequency Select (REFCLKS). This bit sets the divider ratio of the internal clock generator depending on the frequency of the reference clock input.
0 = REF_CLK is 1.544MHz
1 = REF_CLK is 2.048MHz
GCR1.4: Ganged IBO Enable (GIBO). This bit is used to select either the internal MUX for IBO operation or externally "wire-or" operation. Normally this bit should be set = 0 and the internal MUX used.
0 = Use internal IBO mux.
1 = Externally "wire-or" TSER pins and RSER pins for IBO operation.
GCR1.5: Receive Loss-of-Frame/Loss-of-Transmit Clock indication Select (RLOFLTS)
0 = RLOF/LOTCx pins indicate receive loss of frame
1 = RLOF/LOTCx pins indicate loss of transmit clock
GCR1.6: BERT Loss-of-Sync Interrupt Mask (BLOSIM)
0 = DS26401 will not generate an interrupt on INT for a BERT LOS
1 = DS26401 will generate an interrupt on INT for a BERT LOS
GCR1.7: BERT Bit Error Detect Interrupt Mask (BBEDIM)
0 = DS26401 will not generate an interrupt on INT for a BERT bit error detect
1 = DS26401 will generate an interrupt on INT for a BERT bit error detect
GCR2. 0: Receive Channel Block/Clock Select (RCBCS)
This bit controls the function of all eight RCHBLK/CLK pins.
0 = RCHBLK/CLK pins output RCHBLK(1-8) (Receive Channel Block)
1 = RCHBLK/CLK pins output RCHCLK(1-8) (Receive Channel Clock)
GCR2.1: Transmit Channel Block/Clock Select (TCBCS).
This bit controls the function of all eight TCHBLK/CLK pins.
0 = TCHBLK/CLK pins output TCHBLK(1-8) (Transmit Channel Block)
1 = TCHBLK/CLK pins output TCHCLK(1-8) (Transmit Channel Clock)
GCR2.2: Receive Frame/Multiframe Sync Select (RFMSS).
This bit controls the function of all eight RF/RMSYNC pins.
0 = RF/RMSYNC pins output RFSYNC(1-8) (Receive Frame Sync)
1 = RF/RMSYNC pins output RMSYNC(1-8) (Receive Multiframe Sync)
GCR2.3: Receive Loss-of-Signal/Signaling Freeze Select (RLOSSFS). This bit controls the function of all eight RLOS/RSIGF pins.
0 = RLOS/RSIGF pins output RLOS(1-8) (receive loss of signal)
1 = RLOS/RSIGF pins output RSIGF(1-8) (receive signaling freeze)
GCR2.6 and GCR2.7: Interleave Bus Operation Mode Select 0-1 (IBOMS0/1). These bits determine the configuration of the IBO (interleaved bus) multiplexer. These bits should be with the Rx and Tx IBO control registers within each of the framer units. Additional information concerning the IBO mux is given in the data sheet.
RCR.1: Receive RAI Integration Enable (RAIIE). In T1 ESF mode, the RAI indication can be interrupted for a period not to exceed 100ms per interruption as stated in ANSI T1.403. In T1 ESF mode, setting RAIIE will cause the RAI status from the DS26401 to be integrated for 200ms.
0 = RAI detects when 16 consecutive patterns of 00FF appear in the FDL. RAI clears when 14 or less patterns of 00FF hex out of 16 possible appear in the FDL
1 = RAI detects when the condition has been present for greater than 200ms. RAI clears when the condition has been absent for greater than 200ms.
RCR3.7: Input Data Format (IDF)
0 = Bipolar data is expected at RPOS and RNEG (either AMI or B8ZS)
1 = NRZ data is expected at RPOS. The BPV counter will be disabled and RNEG will be ignored by the DS26401.
RRTS1.0: Receive Loss-of-Frame Condition (RLOF). Set when the DS26401 is not synchronized to the received data stream.
RRTS1.1: Receive Loss-of-Signal Condition (RLOS). Set when 255 (or 2048 if RCR2.0 = 1) consecutive zeros have been detected at RPOS and RNEG.
RRTS1.2: Receive Alarm Indication Signal Condition (RAIS). Set when an unframed all one's code is received at RPOS and RNEG.
RRTS1.3: Receive Remote Alarm Indication Condition (RRAI). Set when a remote alarm is received at RPOS and RNEG.
RRTS3.0:(T1 MODE) Loop-Up Code Detected Condition (LUP). Set when the loop-up code as defined in the RUPCD1/2 register is being received.
RRTS3.0:(E1 MODE) Receive Distant MF Alarm Condition (RDMA). Set when bit-6 of time slot 16 in frame 0 has been set for two consecutive multiframes. This alarm is not disabled in the CCS signaling mode.
RRTS3.1:(T1 MODE) Loop-Down Code Detected Condition (LDN). Set when the loop-down code as defined in the RDNCD1/2 register is being received.
RRTS3.1: (E1 MODE) V5.2 Link Detected Condition (V52LNK). Set on detection of a V5.2 link identification signal (G.965).
RRTS3.2: Spare Code Detected Condition (LSP). Set when the spare code as defined in the RSCD1/2 registers is being received.
RRTS3.3: Loss-of-Receive Clock Condition (LORC). Set when the RCLK pin has not transitioned for one channel time.
RLS4.2: One-Second Timer (1SEC). Set every one-second interval based on RCLK.
RLS7.3: Receive SLC-96 Alignment Event (RSLC96). Set when a valid SLC-96 alignment pattern is detected in the Fs bit stream, and the RSLCx registers have data available for retrieval. (Section 11.12)
RLS7.5: Receive RAI-CI Detect (RRAI-CI). Set when an RAI-CI pattern has been detected by the receiver (see Section 11.5.1). This bit is active in ESF framing mode only, and will set only if an RAI condition is being detected (RRTS1.3). When the host reads (and clears) this bit, it will set again each time the RAI-CI pattern is detected (approximately every 1.1 seconds).
ERCNT.6: Manual Counter Update Select (MCUS). When manual update mode is enabled with EAMS, this bit can be used to allow the GLCE bit in GCR1 to latch all counters. Useful for synchronously latching counters of multiple framers.
0 = MECU is used to manually latch counters.
1 = GLCE is used to manually latch counters.
ERCNT.7: One-Second Select (1SECS). When timed update is enabled by EAMS, setting this bit for a specific framer will allow that framer's counters to latch on the 1 second reference from framer #1. Note that this bit should always be clear for framer #1.
0 = Use internally generated 1 second timer.
1 = Use 1 second timer from framer #1.
RESCR.4: Receive Slip Zone Select (RSZS). This bit determines the minimum distance allowed between the elastic store read and write pointers before forcing a controlled slip. This bit is only applies during T1 to E1 or E1 to T1 conversion applications.
0 = force a slip at 9 bytes or less of separation (used for clustered blank channels)
1 = force a slip at 2 bytes or less of separation (used for distributed blank channels)
RBOCC.4 to RBOCC.5: Receive BOC Disintegration bits (RBD0, RBD1). The BOC Disintegration filter sets the number of message bits that must be received without a valid BOC in order to set the BC bit indicating that a valid BOC is no longer being received.
BOC CLEAR IDENTIFICATION
TCR3.1: Insert BPV (IBPV). A 0-to-1 transition on this bit will cause a single bipolar violation (BPV) to be inserted into the transmit data stream. Once this bit has been toggled from a 0 to a 1, the device waits for the next occurrence of three consecutive ones to insert the BPV. This bit must be cleared and set again for a subsequent error to be inserted.
TIOCR.3: TSSYNC Mode Select (TSSM). Selects frame or multiframe mode for the TSSYNC pin.
0 = frame mode
1 = multiframe mode
TLS1.4: Transmit SLC96 Multiframe Event (TSLC96). When enabled by TCR2.6, this bit will set once per SLC96 multiframe (72 frames) to alert the host that new data may be written to the TSLC1-TSLC3 registers.
TESCR.4: Transmit Slip Zone Select (TSZS). This bit determines the minimum distance allowed between the elastic store read and write pointers before forcing a controlled slip. This bit only affects the elastic stores when used in T1 to E1 or E1 to T1 conversion applications.
0 = force a slip at 9 bytes or less of separation (used for clustered blank channels)
1 = force a slip at 2 bytes or less of separation (used for distributed blank channels)
For More InformationDownload the DS2155 and DS26401 data sheets on our website at www.maxim-ic.com/telecom.
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)