Electronic Components Datasheet Search
  English  ▼

X  

DS2155 Datasheet(PDF) 140 Page - Dallas Semiconductor

Part # DS2155
Description  T1/E1/J1 Single-Chip Transceiver
PDF  238 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DALLAS [Dallas Semiconductor]
Direct Link  https://www.maximintegrated.com/en.html
Logo DALLAS - Dallas Semiconductor

DS2155 Datasheet(HTML) 140 Page - Dallas Semiconductor

Back Button DS2155 Datasheet HTML 136Page - Dallas Semiconductor DS2155 Datasheet HTML 137Page - Dallas Semiconductor DS2155 Datasheet HTML 138Page - Dallas Semiconductor DS2155 Datasheet HTML 139Page - Dallas Semiconductor DS2155 Datasheet HTML 140Page - Dallas Semiconductor DS2155 Datasheet HTML 141Page - Dallas Semiconductor DS2155 Datasheet HTML 142Page - Dallas Semiconductor DS2155 Datasheet HTML 143Page - Dallas Semiconductor DS2155 Datasheet HTML 144Page - Dallas Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 140 / 238 page
background image
DS2155
140 of 238
23.4 Receive HDLC Code Example
The following is an example of a receive HDLC routine:
1)
Reset receive HDLC controller.
2)
Set HDLC mode, mapping, and high watermark.
3)
Start new message buffer.
4)
Enable RPE and RHWM interrupts.
5)
Wait for interrupt.
6)
Disable RPE and RHWM interrupts.
7)
Read HxRPBA register. N = HxRPBA (lower 7 bits are byte count, MSB is status).
8)
Read (N and 7Fh) bytes from receive FIFO and store in message buffer.
9)
Read INFO5 register.
10)
If PS2, PS1, PS0 = 000, then go to Step 4.
11)
If PS2, PS1, PS0 = 001, then packet terminated OK, save present message buffer.
12)
If PS2, PS1, PS0 = 010, then packet terminated with CRC error.
13)
If PS2, PS1, PS0 = 011, then packet aborted.
14)
If PS2, PS1, PS0 = 100, then FIFO overflowed.
15)
Go to Step 3.
23.5 Legacy FDL Support (T1 Mode)
23.5.1 Overview
To provide backward compatibility to the older DS21x52 T1 device, the DS2155 maintains the circuitry
that existed in the previous generation of the T1 framer. In new applications, it is recommended that the
HDLC controllers and BOC controller described in Section 21 and 23 are used.
23.5.2 Receive Section
In the receive section, the recovered FDL bits or Fs bits are shifted bit-by-bit into the receive FDL
register (RFDL). Because the RFDL is 8 bits in length, it fills up every 2ms (8 x 250µs). The framer
signals an external microcontroller that the buffer has filled through the SR8.3 bit. If enabled through
IMR8.3, the INT pin toggles low, indicating that the buffer has filled and needs to be read. The user has
2ms to read this data before it is lost. If the byte in the RFDL matches either of the bytes programmed
into the RFDLM1 or RFDLM2 registers, then the SR8.1 bit is set to a 1 and the INT pin toggles low if
enabled through IMR8.1. This feature allows an external microcontroller to ignore the FDL or Fs pattern
until an important event occurs.
The framer also contains a zero destuffer, which is controlled through the T1RCR2.3 bit. In both ANSI
T1.403 and TR54016, communications on the FDL follows a subset of an LAPD protocol. The LAPD
protocol states that no more than five 1s should be transmitted in a row so that the data does not resemble
an opening or closing flag (01111110) or an abort signal (11111111). If enabled through T1RCR2.3, the
DS2155 automatically looks for five 1s in a row, followed by a 0. If it finds such a pattern, it
automatically removes the zero. If the zero destuffer sees six or more 1s in a row followed by a 0, the 0 is
not removed. The T1RCR2.3 bit should always be set to a 1 when the DS2155 is extracting the FDL.
Refer to Application Note 335: DS2141A, DS2151 Controlling the FDL for information about using the
DS2155 in FDL applications in this legacy support mode.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com