![](http://datasheet.mmic.net.cn/230000/W6694A_datasheet_15631123/W6694A_20.png)
Preliminary Data Sheet
W6694A USB-ISDN S/T-Controller
1
0
D_LEN1
D_LEN0
-20-
Publication Release Date: May, 2001
Revision 1.03
Bit 7
6
5
4
3
2
D_DATA (1
st
byte)
D_DATA (2
nd
byte)
D_DATA (3
rd
byte)
B1_DATA
...
B2_DATA
...
B_LEN3
B_LEN2
B_LEN1
B_LEN0
D_LEN1-0
These bits indicate the data length of the subsequent data for D channel. The typical value is 1 to 3, if D channel
message is sending; or 0 if no message to send. Once the opening flag of D channel message is sent, W6694A will move the
data in D-XFIFO to S interface at the rate of 16K bps. The software must carefully assign proper length for each packet,
otherwise a D-XFIFO under-run or overflow condition may occur. The only valid data are HDLC frame, including opening
and closing flag (7Eh), and bit-stuffed data in between. Note that software should transmit the first data byte as opening flag
in byte (8-bits) boundary. Due to the nature of HDLC framing, the closing flag may not be in byte-boundary. Software
should stuff the remaining bit positions (if any) with binary 1, to fill the last byte, unless the last byte is 7Eh.
D_D
ATA
D Channel Data
These are D channel data space, which always occupy 3 bytes in the packet. Software should put actual data length in
D_LEN. If the data length D_LEN is less then 3, the remaining data bytes should be all FFh.
B_LEN3-0
B Channel Data Length
These bits indicate the data length of subsequent data for each B channel. Once the B-XFIFO is enabled
(CMDR2:BnXEN), the length should be from 7 to 9 bytes inclusively, otherwise a transmit FIFO under run or overflow
condition may occur. If there is no data for B1/B2 channel, the length can be 0. Note that the two B channels have same
data length, but can be reset and enabled separately.
B1_DATA
B1 Channel Data
These are B1 channel data, the length is indicated by B_LEN.
B2_DATA
B2 Channel Data
These are B2 channel data, the length is indicated by B_LEN.
D Channel Data Length
7.2.7 Isochronous-IN Transaction (Endpoint 5)
After power on or reset, all B and D channels receive FIFO (RFIFO) are disabled. A disabled RFIFO can not receive
data from ISDN, and will always return zero-length data for Isochronous-IN transaction. RFIFO can only be enabled by
command CMDR:REN. Once enabled, an Isochronous-IN transaction can read data from RFIFO of that channel. The data
packet also carries XFIFO status for that channel, and the most recent Isochronous-OUT packet error status (if error ever
occurred). Note that since B1 and B2 channel output length is the same in Isochronous-OUT packet, the XFIFO status of
B1/B2 channels are the same.
The packet format of Isochronous-IN is as below:
Bit 7
6
5
4
3
2
1
0