All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Scholz <steven.scholz@imc-berlin.de>
To: Lokesh Kumar <kumar.lokesh@wrx-us.com>
Cc: "'linuxppc-embedded@lists.linuxppc.org'"
	<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: mpc8xx memory mapped 16550 extrenal uart driver
Date: Wed, 15 Oct 2003 08:32:36 +0200	[thread overview]
Message-ID: <3F8CEA04.9020805@imc-berlin.de> (raw)
In-Reply-To: <3439AB3A99ECD5409F3A52ACF814744D158D9C@norcom2.norcom.net>


Lokesh Kumar wrote:

> I got the serial.c from DENX and am using it as a module. When I start it,
> it correctly recognizes that I have a 16550A serial and at correct IRQ.
> However, when I open and send something through the port, I get garbage on
> the other side. My 16550 has a crystal of 3.6864MHz and the processor runs
> at 49MHz. I thought that this kind of garbage problem is generally due to
> baud rate not set correctly. I see the divisor correctly calculated as
> 3686400/16/9600 = 24 and being sent to 16550. What else could be wrong?

Hmm. No idea. Sorry.

Did you try this?

Send one character over and over again over you serial line and use a scope to
measure the bit time. Just to make sure that timing is correct.

Steven


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

       reply	other threads:[~2003-10-15  6:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3439AB3A99ECD5409F3A52ACF814744D158D9C@norcom2.norcom.net>
2003-10-15  6:32 ` Steven Scholz [this message]
2003-10-08 15:18 mpc8xx memory mapped 16550 extrenal uart driver Lokesh Kumar
  -- strict thread matches above, loose matches on Subject: below --
2003-10-05 19:04 Rod Boyce
2003-10-05 18:35 Rod Boyce
2003-10-03 17:45 Lokesh Kumar
2003-10-03 13:49 Steven Blakeslee
2003-10-03 13:25 Lokesh Kumar
2003-10-03 13:15 Steven Blakeslee
2003-10-03 13:02 Lokesh Kumar
2003-10-08 15:35 ` Steven Scholz

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=3F8CEA04.9020805@imc-berlin.de \
    --to=steven.scholz@imc-berlin.de \
    --cc=kumar.lokesh@wrx-us.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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.