![](http://datasheet.mmic.net.cn/Exar-Corporation/XRT94L33IB-L_datasheet_100163/XRT94L33IB-L_189.png)
xr
XRT94L33
3-CHANNEL DS3/E3/STS-1 TO STS-3/STM-1 MAPPER IC DATA SHEET
Rev.1.2.0.
189
STEP 1b – Write a “1” into Bit 2 (Insertion Memory RESET*), within the “Transmit ATM Cell – Memory
Control” Register; as depicted below.
Transmit ATM Cell – Memory Control Register (Address = 0xNF13)
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 “Transmit
Cell Insertion Buffer”. This step is not necessary after the first cell has been written into the “Transmit Cell
Insertion Buffer” following a power cycle to the chip.
STEP 2 – Check and Verify that there is sufficient space available (within the Transmit 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 “Transmit
Cell Insertion” Buffer” by polling the state of Bit 1 (Insertion Memory ROOM) within the “Transmit ATM Cell –
Memory Control Register” as depicted below.
Transmit ATM Cell – Memory Control Register (Address = 0xNF13)
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 “Transmit 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 “Transmit 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 “Transmit 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 Transmit Cell Insertion
Buffer) has been inserted into the “Transmit Output Data Path” (thereby freeing up some space within the
Transmit Cell Insertion Buffer).