ZyXEL Elite 2864 User Guide - Page 127

Flow Control

Page 127 highlights

Hints for High-speed Operation The communication software tends to lose incoming serial data when it is doing block disk data transfers, because the hard disk interrupt priority level is usually higher than that of the serial port interrupt in the computer. The communication software can do a hardware flow control during disk data transfer to prevent this. Enabling a disk cacheing software such as SMARTDRV will help. Please refer to chapter 21 for more information on high-speed PC-modem communication. Choice of an efficient assembly coded communication software is also very important. When using communication software, use a simple protocol without error control (the modem has accomplished this job) such as YModem-G and ZModem. Software with complicated protocol handling will slow down its speed in handling serial data. Flow Control This feature refers to stopping and restarting the flow of data into and out of the modem's transmission and receiving data buffers. Flow control is necessary so that a device (computer or modem) does not receive more data than it can handle. The 2864 series modems provide two kinds of flow control methods. Hardware CTS/RTS Flow Control This is a bidirectional flow control where CTS and RTS are RS232 signals which must be available on your computer. When the modem's transmission buffer is almost full, the modem will drop CTS to signal the DTE that it cannot accept any more data. Turn ON the CTS to notify the DTE that it can keep sending data to the modem. On the computer software side, when the receiving buffer of the software is almost full, it will drop RTS to signal the modem to stop sending data to the DTE. Turn ON the RTS and the modem will start sending data again to the DTE. In asynchronous full-duplex applications, the 2864 always responds to the RTS signal as a flow control signal. The 2864 defaults automatically to this hardware flow control setting and it is a better choice. Software XON/XOFF Flow Control This is a bidirectional flow control. XON and XOFF character defaults are decimals 17 and 19. These can be changed by modifying the S-Registers 31 and 32. Both the modem and the DTE will treat XOFF as a signal to stop transmitting data, and will treat XON as a signal to restart sending data. Modems will not send these characters received from the local DTE to the remote modem. 10-5

  • 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
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 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
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267

10–5
Hints for High-speed Operation
The communication software tends to lose incoming serial data when it is doing
block disk data transfers, because the hard disk interrupt priority level is usually
higher than that of the serial port interrupt in the computer. The communication
software can do a hardware flow control during disk data transfer to prevent this.
Enabling a disk cacheing software such as SMARTDRV will help. Please refer to
chapter 21 for more information on high-speed PC-modem communication.
Choice of an efficient assembly coded communication software is also very impor-
tant. When using communication software, use a simple protocol without error
control (the modem has accomplished this job) such as YModem-G and ZModem.
Software with complicated protocol handling will slow down its speed in handling
serial data.
Flow Control
This feature refers to stopping and restarting the flow of data into and out of the
modem's transmission and receiving data buffers. Flow control is necessary so that a
device (computer or modem) does not receive more data than it can handle. The
2864 series modems provide two kinds of flow control methods.
Hardware CTS/RTS Flow Control
This is a bidirectional flow control where CTS and RTS are RS232 signals which
must be available on your computer. When the modem's transmission buffer is
almost full, the modem will drop CTS to signal the DTE that it cannot accept any
more data. Turn ON the CTS to notify the DTE that it can keep sending data to
the modem. On the computer software side, when the receiving buffer of the soft-
ware is almost full, it will drop RTS to signal the modem to stop sending data to the
DTE. Turn ON the RTS and the modem will start sending data again to the DTE.
In asynchronous full-duplex applications, the 2864 always responds to the RTS sig-
nal as a flow control signal. The 2864 defaults automatically to this hardware flow
control setting and it is a better choice.
Software XON/XOFF Flow Control
This is a bidirectional flow control. XON and XOFF character defaults are decimals
17 and 19. These can be changed by modifying the S-Registers 31 and 32. Both the
modem and the DTE will treat XOFF as a signal to stop transmitting data, and will
treat XON as a signal to restart sending data. Modems will not send these charac-
ters received from the local DTE to the remote modem.