DS2152LN Maxim Integrated Products, DS2152LN Datasheet - Page 59

no-image

DS2152LN

Manufacturer Part Number
DS2152LN
Description
Network Controller & Processor ICs
Manufacturer
Maxim Integrated Products
Datasheet

Specifications of DS2152LN

Product
Framer
Number Of Transceivers
1
Data Rate
2.048 Mbps
Supply Voltage (max)
5.25 V
Supply Voltage (min)
4.75 V
Supply Current (max)
75 mA
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Mounting Style
SMD/SMT
Package / Case
LQFP-100
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS2152LN
Quantity:
233
12.1.3 Receive an 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.
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.
12.1.4 Transmit an HDLC Message
1) Make sure HDLC controller is finished sending any previous messages and is currently sending flags
2) Enable either the THALF or TNF interrupt.
3) Read TPRM to obtain TFULL status.
4) Repeat step 3.
5) Wait for interrupt, skip to step 3.
6) Disable THALF or TNF interrupt and enable TMEND interrupt.
7) Wait for an interrupt, then read TUDR status bit to make sure packet was transmitted correctly.
12.1.5 Transmit a BOC
1) Write 6-bit code into TBOC.
2) Set SBOC bit in TBOC = 1.
a. If REMPTY = 0, then record OBYTE, CBYTE, and POK bits and then read the FIFO .
b. If REMPTY = 1, then skip to step 10.
by checking that the FIFO is empty by reading the TEMPTY status bit in the TPRM register.
a. If TFULL = 0, then write a byte into the FIFO and skip to next step (special case occurs when the
b. If TFULL = 1, then skip to step 5.
a1. If CBYTE = 0 then skip to step 9.
a2. If CBYTE = 1 then skip to step 11.
last byte is to be written, in this case set TEOM = 1 before writing the byte and then skip to step
6).
59 of 97

Related parts for DS2152LN