All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Lawyer <dave@lafn.org>
To: Sampath Kumar <sampath@spartanlabs.com>
Cc: linux-serial@vger.kernel.org
Subject: Re: Non-standard baud rate setting 14400 ..Possible?
Date: Fri, 10 Oct 2003 16:08:39 -0700	[thread overview]
Message-ID: <20031010230839.GA696@lafn.org> (raw)
In-Reply-To: <007101c38f3e$e6419d70$cf14a8c0@sampath>

On Fri, Oct 10, 2003 at 08:27:59PM +0530, Sampath Kumar wrote:
> Hello ,
> 
> Is there a way to set the serial port on the i386 Linux 2.4.17 at non
> standard baud rates like 14400,28800,etc.?
Since the baud-base of 115,200 is divisible by these numbers you can do
it.  Use a divisor of 8 to get 14400.

But the speed of transmission over a serial line can be any rate at all,
provided it's under the serial port speed selected.  For example, if
it's  been set for 115,200 I can (sort of) send bits at 96,049.37
bits/sec.  Each byte is sent at 115,200 bits/sec but there is a rest
period after each byte to result in 96,049.37 bits/sec average.  One may
calculate that for this example that there will be a 1.817 micro-sec
pause after the transmission of each byte during which time the line is
held at mark (-12 v) beyond the end of the stop bit (which also happens
to be mark).  This is like inserting extra long stop bits so as to
adjust for the correct speed.  

			David Lawyer

  parent reply	other threads:[~2003-10-10 23:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-10 14:57 Non-standard baud rate setting 14400 ..Possible? Sampath Kumar
2003-10-10 17:58 ` Gerald Emig
2003-10-10 21:41   ` rich+ml
2003-10-10 23:08 ` David Lawyer [this message]
2003-10-13 13:02   ` How to check whether the last character in the serial port is flushed/sent Sampath Kumar
2004-02-20 15:17 ` Non-standard baud rate setting 14400 ..Possible? Michael Westermann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031010230839.GA696@lafn.org \
    --to=dave@lafn.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=sampath@spartanlabs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.