
Preliminary W6690
- 32 -
The inter-frame time fill pattern must be all 1's, according to ITU-T I.430.
Collisions which occur on the D channel of S interface will cause an D_EXIR: XCOL interrupt. A
XRST (Transmitter Reset) command must be issued and software must wait until transmit FIFO ready
(via XFR interrupt), re-write data, and issue XMS command to re-transmit the data.
7.7 B Channel HDLC Controller
There are two B channel HDLC controllers. Each B channel HDLC controller provides two operation
modes:
Transparent mode
characteristics:
* 2 byte address field
* Receive address comparison maskable bit-by-bit
* Data between opening flag and CRC (not included) stored in receive FIFO
* Flag generation/ deletion
* Frame Check Sequence generation/ check with CRC_ITU-T polynominal
* Zero bit insertion/ deletion
Extended transparent mode
characteristics:
* All data transmitted/received without modification
* No address comparison
* No flag generation/ detection
* No FCS generation/ check
* No bit stuffing
For PCM-HDLC connection, only extended transparent mode can be selected.
The data rate in B channel can be set at 64 Kbps or 56 Kbps by the B1_MODE (B2_MODE): SW56
bit.
7.7.1 Reception of Frames in B Channel
A 64-byte FIFO is provided in the receive direction. The receive FIFO threshold can be set at 48 or
32 bytes by the Bn_MODE register. If the number of received data reaches the threshold, a Receive
Message Ready (RMR) interrupt will be generated.
The operations for reception of frames differ in each mode:
Transparent mode: The received frame address is compared with the contents in receive address
registers. In addition, the comparisons can be selectively masked bit-by-bit via address mask
registers. Comparison is disabled when the corresponding mask bit is "1".
In addition, flag recognition, CRC check and zero bit deletion are also performed. The result of CRC
check is indicated in Bn_STAR: CRCE bit. The data between opening flag and CRC field (not
included) is stored in receive FIFO. Two interrupts are used for the reception of data. The RMR
interrupt in Bn_EXIR register indicates at least a threshold block of data have been put in the receive
FIFO. The RME interrupt in Bn_EXIR register indicates the end of frame has been received. The