![](http://datasheet.mmic.net.cn/230000/W6692A_datasheet_15631120/W6692A_39.png)
W6692A
Publication Release Date: July 2000
- 39 -
Revision A1
7.7.2 Transmission of Frames in B Channel
A 128-byte FIFO is provided in the transmit direction. The FIFO threshold can be set at 64 or 96
bytes. The transmitter and receiver use the same FIFO threshold setting.
The transmit operations differ in both modes:
Transparent mode
:
In this mode, the following functions are performed by the transmitter automatically:
- Flag generation
- CRC generation
- Zero bit insertion
The fields such as address, control and information are provided by the microprocessor and are
stored in transmit FIFO. To start the frame transmission, the microprocessor issues a XMS (Transmit
Message Start) command. The transmitter requests another block of data via XFR interrupt when
more than a threshold length of vacancies are left in the FIFO.The micro-processor then writes up to
a threshold length of data into the FIFO and activates the subsequent transmission of the frame by a
XMS command too. The microprocessor indicates the end of the frame transmission by issuing XME
(Transmit Message End) and XMS commands at the same time. The transmitter then transmits all
the data left in the transmit FIFO and appends the CRC and closing flag. After this, a XFR interrupt is
generated.
The inter-frame time fill pattern can be programmed to 1's or flags.
During the frame transmission, the microprocessor reaction time for the XFR interrupt depends on the
FIFO threshold setting and B channel data rate. For example, it is 8 mS if the FIFO threshold is 64
and the B channel data rate is 64 kbps. If the microprocessor fails to responds within the given
reaction time, the transmit FIFO will be underrun. In this case, the W6692A will automatically reset
the transmitter and send the inter frame time fill pattern on B channel. The microprocessor is
informed about this via a Transmit Data Underrun interrupt (XDUN bit in Bn_EXIR register). The
microprocessor must wait until transmit FIFO ready (via XFR interrupt), re-write data, and issue XMS
command to re-transmit the data.
The microprocessor can abort a frame transmission by issuing a Transmitter Reset command (XRST
bit in Bn_CMDR register). The XRES command resets the transmitter and sends inter frame time fill
pattern on B channel. It also results in a transmit pool ready condition.
Extended transparent mode:
All the data in the transmit FIFO are transmitted without any modification, i.e. no flags and CRCs are
inserted, and no bit stuffing is performed.
Transmission is started by a XMS command. The transmitter requests another block of data via XFR
interrupt when more than a threshold length of vacancies are left in the FIFO. The microprocessor