Bt8370/8375/8376
3.16 Data Link Registers
Fully Integrated T1/E1 Framer and Line Interface
0B6—TDL #2 FIFO Empty Control (TDL2_FEC)
NOTE:
Not available in Bt8376 device.
7
6
5
4
3
2
1
0
—
—
FEC[5]
FEC[4]
FEC[3]
FEC[2]
FEC[1]
FEC[0]
FEC[5:0]
Near Empty Transmit FIFO Threshold—Selects a FIFO depth of near empty interrupt
[TNEAR; addr 00A] and near empty level status [TNEAR2; addr 0B9]. The TNEAR interrupt
is activated when the number of data bytes remaining to be transmitted from the FIFO falls
below the selected threshold. The TNEAR2 indicator is active as long as the number of
processor-filled FIFO locations is below the selected threshold. Thus, TNEAR2 is active-high
when the transmit FIFO is completely empty. It remains active until the processor writes the
selected threshold number of bytes to TDL2 [addr 0B8].
Assuming the processor writes 64 bytes to fill an empty FIFO, the TNEAR interrupt occurs
after the transmitter has sent the number of bytes required to bring the FIFO level below the
selected threshold. Hence, the processor is guaranteed to consecutively write 64 – FEC[5:0]
number of bytes to the transmit FIFO in response to a TNEAR interrupt. The interrupt signifies
time remaining (in bytes) for the processor to write TDL2 before the transmit FIFO is emptied.
Typically, FEC[5:0] is set to a small value (approximately 5- to 10-byte threshold) minimize
the number of TNEAR interrupts and to maximize the time between TNEAR interrupts.
FEC[5:0]
00 0000
00 0001
00 0010
|
Byte threshold @ TNEAR
disabled
Empty @ TNEAR
disabled
63 empty
62 empty
|
1-byte threshold
2-byte threshold
|
11 1110
11 1111
62-byte threshold
63-byte threshold
2 empty
1 empty
0B7—TDL #2 End Of Message Control (TDL2_EOM)
NOTE:
Not available in Bt8376 device.
7
6
5
4
3
2
1
0
—
—
—
—
—
—
—
—
TDL2_EOM
End of Transmit Message—Writing any data value to TDL2_EOM marks the last byte of data
written into the transmit FIFO as the end of an HDLC message (FCS or Non-FCS mode), or
end of a transmit circular buffer. The processor must write TDL2_EOM after writing a
complete message, or after writing the last byte of a circular buffer into TDL2 [addr 0B8]. The
written data value is ignored and cannot be read back. Multiple HDLC messages are allowed
to be queued in the transmit FIFO simultaneously. Transition from one circular buffer to
another occurs only after the current circular buffer has been sent.
3-108
Conexant
N8370DSE