Tripp Lite USA-19HS Скачать руководство пользователя страница 23

TX Ack Advance Details

USA-19H Tx Ack Advance Overview

Many Keyspan USB serial adapters support configurable "Transmit Acknowledgment Advance" (aka TX-

ACK threshold, aka TX-ACK(nowledgement) advance, etc.) in the Keyspan Manager. This feature al-

lows the user to adjust a device's transmit behavior to achieve the optimum compromise between 

compatibility (exact emulation of built-in ports) and improved throughput. This document describes 

the factors which a user should be aware of to guide their configuration of this feature.

The Problem

In the case of a standard, "built-in" serial port, the host CPU (the "brain" of the computer) can com-

municate directly with the serial hardware because the (serial) hardware is in the address space di-

rectly accessible to the CPU. When the serial port has transmitted all the data in its transmit FIFO 

(the buffer that holds characters waiting to be sent), it interrupts the CPU, which then adds more 

characters to the transmit FIFO with a minimal time delay.

By contrast, in a USB to serial adapter, information about the state of the serial port FIFO reaches 

the CPU by means of USB messages. The USB subsystem in most computers delays the delivery of in-

bound (USB peripheral to USB host computer) USB messages by about 1 millisecond. The impact of 

this delay on serial throughput depends on the baud rate. At 9600 baud, it takes about 1 millisecond 

to transmit a character. If the serial adapter signals the host when it begins transmitting the last 

character in its FIFO, the host learns about it at about the same time the character is actually fin-

ished being transmitted. Since outbound (USB host computer to USB peripheral) USB messages are not 

subject to such a long delay, the host can supply new data before the serial port has been idle for too 

long.

At higher baud rates, however, this 1-millisecond delay becomes more of a problem. For example, at 

920 Kbps, 1 millisecond is enough time to send 92 characters. So, if you're sending 92 characters at a 

time, you will only achieve 50% throughput, since half the time is spent with the adapter waiting for 

the host to send more data.

The Work Around

Since there's no way to eliminate the USB delays, there's only one work around: the serial adapter has 

to lie about when it's done transmitting. This way, the adapter still has some data to transmit while 

it's waiting for more to arrive from the host. If the next data from the host arrives before the previ-

ous data is completely sent, the new data can be sent with no delay, and the device will achieve im-

proved transmit throughput.

Notes about the Work Around

In most situations, the serial adapter's lie is harmless or beneficial, even. However, in some circum-

stances, this lie gets us into trouble. There are several ways this can happen:

Flow control:

 

If the adapter is programmed to use flow control, the remote (receiving) end of the serial connection 

