
CD2431 — Advanced Multi-Protocol Communications Controller
76
Datasheet
When in-band flow control is enabled (TxIBE = 1) and an XOFF character is received, the channel
stops transmission after the current character in the transmit shift register and the current character
in the transmit holding register are transmitted. When IXM = 0, transmission restarts after an XON
character is received. When IXM = 1, transmission restarts after any character is received.
The FCT (flow control transparency) Mode bit (COR3[6]) is used to determine if the received flow
control characters are to be passed to the host. If FCT = 1, the characters are not passed to the host.
If FCT = 0, they are passed to the host as exception characters. This bit does not affect non-flow
control special characters.
Additional status information about transmitter in-band flow control is available in the CSR
(Channel Status register). The TxFloff (Transmit Flow Off) and TxFlon (Transmit Flow On) bits
are used.
TxFloff = 0 is normal. TxFloff = 1 indicates that the channel has been requested by the remote to
stop transmission. This bit is reset to ‘0’ when the channel receives restart, as described earlier.
This bit is reset to ‘0’ when the transmitter is enabled or disabled, or the channel is reset.
TxFlon = 0 is normal. TxFlon = 1 indicates that the channel has been requested by the remote to
restart transmission. This bit is reset to ‘0’ once the channel has restarted transmission. This bit is
reset to ‘0’ when the transmitter is enabled or disabled, or the channel is reset.
6.5.1.1
Receiver In-Band Flow Control
The channel can request the remote to stop transmission by sending an XOFF character. Likewise,
the channel can request the remote to restart transmission by sending an XON characters. The
XON/XOFF characters is transmitted by setting the SndSpc bit (STCR[3]) to ‘1’.
The CSR contains status bits RxFloff (Receive Flow Off) and RxFlon (Receive Flow On) which
are used for receiver in-band flow control.
RxFloff = 0 is normal. RxFloff = 1 indicates the channel has requested that the remote stops
transmission. This bit is reset to ‘0’ when the channel requests that the remote restart its
transmission. This bit is reset to ‘0’ when the receiver is enabled or disabled, or the channel is reset.
RxFlon = 0 is normal. RxFlon = 1 indicates that the channel has requested that the remote restarts
transmission. This bit is reset to ‘0’ when the next non-flow control character is received. This bit
is reset to ‘0’ when the receiver is enabled or disabled, or the channel is reset.
6.5.1.2
Automatic Receive In-Band Flow Control
Note:
SLIP, MNP 4, and Automatic In-Band Flow Control modes are only available on Revision B and
later devices.
The CD2431 can perform automatic in-band flow control, if desired. Automatic in-band flow
control means that the device sends XON and XOFF characters based on the level of characters in
the receive FIFO. This function is identical to the automatic out-of-band (hardware) flow control
that uses the DTR bin.
As with automatic hardware flow control, when the number of characters in the FIFO exceeds the
number programmed in COR5 (Channel Option Register 5), the automatic feature is activated and
the CD2431 transmits an XOFF character (as defined by SCHR2). When the number of characters
falls back to equal or below the programmed value, an XON character (as defined by SCHR1) is
transmitted. The CD2431 keeps track of XON/XOFF characters that it has sent so that erroneous