![](http://datasheet.mmic.net.cn/Exar-Corporation/XRT94L33IB-L_datasheet_100163/XRT94L33IB-L_430.png)
XRT94L33
xr
Rev.1.2.0.
3-CHANNEL DS3/E3/STS-1 TO STS-3/STM-1 MAPPER IC DATA SHEET
430
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
Unused
Extraction
Memory
RESET*
Extraction
Memory
CLAV
Insertion
Memory
RESET*
Insertion
Memory
ROOM
Insertion
Memory
Write SoC
R/O
R/W
0
1
0
0->1
1
0
Note:
This step should typically be performed upon power-up, prior to writing in any ATM cell data into the “Receive
Cell Insertion Buffer”. This step is not necessary after the first cell has been written into the “Receive Cell
Insertion Buffer” following a power cycle to the chip.
STEP 2 – Check and Verify that there is sufficient space available (within the Receive Cell Insertion
Buffer) to handle this cell.
This can be accomplished by one of two approaches.
Polling approach
Interrupt-driven approach.
Each of these approaches is described below.
Executing STEP 2 using the Polling Approach
The user can determine whether or not there is room (to write another ATM cell of data) in to the “Receive
Cell Insertion” Buffer” by polling the state of Bit 1 (Insertion Memory ROOM) within the “Receive ATM Cell –
Memory Control Register” as depicted below.
Receive ATM Cell – Memory Control Register (Address = 0xN713)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
Unused
Extraction
Memory
RESET*
Extraction
Memory
CLAV
Insertion
Memory
RESET*
Insertion
Memory
ROOM
Insertion
Memory
Write SoC
R/O
R/W
0
1
0
1
X
0
If Bit 1 (Insertion Memory ROOM) is set to “1” then the “Receive Cell Insertion Buffer” is NOT too full to accept
another cell. At this point, the Microprocessor can now move onto STEP 3.
Conversely, if Bit 1 is set to “0” then the “Receive Cell Insertion Buffer” is too full to accept another cell. The
Microprocessor Interface should continue to poll the state of this bit-field and wait until this bit-field toggles to
“1”.
Executing STEP 2 using the Interrupt-Driven Approach
In order to reduce or eliminate the Microprocessor Overhead of continuously polling the state of Bit 1, the user
can use the “Receive Cell Insertion” Interrupt feature, within the chip. If the Microprocessor invokes this
feature, then the XRT94L33 will generate an interrupt anytime a cell (residing in the Receive Cell Insertion
Buffer) has been inserted into the “Receive Input Data Path” (thereby freeing up some space within the
Receive Cell Insertion Buffer).
The user can enable the “Receive Cell Insertion” Interrupt by setting Bit 4 (Cell Insertion Interrupt Enable),
within the “Receive ATM Cell Processor – Interrupt Enable” Register to “1” as indicated below.