Searching \ for 'OT Re: BAUD RATE PC - HOW TO COMPUTE BAUD RATE' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=
Search entire site for: 'BAUD RATE PC - HOW TO COMPUTE BAUD RATE'.

Truncated match.
PICList Thread
'OT Re: BAUD RATE PC - HOW TO COMPUTE BAUD RATE'
1998\07\15@121839 by Peter L. Peres

picon face
On Wed, 15 Jul 1998, WF AUTOMACAO wrote:

> Hi,
>
>         Does someone have the formula for compute all the BAUD RATE, for
> example a non standard baud rate, like 488.3Baud, 162.8, in a IBM PC
> compatible computer?
>         I have data for 50,100,300,600,1200...but not for other non
> standard baud rate!
>
>         Miguel.

The normal PC serial port obtains its clock from a f0 = 1.8432 MHz primary
clock. This is divided by 16 then by the value set with the dividers in
the serial chip (clone). So, you are looking for a divider D such that:

D = 1/(1.8432e6 * 16 * Tbit)

Then, decompose D in its components such that D1 * 256 + D0 = D, and
program these two (D0 and D1) into the serial chip (clone)'s divider
registers.

Peter

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...