linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [OT - MPC5200B] strange framing, break problems with uart
@ 2011-02-03 18:34 Albrecht Dreß
  0 siblings, 0 replies; 3+ messages in thread
From: Albrecht Dreß @ 2011-02-03 18:34 UTC (permalink / raw)
  To: Linux PPC Development

[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]

Hi all,

sorry for a slightly off-topic question, but I hope someone here on the list may be able to help me...

I have a strange problem with the psc uart of the mpc5200b, running 2.6.32.26 (still), with my baud rate divisor selection patch [1].

The uart runs at 115.2 kBaud with rtc/cts handshake to send bigger chunks of data to the '5200.  I noticed "missing" data in the input stream, and inspected the uart status using the TIOCGICOUNT ioctl which tells me that a bunch of framing and break errors occurred.  I "tapped" the RxD line and connected it via a level shifter to a standard 16450-style uart in a (much faster) Linux PC, and *that* one receives the *complete* stream *without any* break or framing errors!

I also looked at the waveforms with an oscilloscope, and they look pretty fine.  The port configuration should also be ok, re-checked with a bdi3000 jtag debugger - it's PSC3, set to '1100', with PSC3_0 .. PSC3_3 being used here.

This leads me to the assumption that either the hardware handshake or the Linux driver or both are broken...  any insight would be highly appreciated!

Cheers,
Albrecht.


[1] <http://patchwork.ozlabs.org/patch/48884/>; included in 2.6.37

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <AANLkTi=gqFLtM7f01GFVKdSibxz4q5J9LtHrpOcH_1ta@mail.gmail.com>]

end of thread, other threads:[~2011-03-02 21:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-03 18:34 [OT - MPC5200B] strange framing, break problems with uart Albrecht Dreß
     [not found] <AANLkTi=gqFLtM7f01GFVKdSibxz4q5J9LtHrpOcH_1ta@mail.gmail.com>
2011-03-02 20:16 ` Albrecht Dreß
2011-03-02 21:08   ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).