ENGLISH 简体中文 日本語 한국어  

    로그인 | 회원가입 


   
 
키워드나 부품번호를 입력해주세요    




애플리케이션 노트 461

Programming and Controlling the FDL on DS2141A, DS2151

Abstract: Application note 335 describes how to use the legacy facility data link (FDL) controller found in all Dallas Semiconductor T1 framers and single chip transceivers (SCTs). The FDL is used in T1 communications to pass data and information outside of the normal communications signal. This allows information such as line performance monitoring data or maintenance information to be gathered and passed along without interfering with the normal operation of the T1 line. Because of the complexity of the FDL specifications, special data and status registers were added to the T1 devices which allow the designer to take advantage of the FDL functionality. The application note goes into an in-depth explanation of how the legacy FDL circuitry operates and explains the different protocols used to carry information through the FDL. To assist in the software design, flow charts are included with step-by-step instructions for transmitting and receiving data over the FDL. In the end, the designer should have enough information to implement the necessary FDL communications in the target system.

Introduction

This application note shows how to program and control the facility data link (FDL) on the DS2141A and DS2151. The ANSI T1.403 and AT&T TR54016 protocols used within receive and transmit FDL have been summarized.

Because of expected future changes in FDL requirements, the DS2141A and DS2151 T1 controller makes use of software in the host to support the communications that occur on the FDL. Using the host's software to help control the FDL allows designs to be easily modified as the standards progress. The DS2141A and DS2151 implement in hardware the more basic functions of controlling the FDL, such as byte aligning to the FDL data stream. In current T1 networks there are two common protocols that exist on the FDL in the extended superframe (ESF) framing mode. One is defined in the American National Standards Institute (ANSI) document T1.403-1989 and the other is defined in the AT&T publication TR54016. Depending on the carrier used, either one (or both) of these protocols may be required. This application note details how a host would interface with the DS2141A and DS2151 to extract information from the FDL and insert data into the FDL. The user has the option on the DS2141A and DS2151 to either use its on-board RFDL and TFDL registers or to use the RLINK and TLINK pins to extract/insert data from/into the FDL data stream. This application note covers the usage of the RFDL and TFDL registers. The specifics of the two FDL protocols are not fully covered. (Note: All references to specific data values are in hexadecimal, which is denoted by the value enclosed within < >.) Please refer to the two ANSI documents mentioned for more details.

Receive FDL Control

The DS2141A and DS2151 contain an 8-bit register called the RFDL, which is automatically loaded with data from the FDL. A set of two match registers, RFDLM1 and RFDLM2, can be used to relieve the host from constantly polling the RFDL for any important data. If either of the values in the match registers corresponds to the current value in the RFDL, the host is alerted. Since most of the communication on the FDL follows the LAPD protocol, the DS2141A and DS2151 also contain a zero destuffer. The zero destuffer should always be enabled when using the RFDL to decode the FDL data stream. Also, when decoding the FDL, the DS2141A and DS2151 should have the ZBTSI (RCR2.6 = 0) and SLC-96 (CCR2.1 = 0) modes disabled. Figure 1 displays a flowchart of how to decode data off the FDL. The match registers are programmed to respond to the opening addresses of either a performance report message (PRM) in the ANSI T1.403 protocol or a request message in the AT&T TR54016 protocol. The DS2141A and DS2151 only match on the first byte following an opening flag of <7E>, and they automatically byte align to the incoming LAPD stream. The external controller normally waits for a match to occur. Once a match has occurred, the external controller waits for the RFDL register to fill, then reads it. The abort interrupt (SR2.1) takes on a new function once a match has occurred; it now reports when the closing flag <7E> is received. Hence, the external controller can monitor this flag during the extraction of data from the FDL to determine when all the data has been captured.

Figure 1. Receive FDL decoding.
Figure 1. Receive FDL decoding.

