CD2231

Manufacturer Part NumberCD2231
DescriptionCD2231 Intelligent Two-channel Lan And Wan Communications Controller
ManufacturerIntel Corporation
CD2231 datasheet
 


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Page 71
72
Page 72
73
Page 73
74
Page 74
75
Page 75
76
Page 76
77
Page 77
78
Page 78
79
Page 79
80
Page 80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
Page 76/178

Download datasheet (3Mb)Embed
PrevNext
CD2231 — Intelligent Two-Channel LAN and WAN Communications Controller
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 previously described.
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 STCR[3] to a ‘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 stop
transmission. This bit is reset to ‘0’ when the channel requests that the remote restart 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 restart
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, MNP4, and Automatic In-Band Flow Control modes are only available on Revision B and
later devices.
The CD2231 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 CD2231 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 CD2231 keeps track of XON/XOFF characters that it has sent so that erroneous
flow control characters are not transmitted. For example, it does not transmit an XON simply
because the number of characters is below the threshold; it only does so if it had previously sent an
XOFF due to the threshold being exceeded. For this reason, the user should not use the Send
Special Character command in the STCR (Special Transmit Command register) to send XON/
XOFF characters because the CD2231 does not keep track of flow control characters that it did not
send automatically. The result could cause confusion on the other end of the connection due to
conflicting flow control commands.
Automatic in-band flow control is functional only in standard Async and Async-HDLC/PPP
modes; SLIP and MNP4 expressly forbid in-band flow control. See the COR5 description on
page 99
for programming details.
76
Datasheet