[lkml]   [1999]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: serial.c (half duplex support)
    From said:
    > If we have interrupt latency of > 4 character times at 9600 or 19200
    > bps, some other driver (or some hardware --- like the cheap sh*t IDE
    > contrllers that some boxes 2-3 years ago were inflicted with) has
    > serious bugs, and we should fix that driver first.

    Agreed. Note that on the transmit side, 1 bit time between chars is
    unacceptable - 3 character times (33 bits) is the time we must leave _between_
    packets. There must be no gaps inside the packet itself.

    > We optimize for the common case, after all, and it's becoming clear
    > that the Profibus case is not a friendly case; it looks like you will
    > need to disable the FIFO's in order to make it meet the spec anyway.

    Yes, possibly - and turn them back on again as soon as you leave the
    certification lab :) We can get it to work without this.

    Bear in mind that Profibus has a set list of baud rates at which it can work,
    and of those, I believe only 9600 and 19200 are actually achievable with the
    standard clocks and divisors which we'll find in a PC.

    Interrupt latency can be 11 bits @19200 - over half a millisecond. (We have 11
    bits because the IRQ is generated when the last octet is _started_).

    So I'm not too worried about meeting these requirements - it should be fine.

    By all means, push to find out the cause of Rogier's 20ms delays, which are
    concerning, but don't worry about the serial side too much on my behalf until
    I've actually got time to throw some code together and can give some real

    Like I said, I only got involved at this stage because someone else was asking
    about such things.

    ---- ---- ----
    David Woodhouse Office: (+44) 1223 810302
    Project Leader, Process Information Systems Mobile: (+44) 7976 658355
    Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
    finger for PGP key.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:54    [W:0.022 / U:13.608 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site