Re: GPS clock for Linux



Uwe Klein wrote:
I will have to read up if the usb2serial ics have some kind of fifo
included ( and enabled or not ). This could be an explanation.

The basic problem with serial to USB converters is that the serial lines
basically use transmission of characters whereas USB transmission is
block-oriented.

If a converter receives one character from the serial side it either can put
that single character into an USB block and send that block immediately,
which generates much overhead but low latency, or it could wait for a
certain interval whether additional characters arrive, which could be
packed together and sent in a single USB block. A new USB block is sent if
either enough serial characters have arrived, or no characters are arriving
anymore and a timeout occurs.

The latter is good for USB throughput but generates a latency up to the
timeout limit.

So the behaviour should depend on the implementation of an individual
converter type. BTW, similar problems arise with serial-to-LAN converters
which redirect a serial data stream using IP packets.

Martin
--
Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont
Germany
.



Relevant Pages

  • Re: Streets & Trips - no USB GPS support help
    ... >> The com port that is created, ... on the USB bus. ... the trouble is that most cheap USB converters are mostly a cheap micro ... good example are the converters with the FTDI chip. ...
    (sci.geo.satellite-nav)
  • Re: Serial Port Pic Programmer using USB
    ... a USB port with a Serial to USB adaptor? ... In most cases yes how ever, Some USB to Serial converters are not 100% ... not generate the expected out of voltage and current on the control lines that the programmer wants to see. ...
    (sci.electronics.design)
  • Re: USB interface
    ... a memory location to indicate time, I can reduce my memory requirements ... I need to do my homework to figure out the usb ... A/D converters? ... It can also share a micro-SD card between the ...
    (sci.electronics.design)
  • Re: Minix Case Study?
    ... port converters are available from numerous suppliers. ... ever saw in any store in my local area was for USB mice. ... USB peripherals and I only had PS/2 keyboards. ... I believe that hardware stores don't try very hard to offer those connectors ...
    (comp.os.minix)