On Tue, May 31, 2011 at 02:29:00PM +0200, Salvatore Frizzoli - IMS Italy wrote:
> I have an issue to the RS232 serial port on a Coldfire board
> equipped with uClinux. I have set the serial port with a baudrate of
> 57600 bps, it is connected to a third-party device, but it doesn't
> work (all charachters are corrupted). If I connect a PC directly to
> the device with 57600 bps, it works.
> If the bps is put down to 19200, also the connection by the board works.
> 
> This is due to the fact that the third party device probably has a
> baudrate lightly different from 57600 bps and the PC serail port can
> adjust its frequency according to the device one, while Coldfire
> cannot.
> My question is: is there a way to configure the serial port by
> uClinux such that also Coldfire can adjust its frequency?
> Alternatively, can I configure the serial port with a baudrate
> slightly different from the standard ones (for example: 57500 in
> place of 57600)?

Maybe it is a badly designed board and higher baud rates are hit by too
much interference.

Does 57600 work between the coldfire and the PC?  After all maybe your
coldfire board just doesn't work at higher baud rates with anything.

We run 57600 with all our coldfire designs both using uclinux and a
realtime OS, and never have any corrupt characters.  115200 on the other
hand isn't reliable, so we don't do that.

RS232 is supposed to by the spec allow a few percent fluctuation in speed,
so I highly doubt your other device is out of spec.

-- 
Len Sorensen
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to