If an abort flag is ever received (eight consecutive 1s), the SR2.1 bit is set to 1. An abort flag normally represents the beginning of an unscheduled (bit-oriented) message in the ANSI T1.403 protocol. The unscheduled message in ANSI T1.403 is a repeating 16-bit pattern of the form "...0CCCCCC011111111..." (Note: the abort flag is transmitted first; the C's represent one of 64 possible codewords). The unscheduled message is reported in the RFDL, as shown below.

(MSB)   (LSB)
RFDL 1 0 C C C C C C

It is possible for an unscheduled message to interrupt a PRM or a request message, thus the external controller should monitor the abort interrupt at all times.

Transmit FDL Control

The DS2141A and DS2151 contain an 8-bit register called the TFDL. Data that is to be transmitted onto the FDL is loaded one byte at a time into the TFDL register. Since most communication on the FDL follows the LAPD protocol, the DS2141A and DS2151 contain a zero stuffer to ensure that the data between the opening and closing flags does not resemble either an opening or closing flag. The zero stuffer in the DS2141A and DS2151 should only be enabled for the data bytes within the opening and closing flags. If the TFDL register is not updated, it retransmits the previous value contained in the register. When using the DS2141A and DS2151 to insert data into the FDL, the device should be set up to source the FDL from the TFDL register (TCR1.2 = 0), and both the ZBTSI (TCR2.5 = 0) and SLC–96 (CCR2.5 = 0) modes should be disabled. Figures 2 and 3 display two different flowcharts for inserting data into the FDL. Figure 2 details how to transmit an unscheduled (bit-oriented) message in an ANSI T1.403 environment. The specification calls for unscheduled messages to be transmitted at least 10 times. (Priority Messages are to be sent for at least one second). Figure 3 details how to transmit either a PRM according to T1.403 or a response message in the AT&T TR54016 protocol. According to ANSI T1.403, PRMs are to be transmitted once a second. The one-second timer in status register 2 can be used to determine when a PRM should be sent. In TR54016, response messages are only sent once a request has been received. When the FDL is idle and not sending any PRMs, the flag value of <7E> is to be transmitted.

Figure 2. Transmit T1.403 unscheduled message.
Figure 2. Transmit T1.403 unscheduled message.

Figure 3. Transmit FDL coding.
Figure 3. Transmit FDL coding.

DS2141A/DS2151 INFORMATION

For more information on programming and controlling the FDL on the DS2141A or DS2151, please contact the Telecommunication Applications support team via email or call (972) 371-6555.

For more information about the DS2141A or DS2151, please consult the respective data sheets available on our website at www.maxim-ic.com/telecom.


관련 부품  APP 461: May 11, 2001
DS21352 3.3V DS21352 및 5V DS21552 T1 단일 칩 트랜시버 전체 데이터 시트
(PDF, 1.1MB)
무료 샘플
DS2141A T1 컨트롤러 전체 데이터 시트
(PDF, 480kB)
무료 샘플
DS2152 고급 T1 단일 칩 트랜시버 전체 데이터 시트
(PDF, 1.3MB)
무료 샘플
DS2155 T1/E1/J1 단일 칩 트랜시버 전체 데이터 시트
(PDF, 2.0MB)
무료 샘플
DS21552 3.3V DS21352 및 5V DS21552 T1 단일 칩 트랜시버 전체 데이터 시트
(PDF, 1.1MB)
무료 샘플
DS2156 T1/E1/J1 단일 칩 트랜시버 TDM/UTOPIA II 인터페이스 전체 데이터 시트
(PDF, 1.5MB)
무료 샘플
DS21FF42 4 x 4 16채널 T1 프레이머 / 4 x 3 12채널 T1 프레이머 전체 데이터 시트
(PDF, 704kB)
DS21FT42 4 x 4 16채널 T1 프레이머 / 4 x 3 12채널 T1 프레이머 전체 데이터 시트
(PDF, 704kB)
DS21Q352 4채널 T1/E1 트랜시버 (3.3V,5.0V) 전체 데이터 시트
(PDF, 176kB)
무료 샘플
DS21Q42 고급 쿼드 T1 프레이머 전체 데이터 시트
(PDF, 960kB)
무료 샘플
DS21Q55 쿼드 T1/E1/J1 트랜시버 전체 데이터 시트
(PDF, 1.4MB)
DS21Q552 4채널 T1/E1 트랜시버 (3.3V,5.0V) 전체 데이터 시트
(PDF, 176kB)
무료 샘플

자동 업데이트
관심 분야의 애플리케이션 노트가 나올 때 자동으로 업데이트를 원하십니까? 그렇다면 EE-Mail™을 신청하십시오.


We Want Your Feedback!



의견을 보내주세요!
위 내용이 도움이 되셨나요?
여러분의 의견을 기다립니다 — Maxim은 보내주신 정정이나 제안사항을 반영하고 있습니다. 이 페이지를 평가하고 의견을 보내주십시오.

 

다운로드, PDF 형식다운로드, PDF 형식 (77kB)
 AN461, AN 461, APP461, Appnote461, Appnote 461

        •         •         •     개인정보보호 정책     •     법적 고지

    Copyright © 2009 by Maxim Integrated Products