
W6692
- 30 -
7.6.1 D Channel Message Transfer Modes
The D channel HDLC controller operates in transparent mode.
Chracteristics:
-
-
-
-
-
Receive frame address recognition
Address comparison maskable bit-by-bit
Flag generation / deletion
Zero bit insertion/ deletion
Frame Check Sequence (FCS) generation/ check with CRC_ITU-T
Note. The LAPD protocol uses the CRC_ITU-T for Frame Check Sequence. The polynominal is X
16
+ X
12
+ X
5
+ 1.
For address recognition, the W6692 provides four programmable registers for individual SAPI and
TEI values, SAP1-2 and TEI1-2, plus two fixed values for group SAPI and TEI, SAPG and TEIG. The
SAPG equals FEH or FCH which corresponds to SAPI = 63 for layer management procedure. The
TEIG equals FFH which corresponds to TEI = 127 for automatic TEI assignment procedure. The
address combinations are:
-
-
-
-
-
-
-
SAP1 + TEI1
SAP1 + FFH
SAP2 + TEI2
SAP2 + FFH
FEH (FCH) + TEI1
FEH (FCH) + TEI2
FEH (FCH) + FFH
The receive frame address comparisons can be disabled (masked) per bit basis with the D_SAM and
D_TAM registers, but comparisons with the SAPG or TEIG cannot be disabled.
7.6.2 Reception of Frames in D Channel
A 128-byte FIFO is provided in the receive direction. The data movement between receive FIFO and
micro-processor is handled by interrupts.
There are two interrupt sources: Receive Message Ready (D_RMR) and Receive Message End
(D_RME). The D_RMR interrupt indicates that at least 64 bytes of data have been received and the
message/ frame is not ended. Upon D_RMR interrupt, the micro-processor reads out 64 bytes of data
from the FIFO. The D_RME interrupt indicates the last segment of a message or a message with
length
≤
64 bytes has been received. The length of data is less than or equal to 64 and is specified in
the D_RBCL register.
If the length of the last segment of message is 64, only D_RME interrupt is generated and the RBC5-
0 bits in D_RBCL register are 000000B.