can ask the adapter to suspend its data transmission (e.g. if it's not ready to receive more data). 

Since this state can persist indefinitely, the "I'm done" indication, if it were sent early, could arrive at 

the host a significant amount ahead of time. As a result, the application might use the "I'm done" sig-

nal as an indication that the remote end is ready, leading to various kinds of trouble.

Data flushing:

 

Sometimes, an application will issue a "transmit flush" command to the adapter get rid of extra data. 

For example, let's say that an application sends "AAAA" to the adapter, and then, once it's received 

the "I'm done" indication, sends "BBBB." Now, let's say that some time after sending "BBBB," the appli-

USA-19HS - User Manua

Page 23 of 

30

Содержание USA-19HS

Страница 1: ...b Diagnostics tab Help Tab TX Ack Advance Details 23 USA 19H Tx Ack Advance Overview The Problem The Work Around Notes about the Work Around What Should I Use Driver Events Data Monitor Features 25 Ov...

Страница 2: ...High Speed Supports 230 Kbps twice the speed of a built in serial port Detachable Cable Use adapter with any USB cable up to 5 meters long LED Shows adapter status and data activity Plug Play Appears...

Страница 3: ...s can t verify the pub lisher of this software click the Install this driver software anyway selection 2 Follow the installer s onscreen instructions to finish the software installation When the insta...

Страница 4: ...link per sec to indicate that it is idle Proceed to the Making Your Keyspan Adapter Work With Your Serial Device section BUSY message If you see the BUSY status message the Keyspan adapter is working...

Страница 5: ...rial Assistant 4 Open your serial device s software and tell that software to use the Keyspan COM port 5 Tell you serial device s software to communicate with the serial device ie start using the seri...

Страница 6: ...MANAGER in Windows to determine the Keyspan COM port COM ports are shown in the Device Manager under the PORTS COM LPT section Write down the COM port shown in the ADAPTER STATUS tab We will need this...

Страница 7: ...either get updated software that can see all COM ports or you will need to change the Keyspan COM port to one that your program can use If you need to change your Keyspan COM port see the Changing Yo...

Страница 8: ...vice s software to access the Keyspan COM port This is normal state Green On Steady Light Not Blinking The Keyspan adapter is BUSY In Use The adapter is being ac cessed by some serial device s softwar...

Страница 9: ...ports in the Windows registry just like the COM ports found on older computers When you first connect a Keyspan adapter the Keyspan adapter software reads the Windows registry to find an available COM...

Страница 10: ...are in the Port Mapping section select or highlight the Keyspan COM port that you wish to change Port Mapping tab with Keyspan Port highlighted With your Keyspan COM port highlighted select the new CO...

Страница 11: ...rt The COM port change is complete Change COM Port via the Windows Device Manager On Windows XP and Vista you can change your Keyspan adapter s COM port number via the Device Manager This requires the...

Страница 12: ...t click on the Keyspan USB Se rial Port item Next select Properties Opening the Keyspan USB Serial Port Properties This will open the Properties window the Properties window 3 In the Properties window...

Страница 13: ...n select any COM port you wish however you may notice that certain ports are in use This may mean that there is hardware connected to these COM ports or they have been reserved for the operating syste...

Страница 14: ...following Keyspan Serial Assistant window Option 1 The Keyspan Serial Assistant will show your adapter s COM port and status ie COMxx Idle or COMxx busy The IDLE message means that your serial device...

Страница 15: ...se change another USB cable and connect your Keyspan adapter to another USB port in your computer Option 2 Keyspan adapter appears in Device Manager as TUSB 3410 Boot Device This indicates that you ha...

Страница 16: ...Serial Assistant IMPORTANT Make sure you complete steps 1 and 2 Uninstall will fail if you skip these steps 3 For 98 Me 2000 and XP open the Add Remove Programs control panel For Vista open the Progra...

Страница 17: ...o see the COM port number ie COM1 COM2 etc and the COM Port Status IDLE or BUSY Note If you see your COM port number and its COM port Status If you do not see either of these items proceed Troubleshoo...

Страница 18: ...evice needs a specific setting The default setting is Compatible Interrupt Port pull down menu If you have more than one serial port on your Keyspan adapter the Port pull down menu allows you select w...

Страница 19: ...ary port settings to our adapter and you need to specify the default port settings ie baud bits per second data bits parity stop bits and flow control you set these set tings in the Device Manager rig...

Страница 20: ...ow to change a COM port address read the Changing Your COM Port Address section earlier in this manual Please make sure you read the sections about changing COM ports carefully Port Mapping tab COM Po...

Страница 21: ...pan adapter and connect it to a different USB port the COM port number of that Keyspan adapter will not change This is the default setting and is recommended setting if you only have one Keyspan adapt...

Страница 22: ...nt For more details on how to use this feature read the Driver Events Data Monitor Features section in this manual Data from this window can be saved to text file Open Data Monitor Window button The O...

Страница 23: ...y the host can supply new data before the serial port has been idle for too long At higher baud rates however this 1 millisecond delay becomes more of a problem For example at 920 Kbps 1 millisecond i...

Страница 24: ...nt action too early There are many other communication protocols in which time periods are counted from the point that a message has been delivered Any time you change the timing of the I m done indic...

Страница 25: ...S Clear To Send Input 9 RI RI Ring Indicator Input In order to ensure compliance with emission specifications cables should be shielded using braided shields and metal hoods with complete 100 contact...

Страница 26: ...rts data rates up to 230 Kbps Package Contents USA 19HS USB to serial Adapter USB Cable A to B cable 3 foot CDROM includes software and electronic user manual Requirements an available USB port Mac OS...

Страница 27: ...roof of date and place of purchase This warranty does not apply to equipment which has been damaged by accident negligence or misapplication or has been altered or modifi ed in any way EXCEPT AS PROVI...

Страница 28: ...an outlet on a circuit different from that to which the receiver is connected Consult InnoSys Incorporated or an experienced radio TV technician for help Complies with 15 247 Operation is subject to t...

Страница 29: ...xigences du Reglement sur le material brouilleur du Canada VCCI Japan Voluntary Control Council for Interference from Information Technology Equipment Class B ITE Translation This is a Class B product...

Страница 30: ...N SPECIFICALLY DECLINES ALL WARRANTIES WHETHER IMPLIED OR EXPRESSED INCLUDING BUT NOT LIMITED TO THOSE OF MER CHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE KEYSPAN has no responsibility financial...

Отзывы: