Skip to contentSkip to conversation

MPC5xxx PSC baudrate calculation

PATCH New Sebastian Schau 2 participants 2 messages Jan 27, 2005 – Sep 24, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MPC5xxx PSC baudrate calculation

Hi,

attached is a patch, that fixes a bug in MPC5200 PSC Baud rate calculation. The Problem was, that proper rounding was not applied to baudrate calculation in serial_setbrg(). The formula from serial_init() should be used.

Best regards
Sebastian Schau
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Patch_mpc5xxx-baudrate-calculation
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050127/3ed144e6/attachment.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 476 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050127/3ed144e6/attachment.pgp

#1 lore raw

PATCH 1/1 MPC5xxx PSC baudrate calculation

Quoted 5 lines · In message <[email protected]> you wrote:

attached is a patch, that fixes a bug in MPC5200 PSC Baud rate calculation. The Problem was, that proper rounding was not applied to baudrate calculation in serial_setbrg(). The formula from serial_init() should be used.

Added (as far as still relevant).

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Microsoft Compatibility:
     your old Windows 3.11 application crash exactly as the new ones.