RE: mpc8xx memory mapped 16550A uart garbage

2 messages, 2 authors, 2003-10-16 · open the first message on its own page

RE: mpc8xx memory mapped 16550A uart garbage

From: Lokesh Kumar <hidden>
Date: 2003-10-15 20:34:27

Hi Steven,
I did measure the bit width and that is around 104us, which is correct.
Anything else?

Thanks,
Lokesh

-----Original Message-----
From: Steven Scholz [mailto:steven.scholz@imc-berlin.de]
Sent: Wednesday, October 15, 2003 10:22 AM
To: Lokesh Kumar
Cc: 'linuxppc-embedded@lists.linuxppc.org'
Subject: Re: mpc8xx memory mapped 16550A uart garbage


Lokesh Kumar wrote:
Hi,
I got the serial.c from DENX linuxppc_2.4._devel tree which has support
for
16550A as memory mapped uart, and am using it as a module. I made
modifications to match my board. When I start it, it correctly recognizes
that I have a 16550A and at correct IRQ. However, when I open and send
something through the port (I just do cat>/dev/ttySe0), 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 I be doing
wrong?
Did you verify the baudrate using a scope to measure the bittime?

Steven


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

Re: mpc8xx memory mapped 16550A uart garbage

From: Steven Scholz <hidden>
Date: 2003-10-16 07:08:08

Lokesh,
I did measure the bit width and that is around 104us, which is correct.
Anything else?
Hmm. I suppose you tried sending only character again and again and verified
that your board is indeed sending this character over the lines by looking at
the scope...


Steven


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help