ENGLISH 简体中文 日本語 한국어  


应用笔记3208

Elastic Store Operation

Abstract: The elastic store inside of Dallas Semiconductor T1, E1, and J1 devices serves as a dual port buffer between the line side and the system side of the device. It allows the two sides to operate in different clock domains or even at different frequencies. The nature of the elastic store makes it difficult to understand how the device reacts under a given set of conditions. This application note presents many different examples and should remove most questions about how the elastic store operates under these varying conditions.

Introduction

The elastic store inside of Dallas Semiconductor T1, E1, and J1 devices serves as a dual port buffer between the line side and the system side of the device. It allows the two sides to operate in different clock domains or even at different frequencies. The nature of the elastic store makes it difficult to understand how the device reacts under a given set of conditions. This application note presents many different examples and should remove most questions about how the elastic store operates under these varying conditions.

Elastic Store Operation

The elastic store is a dual port buffer that has a depth of 512 bits. Since the bit length of a frame varies between T1 and E1, the amount of buffer bits that are used depends on the mode of operation. There are four basic modes of operation:
  • T1 Mode: 193-bit frame
  • E1 Mode: 256-bit frame
  • T1 to E1 Rate Conversion Mode: 193-bit frames on the line (network) side and 256-bit frames on the system (backplane) side
  • Interleave Bus Operation Mode: 193-bit or 256-bit frames on the line (network) side and 256-bit frames on the system (backplane) side with a high speed gapped system clock
To clarify the operation of the elastic store, the following series of diagrams was created. Each example was based on the receive elastic store in E1 mode with 256 bit frames. The write pointer, indicated by the white dot, is clocked by RCLK and writes data into the elastic store. The read pointer, indicated by the black dot, is clocked by RSYSCLK and reads data out of the elastic store (if the transmit elastic store were used in the examples, the write pointer would be clocked by TSYSCLK and the read pointer would be clocked by TCLK). Figure 1 illustrates the condition where the write pointer and read pointer are "ideally" centered at exactly one frame apart.

Figure 1. Elastic store read and write pointers are exactly one frame apart.
Figure 1. Elastic store read and write pointers are exactly one frame apart.

In Figure 2, the read pointer (black dot) is about to enter frame B. When either pointer crosses a frame boundary, the distance between the two pointers is compared in the forward direction. Any distance below a set threshold will cause a frame slip and the pointer that just crossed the frame boundary is moved to the beginning of the next frame. Depending on which pointer slipped, there will either be a repeated or deleted frame. The threshold depends on the mode of operation: 16 bits in E1 mode and 9 bits for all other modes. In the example below, the write pointer (white dot) is almost a frame away thus no slip occurs and the read pointer will continue into frame B.

Figure 2. Read and write pointers are far enough apart that no slip occurs after a compare.
Figure 2. Read and write pointers are far enough apart that no slip occurs after a compare.

In Figure 3, the read pointer (black dot) is running faster than the write pointer (white dot) and will eventually catch up. As the read pointer crosses the boundary into frame A, it detects that the write pointer is within 16 bits of the start of frame A. Rather than enter frame A, the read pointer slips and returns to the start of frame B at bit position 256. Because the read pointer slipped, the last frame read from the buffer is repeated and a receive elastic store empty event is reported.

Figure 3. The read pointer is too close to the write pointer during a compare and cause a slip.
Figure 3. The read pointer is too close to the write pointer during a compare and cause a slip.

The same is true when the write pointer is running faster than the read pointer. If the write pointer detects that the read pointer is within 16 bits of the start of frame B, the write pointer slips and returns to the start of frame A at bit position 0. Since the write pointer slipped, the last frame written to the buffer is deleted and a receive elastic store full event is reported. An example of the write pointer causing the slip is shown in Figure 4.

Figure 4. The write pointer is too close to the read pointer during a compare and causes a slip.
Figure 4. The write pointer is too close to the read pointer during a compare and causes a slip.

In the receive elastic store examples above, both pointers should always move around the buffer at a constant rate. The write pointer is clocked by the receive clock and is constant, based on either the recovered clock or the master clock when in carrier loss. The read pointer is clocked by the receive system clock and should be constant, based on either an external clock or backplane clock. Because of this, the slip contention logic will always be able to detect a slip event. The logic will either repeat or delete a frame of data and the elastic store will recover instantly with only a single frame error.

Additional Information

For more information on the operation of the elastic stores present in T1 or E1 framers and single-chip transceivers, please contact the Telecommunication Applications support team via email at or call 972-371-6555.


我们期待您的反馈!
喜欢?不喜欢?有待改善?或为我们提供建议?请与我们联系 — 我们将根据您的意见或建议改善我们的工作。 网页评价或提供建议


自动更新
需要自动接收最新发布的应用笔记吗?请订阅EE-Mail™ (English only)。



更多信息  APP 3208: Jun 28, 2004
DS21352 3.3V DS21352及5V DS21552 T1单芯片收发器 完整的数据资料
(PDF, 1.1MB)
免费样品
DS21354 3.3V/5V、E1单芯片收发器(SCT) 完整的数据资料
(PDF, 960kB)
免费样品
DS21455 四路T1/E1/J1收发器 完整的数据资料
(PDF, 2.3MB)
免费样品
DS21458 四路T1/E1/J1收发器 完整的数据资料
(PDF, 2.3MB)
DS2152 增强型T1单芯片收发器 完整的数据资料
(PDF, 1.3MB)
免费样品
DS2154 增强型E1单芯片收发器 完整的数据资料
(PDF, 1MB)
免费样品
DS2155 T1/E1/J1单芯片收发器 完整的数据资料
(PDF, 2.0MB)
免费样品
DS21552 3.3V DS21352及5V DS21552 T1单芯片收发器 完整的数据资料
(PDF, 1.1MB)
免费样品
DS21554 3.3V/5V、E1单芯片收发器(SCT) 完整的数据资料
(PDF, 960kB)
免费样品
DS21Q352 四路T1/E1收发器(3.3V, 5.0V) 完整的数据资料
(PDF, 176kB)
免费样品
DS21Q354 四路T1/E1收发器(3.3V, 5.0V) 完整的数据资料
(PDF, 176kB)
免费样品
DS21Q55 四路T1/E1/J1收发器 完整的数据资料
(PDF, 1.4MB)
DS21Q552 四路T1/E1收发器(3.3V, 5.0V) 完整的数据资料
(PDF, 176kB)
免费样品
DS21Q554 四路T1/E1收发器(3.3V, 5.0V) 完整的数据资料
(PDF, 176kB)
免费样品
DS26401 八路T1/E1/J1成帧器 完整的数据资料
(PDF, 1.6MB)
免费样品
DS26528 八路T1/E1/J1收发器 完整的数据资料
(PDF, 1.9MB)
免费样品
 

下载,PDF格式下载,PDF格式 (46kB)
 AN3208, AN 3208, APP3208, Appnote3208, Appnote 3208



         



   © 2008 Maxim Integrated Products, Dallas Semiconductor版权所有    法律声明    隐私权政策