Electronic Components Datasheet Search
  English  ▼

X  

DS2152 Datasheet(PDF) 56 Page - Dallas Semiconductor

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

DS2152 Datasheet(HTML) 56 Page - Dallas Semiconductor

Back Button DS2152 Datasheet HTML 52Page - Dallas Semiconductor DS2152 Datasheet HTML 53Page - Dallas Semiconductor DS2152 Datasheet HTML 54Page - Dallas Semiconductor DS2152 Datasheet HTML 55Page - Dallas Semiconductor DS2152 Datasheet HTML 56Page - Dallas Semiconductor DS2152 Datasheet HTML 57Page - Dallas Semiconductor DS2152 Datasheet HTML 58Page - Dallas Semiconductor DS2152 Datasheet HTML 59Page - Dallas Semiconductor DS2152 Datasheet HTML 60Page - Dallas Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 56 / 94 page
background image
DS2152
56 of 93
11.1.3 Basic Operation Details
To allow the DS2152 to properly source/receive data from/to the HDLC and BOC controller the legacy
FDL circuitry (which is described in Section 11.2) should be disabled and the following bits should be
programmed as shown:
TCR1.2 = 1 (source FDL data from the HDLC and BOC controller)
TBOC.6 = 1 (enable HDLC and BOC controller)
CCR2.5 = 0 (disable SLC-96 and D4 Fs-bit insertion)
CCR2.4 = 0 (disable legacy FDL 0 stuffer)
CCR2.1 = 0 (disable SLC-96 reception)
CCR2.0 = 0 (disable legacy FDL 0 stuffer)
IMR2.4 = 0 (disable legacy receive FDL buffer full interrupt)
IMR2.3 = 0 (disable legacy transmit FDL buffer empty interrupt)
IMR2.2 = 0 (disable legacy FDL match interrupt)
IMR2.1 = 0 (disable legacy FDL abort interrupt)
As a basic guideline for interpreting and sending both HDLC messages and BOC messages, the following
sequences can be applied:
Receive a HDLC Message or a BOC
1. enable RBOC and RPS interrupts
2. wait for interrupt to occur
3. if RBOC=1, then follow steps 5 and 6
4. if RPS=1, then follow steps 7 thru 12
5. if LBD=1, a BOC is present, then read the code from the RBOC register and take action as needed
6. if BD=0, a BOC has ceased, take action as needed and then return to step 1
7. disable RPS interrupt and enable either RPE, RNE, or RHALF interrupt
8. read RPRM to obtain REMPTY status
a. if REMPTY=0, then record OBYTE, CBYTE, and POK bits and then read the FIFO
a1. if CBYTE=0 then skip to step 9
a2. if CBYTE=1 then skip to step 11
b. if REMPTY=1, then skip to step 10
9. repeat step 8
10. wait for interrupt, skip to step 8
11. if POK=0, then discard whole packet, if POK=1, accept the packet
12. disable RPE, RNE, or RHALF interrupt, enable RPS interrupt and return to step 1
Transmit a HDLC Message
1. make sure HDLC controller is finished sending any previous messages and is currently sending flags
by checking that the FIFO is empty by reading the TEMPTY status bit in the TPRM register
2. enable either the THALF or TNF interrupt
3. read TPRM to obtain TFULL status
a. if TFULL=0, then write a byte into the FIFO and skip to next step (special case occurs when the
last byte is to be written, in this case set TEOM=1 before writing the byte and then skip to step 6)
b. if TFULL=1, then skip to step 5



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


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